Towards Practical Learned Indexing

Mihail Stoian, Andreas Kipf, Ryan Marcus, Tim Kraska
8/11/2021
12 citations
cs.DBcs.LG

Official code: stoianmihail/PLEX (17 stars, C++, MIT, last commit 2022-06-30).

Abstract

Latest research proposes to replace existing index structures with learned models. However, current learned indexes tend to have many hyperparameters, often do not provide any error guarantees, and are expensive to build.

Show full abstract

We introduce Practical Learned Index (PLEX). PLEX only has a single hyperparameter $ε$ (maximum prediction error) and offers a better trade-off between build and lookup time than state-of-the-art approaches. Similar to RadixSpline, PLEX consists of a spline and a (multi-level) radix layer. It first builds a spline satisfying the given $ε$ and then performs an ad-hoc analysis of the distribution of spline points to quickly tune the radix layer.

View on arXivView PDF

Code Implementations(1)

stoianmihail/PLEXOfficial100%
MIT

Official code of "PLEX: Towards Practical Learned Indexing", aka TrieSpline (AIDB @VLDB'21)

176C++, ShellMay 23, 20214 years agoMIT
index-structurelearned-databaselearned-index

Similar Papers

Cite this paper

@article{stoian2021towards,
  title  = {Towards Practical Learned Indexing},
  author = {Mihail Stoian and Andreas Kipf and Ryan Marcus and Tim Kraska},
  year   = {2021},
  eprint = {2108.05117},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.05117}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.05117.svg)](https://codeofpaper.com/paper/2108.05117)

Discussion