Reputation: 4917
Advantages? and why not just index fields separately? can any body explain me in simple terms.
Upvotes: 0
Views: 236
Reputation: 57593
If you have to query using a composite WHERE (say on two different fields) a composite index should be faster than having two single indexes...
This is a general answer, anyway you should analyze any single query...
Upvotes: 1