MySQL Forums
Forum List  »  Optimizer & Parser

Re: how to optimise query for 10+ millions records
Posted by: Rick James
Date: February 24, 2012 10:45AM

INDEX(START_DATE) is likely to be as good or better than the compound one you provided.

The IF() clauses are preventing use of the last two fields of your index.

PARTITIONing is unlikely to help. Please provide your suggested PARTITION definition for critique.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: how to optimise query for 10+ millions records
1086
February 24, 2012 10:45AM


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.