Adaptive Hybrid Indexes
Christoph Anneser, Andreas Kipf, Huanchen Zhang, Thomas Neumann, Alfons Kemper
Abstract
While index structures are crucial components in high-performance query processing systems, they occupy a large fraction of the available memory. Recently-proposed compact indexes reduce this space overhead and thus speed up queries by allowing the database to keep larger working sets in memory. These compact indexes, however, are slower than performance-optimized in-memory indexes because they adopt encodings that trade performance for memory efficiency. Applying different encodings within a single index might allow optimizing both dimensions at the same time -however, it is not clear which encodings should be applied to which index parts at build-time.
To take advantage of multiple encodings in one index structure, we present a new framework forming the basis of workload-adaptive hybrid indexes which moves encoding decisions to run-time instead. By sampling incoming queries adaptively, it tracks accesses to index parts and keeps fine-grained statistics which are used for spaceand performance-optimized encoding migrations. We evaluated our framework using B+-trees and tries, and examine the adaptation process and space/performance trade-off for real-world and synthetic workloads. For skewed workloads, our framework can reduce the space by up to 82% while retaining more than 90% of the original performance.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- SIDLE: Tree-structure Aware Indexes for CXL-based Heterogeneous Memory cites DEX: Scalable Range Indexing on Disaggregated Memory
- Femur: A Flexible Framework for Fast and Secure Querying from Public Key-Value Store cites ALEX: An Updatable Adaptive Learned Index
- Femur: A Flexible Framework for Fast and Secure Querying from Public Key-Value Store cites Updatable Learned Index with Precise Positions
- Femur: A Flexible Framework for Fast and Secure Querying from Public Key-Value Store cites Benchmarking Learned Indexes
- Femur: A Flexible Framework for Fast and Secure Querying from Public Key-Value Store cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Updatable Learned Index with Precise Positions cites ALEX: An Updatable Adaptive Learned Index
- Updatable Learned Index with Precise Positions cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Benchmarking Learned Indexes cites ALEX: An Updatable Adaptive Learned Index
- Benchmarking Learned Indexes cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- SALI: A Scalable Adaptive Learned Index Framework based on Probability Models cites ALEX: An Updatable Adaptive Learned Index
- SALI: A Scalable Adaptive Learned Index Framework based on Probability Models cites Updatable Learned Index with Precise Positions
- SALI: A Scalable Adaptive Learned Index Framework based on Probability Models cites Benchmarking Learned Indexes
- SALI: A Scalable Adaptive Learned Index Framework based on Probability Models cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
Cited by top-tier papers5
- SALI: A Scalable Adaptive Learned Index Framework based on Probability ModelsJiake Ge, Huanchen Zhang, Boyu Shi, Yuanhui Luo et al.SIGMOD 2024 · 28 citations
- DEX: Scalable Range Indexing on Disaggregated MemoryBaotong Lu, Kaisong Huang, Chieh-Jan Mike Liang, Tianzheng Wang et al.VLDB 2024 · 17 citations
- Femur: A Flexible Framework for Fast and Secure Querying from Public Key-Value StoreJiaoyi Zhang, Liqiang Peng, Mo Sha, Weiran Liu et al.SIGMOD 2025 · 4 citations
- SIDLE: Tree-structure Aware Indexes for CXL-based Heterogeneous MemoryHaoru Zhao, Mingkai Dong, Fangnuo Wu, Haibo ChenVLDB 2026 · 1 citation
- P-MOSS: Scheduling Main-Memory Indexes Over NUMA Servers Using Next Token PredictionYeasir Rayhan, Walid G. ArefSIGMOD 2026 · 1 citation
Builds on4
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang et al.SIGMOD 2020 · 274 citations
- Benchmarking Learned IndexesRyan Marcus, Andreas Kipf, Alexander van Renen, Mihail Stoian et al.VLDB 2021 · 185 citations
- The PGM-index: a fully-dynamic compressed learned index with provable worst-case boundsPaolo Ferragina, Giorgio VinciguerraVLDB 2020 · 178 citations
- Updatable Learned Index with Precise PositionsJiacheng Wu, Yong Zhang, Shimin Chen, Yu Chen et al.VLDB 2021 · 160 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
- Robust and Budget-Constrained Encoding Configurations for In-Memory Database SystemsMartin BoissierVLDB 2022 · 17 citations
- DEPA-Delta Shifting and Distribution Shaping for Efficient Adaptive IndexingAhmad Khazaie, Holger PirkICDE 2025
- IndeXY: A Framework for Constructing Indexes Larger than MemoryChen Zhong, Qingqing Zhou, Yuxing Chen, Xingsheng Zhao et al.ICDE 2024 · 2 citations
- Budget-Conscious Fine-Grained Configuration Optimization for Spatio-Temporal ApplicationsKeven Richly, Rainer Schlosser, Martin BoissierVLDB 2022 · 3 citations
