What is a MYSQL composite index?

236 views Asked by At

Advantages? and why not just index fields separately? can any body explain me in simple terms.

1

There are 1 answers

4
Marco On

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...