A Fully On-Disk Updatable Learned Index
Hai Lan, Zhifeng Bao, J. Shane Culpepper, Renata Borovica-Gajic, Yu Dong
摘要
While in-memory learned indexes have shown promising performance as compared to B+-tree, most widely used databases in real applications still rely on disk-based operations.
From our experiments, we observe that directly applying the existing in-memory learned indexes into on-disk setting suffers from several drawbacks and cannot outperform a standard B+-tree in most cases. Therefore, we make the first attempt to show how the idea of learned index can benefit the on-disk index by proposing AULID, a fully on-disk updatable learned index that can achieve state-of-the-art performance across multiple workload types. The AULID approach combines the benefits from both traditional indexing techniques and the learned indexes to reduce the I/O cost -the main overhead under disk setting. Specifically, three aspects are taken into consideration in reducing I/O costs: (1) reduce the overhead in updating the index structure; (2) induce shorter paths from root to leaf node; (3) achieve better locality to minimize the number of block reads required to complete a scan. Five principles are proposed to guide the design of AULID which shows remarkable performance gains and meanwhile is easy to implement. Our evaluation shows that AULID has comparable storage costs to a B+-tree and is much smaller than other learned indexes, and AULID is up to 2.11x, 8.63x, 1.72x, 5.51x, and 8.02x more efficient than FITing-tree, PGM, B+-tree, ALEX, and LIPP.
1 For a Scan-Only workload, we set the start key to the same key that was used in the Lookup-Only workload, and then we scan forward 99 keys. This ensures that ALEX, PGM, a FITing-tree, and a B+-tree fetch the same number of inner nodes and blocks needed for a lookup and a scan.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- HIRE: A Hybrid Learned Index for Robust and Efficient Performance under Mixed Workloads 引用了 ALEX: An Updatable Adaptive Learned Index
- HIRE: A Hybrid Learned Index for Robust and Efficient Performance under Mixed Workloads 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- ALEX: An Updatable Adaptive Learned Index 引用了 Learning Multi-Dimensional Indexes
- Learning Multi-Dimensional Indexes 引用了 ALEX: An Updatable Adaptive Learned Index
- Benchmarking Learned Indexes 引用了 ALEX: An Updatable Adaptive Learned Index
- Benchmarking Learned Indexes 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Cole { }^{+}: Towards Practical Column-Based Learned Storage for Blockchain Systems 引用了 ALEX: An Updatable Adaptive Learned Index
- Cole { }^{+}: Towards Practical Column-Based Learned Storage for Blockchain Systems 引用了 Learning Multi-Dimensional Indexes
- Cole { }^{+}: Towards Practical Column-Based Learned Storage for Blockchain Systems 引用了 Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
- Cole { }^{+}: Towards Practical Column-Based Learned Storage for Blockchain Systems 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Benchmarking RL-Enhanced Spatial Indices Against Traditional, Advanced, and Learned Counterparts 引用了 ALEX: An Updatable Adaptive Learned Index
- Benchmarking RL-Enhanced Spatial Indices Against Traditional, Advanced, and Learned Counterparts 引用了 Benchmarking Learned Indexes
- Benchmarking RL-Enhanced Spatial Indices Against Traditional, Advanced, and Learned Counterparts 引用了 Learning Multi-Dimensional Indexes
- Benchmarking RL-Enhanced Spatial Indices Against Traditional, Advanced, and Learned Counterparts 引用了 Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
- Benchmarking RL-Enhanced Spatial Indices Against Traditional, Advanced, and Learned Counterparts 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads 引用了 ALEX: An Updatable Adaptive Learned Index
- Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads 引用了 Learning Multi-Dimensional Indexes
- Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
引用它的顶会 Paper4
- SeLeP: Learning Based Semantic Prefetching for Exploratory Database WorkloadsFarzaneh Zirak, Farhana Murtaza Choudhury, Renata Borovica-GajicVLDB 2024 · 4 次引用
- HIRE: A Hybrid Learned Index for Robust and Efficient Performance under Mixed WorkloadsXinyi Zhang, Liang Liang, Anastasia Ailamaki, Jianliang XuSIGMOD 2026 · 2 次引用
- Benchmarking RL-Enhanced Spatial Indices Against Traditional, Advanced, and Learned CounterpartsGuanli Liu, Renata Borovica-Gajic, Hai Lan, Zhifeng BaoICDE 2026 · 1 次引用
- Cole : Towards Practical Column-Based Learned Storage for Blockchain SystemsCe Zhang, Cheng Xu, Haibo Hu, Jianliang XuICDE 2026
它引用的 Paper22
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang 等SIGMOD 2020 · 274 次引用
- Benchmarking Learned IndexesRyan Marcus, Andreas Kipf, Alexander van Renen, Mihail Stoian 等VLDB 2021 · 185 次引用
- Learning Multi-Dimensional IndexesVikram Nathan, Jialin Ding, Mohammad Alizadeh, Tim KraskaSIGMOD 2020 · 180 次引用
- Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed WorkloadsJialin Ding, Vikram Nathan, Mohammad Alizadeh, Tim KraskaVLDB 2021 · 178 次引用
- The PGM-index: a fully-dynamic compressed learned index with provable worst-case boundsPaolo Ferragina, Giorgio VinciguerraVLDB 2020 · 178 次引用
相关 Paper
- Updatable Learned Indexes Meet Disk-Resident DBMS - From Evaluations to Design ChoicesHai Lan, Zhifeng Bao, J. Shane Culpepper, Renata Borovica-GajicSIGMOD 2023 · 26 次引用
- Making In-Memory Learned Indexes Efficient on DiskJiaoyi Zhang, Kai Su, Huanchen ZhangSIGMOD 2024 · 18 次引用
- LUCID: An Updatable and Concurrent Learned Index for Larger-Than-Memory Data ManagementChaohong Ma, Xiaohui Yu, Yifan Li, Aishan Maoliniyazi 等ICDE 2026
- DIndex: an Efficient on-Disk Learned Index for Memory-Constrained EnvironmentsJiahuan Shen, Chuzhe Tang, Haoning Lan, Ren Ren 等ICDE 2026
- Are Updatable Learned Indexes Ready?Chaichon Wongkham, Baotong Lu, Chris Liu, Zhicong Zhong 等VLDB 2022 · 66 次引用
