Skip navigation links

MySQL Forums :: Performance :: Long execution time despite LIMIT 3


Advanced Search

Re: Long execution time despite LIMIT 3
Posted by: Rick James ()
Date: June 20, 2011 06:33PM

Something unobvious is going on, please provide
* SHOW CREATE TABLE tbl\G -- engine, indexes
* SHOW TABLE STATUS LIKE 'tbl'\G -- sizes
* EXPLAIN SELECT ...\G -- clues of inefficiencies
* SHOW VARIABLES LIKE '%buffer%'; -- cache size
and surround them with [ code ] and [ / code ]

Also, please do
SELECT COUNT(*) FROM table WHERE thread='foo';

Options: ReplyQuote


Subject Views Written By Posted
Long execution time despite LIMIT 3 1173 Joachim Berger 06/19/2011 12:47PM
Re: Long execution time despite LIMIT 3 492 Joachim Berger 06/19/2011 12:54PM
Re: Long execution time despite LIMIT 3 474 Rick James 06/20/2011 06:33PM
Re: Long execution time despite LIMIT 3 459 Joachim Berger 06/20/2011 11:44PM
Re: Long execution time despite LIMIT 3 484 Joachim Berger 06/21/2011 02:06AM
Re: Long execution time despite LIMIT 3 489 Rick James 06/21/2011 07:23AM
Re: Long execution time despite LIMIT 3 421 Joachim Berger 06/21/2011 07:28AM
Re: Long execution time despite LIMIT 3 507 Joachim Berger 06/21/2011 10:33AM
Re: Long execution time despite LIMIT 3 562 Rick James 06/21/2011 10:08PM
Re: Long execution time despite LIMIT 3 668 Joachim Berger 06/22/2011 12:33AM
Re: Long execution time despite LIMIT 3 513 Rick James 06/22/2011 07:26PM
Re: Long execution time despite LIMIT 3 461 Joachim Berger 06/22/2011 11:45PM
Re: Long execution time despite LIMIT 3 425 Rick James 06/23/2011 08:53AM
Re: Long execution time despite LIMIT 3 533 Joachim Berger 06/24/2011 02:51AM


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.