DIndex: an Efficient on-Disk Learned Index for Memory-Constrained Environments
Jiahuan Shen, Chuzhe Tang, Haoning Lan, Ren Ren, Zhaoguo Wang
Abstract
B+trees, the de facto standard for on-disk database indexing, exhibit significant performance degradation in memoryconstrained environments due to frequent disk I/O that accesses out-of-cache index nodes during tree traversal. The recent proposal of in-memory learned indexes promises substantial reductions in index footprint by replacing traditional hierarchical structures with compact learned models. However, they require sorted data layouts for accurate lookups, which are costly to maintain on disks, especially in the presence of writes. So far, attempts to adapt learned indexes for on-disk use have yet to fully realize the performance benefits of learned models: they either incur massive disruptive data movement to maintain data layout or introduce significant metadata overhead that negates the space advantage of learned models. We present DIndex, a new on-disk learned index tailored for memory-constrained environments. DIndex efficiently supports write operations while maintaining high read performance and low index size. Key to DIndex's design is the decoupling of logical ordering from physical data layout and a set of techniques that realize this decoupling with small metadata overhead. Specifically, DIndex proposes to maintain model-compressed pivot keys to guide error correction and a mapping table that associates data blocks' physical locations using an adaptive, variable-span mapping scheme. Experiments show that DIndex outperforms B+tree and other learned indexes by up to 28× in throughput and reduces index size by up to 99%.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 69eb8cc2-38ee-4531-a2a7-349784b29b1cRelated papers
- A Fully On-Disk Updatable Learned IndexHai Lan, Zhifeng Bao, J. Shane Culpepper, Renata Borovica-Gajic et al.ICDE 2024 · 10 citations
- Making In-Memory Learned Indexes Efficient on DiskJiaoyi Zhang, Kai Su, Huanchen ZhangSIGMOD 2024 · 18 citations
- LUCID: An Updatable and Concurrent Learned Index for Larger-Than-Memory Data ManagementChaohong Ma, Xiaohui Yu, Yifan Li, Aishan Maoliniyazi et al.ICDE 2026
- 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
- Benchmarking Learned IndexesRyan Marcus, Andreas Kipf, Alexander van Renen, Mihail Stoian et al.VLDB 2021 · 185 citations
