IndeXY: A Framework for Constructing Indexes Larger than Memory
Chen Zhong, Qingqing Zhou, Yuxing Chen, Xingsheng Zhao, Kuang He, Anqun Pan, Song Jiang
Abstract
Indexes in a database system can consume a large amount of memory. When they grow too large to be entirely held in the memory, selected portions of the indexes have to be unloaded to the secondary storage. There are a number of challenges in the design of an extensible index spanning memory and disk. First, the designs of in-memory portion and on-disk portion of the index must be decoupled so that the best choice for each device can be independently made. Second, selective unloading of in-memory portion to the disk must be carefully designed to maximize chance of memory access and to produce the most disk-friendly I/O access. Third, the strategy for index reloading from the disk and retaining in the memory must be optimized for the highest memory efficiency. In this paper, we proposed a memory-disk-spanning index design, named IndeXY, to effectively address the challenges. IndeXY distinguishes itself by being a framework that allows separate adoption of an in-memory index design and an on-disk data organization and access scheme that are deemed most efficient to its workloads. Instead of being just another one-size-fit-all index across memory and disk, the framework provides well-designed mechanisms and policies to integrate a selected in-memory index (Index X) and an on-disk index (Index Y) into one extensible index (IndeXY). We have implemented IndeXY with alternative in-memory indexes (ART tree or B+ tree) and alternative disk indexes (LSM tree or B+ tree). As an anecdotal example, experiments show that integrating the ART tree and an LSM tree in the framework can lead to a throughput improvement by as high as an 8.6X on a TPC-C workload over LeanStore that uses B+-tree indexes in the memory and disk, and can improve performance for almost all YCSB 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 4ebea7d2-f6d9-4ad0-8ddb-9dc14abf1082Cited by top-tier papers1
Ask how each one uses itBuilds on2
Related papers
- DEX: Scalable Range Indexing on Disaggregated MemoryBaotong Lu, Kaisong Huang, Chieh-Jan Mike Liang, Tianzheng Wang et al.VLDB 2024 · 17 citations
- Disco: A Compact Index for LSM-treesWenshao Zhong, Chen Chen, Xingbo Wu, Jakob ErikssonSIGMOD 2025 · 2 citations
- FILM: a Fully Learned Index for Larger-than-Memory DatabasesChaohong Ma, Xiaohui Yu, Yifan Li, Xiaofeng Meng et al.VLDB 2023 · 33 citations
- Adaptive Hybrid IndexesChristoph Anneser, Andreas Kipf, Huanchen Zhang, Thomas Neumann et al.SIGMOD 2022 · 15 citations
- DIndex: an Efficient on-Disk Learned Index for Memory-Constrained EnvironmentsJiahuan Shen, Chuzhe Tang, Haoning Lan, Ren Ren et al.ICDE 2026
