MySQL Forums
Forum List  »  Performance

Re: limitation on request per second
Posted by: Rick James
Date: June 14, 2008 07:47PM

MyISAM or InnoDB?
IDE or RAID?
How complicate is the query?
If InnoDB, what are the settings? And autocommit?
One table or many?
Settings for key_buffer_size and innodb_buffer_pool_size?
Any swapping going on?

InnoDB, with certain settings, will sync writes to disk before returning to the user. If you don't have much write cache (as you would with RAID w/BBWC), you won't be able to perform queries faster than one per disk hit.

With MyISAM, if you modify the smae table on each query, you are locking the table, thereby allowing only one at a time. Still, this should not run as slow as 33ms.

If there is swapping, things are not tuned well. Performance suffers.

One can write a query that will take an hour to run, and meanwhile lock the table so that it can do only 1 req/hour. (This leads to the question of how complicated your queries are.)

You should be able to get hundreds, maybe thousands of _simple_ queries per second.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: limitation on request per second
2749
June 14, 2008 07:47PM


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.