b-tree · shipping · also B tree

B-tree

A B-tree is a balanced multiway search-tree family that groups ordered keys into nodes and keeps leaves at a common depth.

Related Observatory article: B-tree on hesela.com

Many keys fit in one node, allowing a page-oriented index to branch more widely than a binary search tree. Implementations differ in whether records appear in internal nodes or only at leaves; B-tree is often used as a family name. [1]

PostgreSQL B-tree indexes support equality, range predicates and ordered retrieval. An index's ordering does not establish transaction visibility or verify the stored payload; an index-only scan has additional requirements. [2] [3]

Relations

related
B-link tree, Index-only scan (PostgreSQL)

Citations

  1. Lehman and Yao (1981), Efficient Locking for Concurrent Operations on B-Trees, TODS 6(4), 650-670; DOI 10.1145/319628.319663 (accessed 2026-10-22)
  2. PostgreSQL 16: Index Types, B-tree supported operations (accessed 2026-10-22)
  3. PostgreSQL 16: Index-Only Scans and Covering Indexes (accessed 2026-10-22)
Sources & caveats
  • Family-level definition; PostgreSQL-specific capabilities are scoped to version 16.

JSON: /data/terms/b-tree.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. B-tree. Hesela. 2026-10-22. https://hesela.dev/terms/b-tree/