B-Trees Are Back: Engineering Fast and Pageable Node Layouts
Marcus Müller, Lawrence Benson, Viktor Leis
Abstract
Large main memory capacity and even larger data sets have motivated hybrid storage systems, which serve most transactions from memory, but can seamlessly transition to flash storage. In such systems, the data structure of choice is usually a B-Tree with pageable nodes. Most academic B-Tree work considers only fixed size records, making them unsuitable for most practical applications. Given the prevalence of B-Trees, surprisingly few available implementations and benchmarks of optimized B-Trees cover variable-sized records. In this paper, we describe an efficient B-Tree implementation supporting variable-sized records containing six known node layout optimizations. We evaluate each optimization to guide future implementations, and propose an optimized adaptive layout that can even compete with pure in-memory structures for many workloads. Our results show that well-engineered B-Trees can efficiently handle both in-memory and out-of-memory workloads.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext ccf0280a-e434-4c26-a058-28f5c306ada5Cited by top-tier papers2
- Predictive Translation: High-Performance Buffer Management Without the Trade-OffsMichael Zinsmeister, Lam-Duy Nguyen, Viktor Leis, Thomas NeumannSIGMOD 2026 · 3 citations
- Concurrent Path-Copying Update to Tree StructuresGuanhao Hou, Dechuang Chen, Qintian Guo, Fangyuan Zhang et al.SIGMOD 2026
Builds on4
- Sherman: A Write-Optimized Distributed B+Tree Index on Disaggregated MemoryQing Wang, Youyou Lu, Jiwu ShuSIGMOD 2022 · 99 citations
- What Modern NVMe Storage Can Do, And How To Exploit It: High-Performance I/O for High-Performance Storage EnginesGabriel Haas, Viktor LeisVLDB 2023 · 83 citations
- BP-tree: Overcoming the Point-Range Operation Tradeoff for In-Memory B-treesHelen Xu, Amanda Li, Brian Wheatman, Manoj Marneni et al.VLDB 2023 · 13 citations
- Revisiting B-tree Compression: An Experimental StudyChuqing Gao, Shreya Ballijepalli, Jianguo WangSIGMOD 2024 · 5 citations
Related papers
- LIVAK: A High-Performance In-Memory Learned Index for Variable-Length KeysZhaole Chu, Zhou Zhang, Peiquan Jin, Xiaoliang Wang et al.DAC 2024 · 1 citation
- Bf-Tree: A Modern Read-Write-Optimized Concurrent Larger-Than-Memory Range IndexXiangpeng Hao, Badrish ChandramouliVLDB 2024 · 14 citations
- Sorting on Byte-Addressable Storage: The Resurgence of Tree StructureYing Zheng, Kian-Lee TanVLDB 2024 · 2 citations
- Closing the B+-tree vs. LSM-tree Write Amplification Gap on Modern Storage Hardware with Built-in Transparent CompressionYifan Qiao, Xubin Chen, Ning Zheng, Jiangpeng Li et al.FAST 2022 · 23 citations
- Adaptive Hybrid IndexesChristoph Anneser, Andreas Kipf, Huanchen Zhang, Thomas Neumann et al.SIGMOD 2022 · 15 citations
