MySQL Forums
Forum List  »  General

index multiple or one by one columns?
Posted by: Zhiliang Hu
Date: October 15, 2004 02:07PM

Comparing between (1):

INDEX myindex (column_one, column_two, column_tthree)

and (2):

INDEX myindex1 (column_one),
INDEX myindex2 (column_two),
INDEX myindex3 (column_tthree)

What differences are there as how do they work? Does (1) becomes inefficient when you only search for "column_one" OR "column_two"? (since it has ONE index as reppresented by its index name).

Thanks!

Zhiliang

Options: ReplyQuote


Subject
Written By
Posted
index multiple or one by one columns?
October 15, 2004 02:07PM


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.