What is Composite index?
An index on several columns in a set order. It helps queries that filter on those columns starting from the left.
Learn it properly
Chapter 9: The Diwali Dress Rehearsal
Database design that stays fast: schemas, indexes, N+1
Read chapter 9 →