MySQL Forums
Forum List  »  Optimizer & Parser

Re: Query no longer uses index, takes much longer to run
Posted by: Jørgen Løland
Date: January 10, 2012 01:43PM

Hi Richard,

It could be that index statistics is inaccurate. Try ANALYZE TABLE on all tables and see if that helps.

If that does not help, please provide
* SHOW CREATE TABLE for all tables
* SHOW TABLE STATUS
and surround them with [ code] [ /code]

Hope this helps,
Jørgen Løland
Software Engineer, MySQL, Oracle
jorgenloland.blogspot.com

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Query no longer uses index, takes much longer to run
808
January 10, 2012 01:43PM


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.