---
title: "Database indexing"
description: "Start from the query, watch an index change the work, see why column order decides which ranges it serves, and what clustered and covering mean."
canonical_url: "https://fanout.sh/system/archive/database-indexing"
md_url: "https://fanout.sh/system/archive/database-indexing.md"
last_updated: "2026-11-07"
access: "pro-preview"
---

# Database indexing

Start from the query, watch an index change the work, see why column order decides which ranges it serves, and what clustered and covering mean.

- Access: Fanout Pro (public preview)

## The core idea

An index maintains another path to stored rows so a query can avoid inspecting everything.

That path costs space and write work.

## In this lesson

- Start with the query
- See the work change
- Column order determines the useful range
- Clustered, secondary and covering mean different things
- Pay for the rows and columns you include

## Continue reading

Pro unlocks video lessons, visual walkthroughs, full notes, diagrams, case studies, and implementations across the System Design archive.

---
This representation contains public Fanout content only. Protected Pro lessons, account data, billing, checkout, and pricing are not included.

Browse the public content map: https://fanout.sh/sitemap.md
