Skip to main content

B-tree

The core idea

A B-tree keeps keys ordered while giving a lookup a short route to the relevant range.

Its nodes hold several keys and child pointers, so one node can rule out many parts of the index.

In this lesson

  • Follow a range down the tree
  • Split a full node
  • What PostgreSQL adds

Continue reading

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