IndeXY: A Framework for Constructing Indexes Larger than Memory
Chen Zhong, Qingqing Zhou, Yuxing Chen, Xingsheng Zhao, Kuang He, Anqun Pan, Song Jiang
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper1
它引用的 Paper2
相关 Paper
- DEX: Scalable Range Indexing on Disaggregated MemoryBaotong Lu, Kaisong Huang, Chieh-Jan Mike Liang, Tianzheng Wang 等VLDB 2024 · 17 次引用
- Disco: A Compact Index for LSM-treesWenshao Zhong, Chen Chen, Xingbo Wu, Jakob ErikssonSIGMOD 2025 · 2 次引用
- FILM: a Fully Learned Index for Larger-than-Memory DatabasesChaohong Ma, Xiaohui Yu, Yifan Li, Xiaofeng Meng 等VLDB 2023 · 33 次引用
- Adaptive Hybrid IndexesChristoph Anneser, Andreas Kipf, Huanchen Zhang, Thomas Neumann 等SIGMOD 2022 · 15 次引用
- A Fully On-Disk Updatable Learned IndexHai Lan, Zhifeng Bao, J. Shane Culpepper, Renata Borovica-Gajic 等ICDE 2024 · 10 次引用
