MySQL Forums
Forum List  »  Performance

Re: I have queries that sporadically take a very long time
Posted by: Rick James
Date: February 21, 2009 10:33PM

Based on the limited info in your question, there are several dozen things that could be a problem.

To assist in analyzing slow SELECTs, please provide
* SHOW CREATE TABLE tbl\G
* SHOW TABLE STATUS LIKE 'tbl'\G
* EXPLAIN SELECT ...\G
and surround them with [ code ] and [ / code ]

And do SHOW PROCESSLIST when it freezes -- this may point out something else that is going one.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: I have queries that sporadically take a very long time
1865
February 21, 2009 10:33PM


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.