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: Reply• Quote


Subject
Views
Written By
Posted
2996
August 27, 2012 10:47PM
1534
August 28, 2012 01:43AM
1480
August 29, 2012 04:15AM
1594
August 29, 2012 04:39AM
1424
August 29, 2012 05:38AM
Re: optimize the query
1519
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.