MySQL Forums
Forum List  »  Optimizer & Parser

Re: optimize the query
Posted by: Rick James
Date: August 30, 2012 07:20AM

There is a difference between this "compound" index:
INDEX(newcustid,obsdate)
and these two indexes:
INDEX(newcustid), INDEX(obsdate)

Please provide the output from SHOW CREATE TABLE BehaviourModel ;

Options: ReplyQuote


Subject
Views
Written By
Posted
2291
August 27, 2012 10:47PM
1186
August 28, 2012 01:43AM
1085
August 29, 2012 04:15AM
1147
August 29, 2012 04:39AM
1061
August 29, 2012 05:38AM
Re: optimize the query
1126
August 30, 2012 07:20AM


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.