Chapter 73·Intermediate
How Indexes Work: Inside the B-Tree
01 / 05
The core idea
An index is a sorted lookup structure. It lets the database jump to matching rows instead of scanning every one — the single biggest lever on query speed.