Index

An index is a data structure that speeds up lookup by organizing references to data.
Also known as
data index

Intuition

An index is like the back of a book: it helps you find the relevant page without reading everything.

Technical definition

Indexes maintain auxiliary structures such as trees, hashes, or vector search graphs to accelerate query access patterns.

Example

A database index can make filtering by email much faster than scanning every user row.

Common misunderstandings

  • Indexes speed reads but can add write and storage cost.
  • The right index depends on query patterns.

Need this inside a product?

The studio builds the systems these terms describe. Tell us what you are working on.