---
title: "B-tree"
description: "How a B-tree keeps keys in order so a lookup reaches the right range in a few node reads, what happens when a full node splits, and what PostgreSQL adds."
canonical_url: "https://fanout.sh/system/archive/b-tree"
md_url: "https://fanout.sh/system/archive/b-tree.md"
last_updated: "2026-11-07"
access: "pro-preview"
---

# B-tree

How a B-tree keeps keys in order so a lookup reaches the right range in a few node reads, what happens when a full node splits, and what PostgreSQL adds.

- Access: Fanout Pro (public preview)

## 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.

---
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
