MySQL Forums
Forum List  »  InnoDB

Re: what is the difference between index (a,b) and (b,a)
Posted by: Bing Wu
Date: March 06, 2017 04:23AM

Sorry, there is a mistake.
I mean placing the field with bigger cardinality at first, the index can be used for both "where a = x and b = y" and "where a = y"(say the cardinality of a is bigger than b)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: what is the difference between index (a,b) and (b,a)
647
March 06, 2017 04:23AM


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.