A Pluggable Learned Index Method via Sampling and Gap Insertion
Not on the map. Why?
Abstract (arXiv)
Database indexes facilitate data retrieval and benefit broad applications in real-world systems. Recently, a new family of index, named learned index, is proposed to learn hidden yet useful data distribution and incorporate such information into the learning of indexes, which leads to promising performance improvements. However, the "learning" process of learned indexes is still under-explored. In this paper, we propose a formal machine learning based framework to quantify the index learning objective, and study two general and pluggable techniques to enhance the learning efficiency and learning effectiveness for learned indexes. With the guidance of the formal learning objective, we can efficiently learn index by incorporating the proposed sampling technique, and learn precise index with enhanced generalization ability brought by the proposed result-driven gap insertion technique. We conduct extensive experiments on real-world datasets and compare several indexing methods from the perspective of the index learning objective. The results show the ability of the proposed framework to help to design suitable indexes for different scenarios. Further, we demonstrate the effectiveness of the proposed sampling technique, which achieves up to 78x construction speedup while maintaining non-degraded indexing performance. Finally, we show the gap insertion technique can enhance both the static and dynamic indexing performances of existing learned index methods with up to 1.59x query speedup. We will release our codes and processed data for further study, which can enable more exploration of learned indexes from both the perspectives of machine learning and database.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 15 of its 53 references that are in the map. First posted on arXiv 4 Jan 2021.
Builds on
15 of 53 references.
References · 15
- 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
- 2017The Case for Learned Index Structurescited by 188
- 2016A Survey on Learning to Hashcited by 119
- 2019Neo: A Learned Query Optimizercited by 80
- 2018Learned Cardinalities: Estimating Correlated Joins with Deep Learningcited by 64
- 2019ALEX: An Updatable Adaptive Learned Indexcited by 43
- 2019Minimum Description Length Revisitedcited by 36
- 2018Learning to Optimize Join Queries With Deep Reinforcement Learningcited by 32
- 2020RadixSpline: A Single-Pass Learned Indexcited by 31
- 2018FITing-Tree: A Data-aware Index Structurecited by 30
- 2019Learning Multi-dimensional Indexescited by 30
- 2018Learning Memory Access Patternscited by 28
Built on by
Citing papers per year: 2022: 1.
1 paper.
- 2022NFL: Robust Learned Index via Distribution Transformation24 May 2022