MySQL Forums
Forum List  »  Performance

Re: Optimising query with composite index, which says using where
Posted by: Øystein Grøvlen
Date: September 15, 2014 06:03AM

Hi,

In the given statement, index merge is of no use since there is only one condition in each query that does not match all rows.

Also, index merge may only be used for equality predicates. This is because it depends on rows returned from index to be in ROWID (primary key for InnoDB) order.

Øystein Grøvlen,
Senior Principal Software Engineer,
MySQL Group, Oracle,
Trondheim, Norway

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Optimising query with composite index, which says using where
721
September 15, 2014 06:03AM


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.