B-Tree on Disk

The board behind the index you’ve been using without knowing its shape, part of Database Internals - the deep-dive set. By the end of this lesson you’ll know why one page-sized decision turns a billion-row search into four stops, and one added arrow kept that search safe while somebody else was rearranging the pages underneath it.
Before you start. WAL & Recovery showed you that every change is written to a log and flushed to disk before its commit is confirmed, so a crash can always be replayed back to where it left off. This lesson is about the structure that log is protecting - the actual arrangement of pages your rows sit inside, and why finding one of a billion of them takes a blink.