Skip to content
engineering workbench.by StudyPort Academy
All glossary terms

GLOSSARY · A WORD, UNPACKED

composite index

a database index created across multiple columns together to optimize queries filtering on combinations of those fields.

A little more detail

A composite index on (A, B) orders data first by column A, then by column B. Under the leftmost prefix rule, the index can accelerate queries filtering on (A) or (A, B), but cannot speed up queries filtering solely on (B), making column ordering during index creation critical.

See it in practice

These lessons pair the idea with examples you can change and run.