Introduction
Composite indexes help speed up searches when you look for data using more than one column together.
When you often search for records using two or more columns at the same time.
When you want to sort or filter data based on multiple columns.
When you want to make queries faster that use conditions on several columns.
When you want to avoid scanning the whole table for combined column searches.