MySQL Forums
Forum List  »  InnoDB

Re: Locking issue in innodb select query
Posted by: Rick James
Date: August 03, 2013 09:11AM

> every after 15 minutes and execute "analyze table ismpst;" command
> Any clue of this wrong index reading

That's the clue. ANALYZE may help; it may hurt. (5.6 may have a better solution.)

The solution may be:
INDEX(PSTISCOMBO, CREATEDATE)
(or it may not be useful until you get rid of the NULLs.)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Locking issue in innodb select query
1035
August 03, 2013 09:11AM


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.