B-Trees and B Plus Trees in Data Management: A Comparative Analysis of Search and Range-Query Performance

Database indexes help a system find records without scanning an entire table. B-Trees and B Plus Trees both organize ordered data, but they store entries differently: a B-Tree may keep entries in internal nodes as well as leaves, while a B Plus Tree keeps them at the leaf level and links the leaves in key order. This paper compares the two structures for point searches and range queries. We estimate node capacity from a simplified 4 KB page layout, then evaluate Python implementations across 15 trials. Node visits are counted as a proxy for page accesses, and query time is measured separately. For a range query returning 10000 keys from a tree of 500000 keys, the B Plus Tree recorded 59.27 node accesses on average, compared with 88.21 for the B-Tree. With equal node capacities the counts were nearly the same, which suggests the reduction came mainly from higher fan-out. The B Plus Tree also completed large range scans faster, although the timing difference may partly reflect the traversal code. Point-search times showed no consistent difference. Because the tests ran in memory, the results do not measure physical disk input and output.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-10-26
DOI
https://doi.org/10.5281/zenodo.23668736
Primary Topic
Advanced Database Systems and Queries
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

B-Trees and B Plus Trees in Data Management: A Comparative Analysis of Search and Range-Query Performance

Aditya Goyal, Nidhi Chauhan, Sairaj Bhoir, Reshma Sonar
Zenodo (CERN European Organization for Nuclear Research)
Advanced Database Systems and Queries
article

B-Trees and B Plus Trees in Data Management: A Comparative Analysis of Search and Range-Query Performance

Aditya Goyal, Nidhi Chauhan, Sairaj Bhoir, Reshma Sonar
article en

Abstract

Database indexes help a system find records without scanning an entire table. B-Trees and B Plus Trees both organize ordered data, but they store entries differently: a B-Tree may keep entries in internal nodes as well as leaves, while a B Plus Tree keeps them at the leaf level and links the leaves in key order. This paper compares the two structures for point searches and range queries. We estimate node capacity from a simplified 4 KB page layout, then evaluate Python implementations across 15 trials. Node visits are counted as a proxy for page accesses, and query time is measured separately. For a range query returning 10000 keys from a tree of 500000 keys, the B Plus Tree recorded 59.27 node accesses on average, compared with 88.21 for the B-Tree. With equal node capacities the counts were nearly the same, which suggests the reduction came mainly from higher fan-out. The B Plus Tree also completed large range scans faster, although the timing difference may partly reflect the traversal code. Point-search times showed no consistent difference. Because the tests ran in memory, the results do not measure physical disk input and output.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 12%
Advanced Database Systems and Queries
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon