MySQL Forums
Forum List  »  Optimizer & Parser

Re: Why does this query take 2 minutes?
Posted by: KimSeong Loh
Date: February 03, 2005 08:34PM

The prefix of the composite index can be used
Example: (hid,hcreationtimestamp,hresultid)
Then, (hid) and (hid,hcreationtimestamp) can be used from the same composite index without creating these extra indexes.

Options: ReplyQuote


Subject
Views
Written By
Posted
3963
February 02, 2005 10:39AM
2575
February 02, 2005 07:36PM
2309
February 03, 2005 07:21AM
Re: Why does this query take 2 minutes?
2374
February 03, 2005 08:34PM
2492
February 03, 2005 08: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.