MySQL Forums
Forum List  »  InnoDB

What index works best?
Posted by: João Victor Joao Victor
Date: July 12, 2016 01:02PM

I have a table with some 10 million records, I wonder whether it is better to index field by field or concatenate the fields? example:

Columns code, name, type, create an index for each column or an index concatenating the 3? code + name + type

Thank you

Options: ReplyQuote


Subject
Views
Written By
Posted
What index works best?
811
July 12, 2016 01:02PM
468
July 12, 2016 01:36PM
509
July 14, 2016 02:00PM


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.