MySQL Forums
Forum List  »  Newbie

Re: Are queries queued?
Posted by: Rick James
Date: May 16, 2009 07:26PM

Sorry, I guess I did not "go easy on you". Nor did I really address your original question. (I guess I have a habit of looking for the 'real' question.)

MyISAM, when using LOCK will queue queries up and execute them one at a time.

InnoDB, will attempt to do things in parallel, but since the query may find the same rows (eg when 2 SELECTs get executed before the first UPDATE gets COMMITted), the parallelism is more like; the queries will stumble over each other.

For either engine, 1000/sec is optimistic; 100/sec is probably feasible. But lack of indexes, use of ORDER BY, etc can seriously impact those numbers. If you explain your 'real' goals further, we can be less vague in our answers.

Options: ReplyQuote


Subject
Written By
Posted
May 15, 2009 05:32AM
May 15, 2009 01:27PM
May 15, 2009 02:50PM
May 16, 2009 07:19PM
Re: Are queries queued?
May 16, 2009 07:26PM
May 18, 2009 03:38PM
May 18, 2009 03:35PM
May 18, 2009 11:16PM
June 03, 2009 02:37PM
June 03, 2009 07:40PM
June 05, 2009 01:35PM
June 05, 2009 08:47PM
June 06, 2009 11:20AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.