English

Just-in-Time Index Compilation

Databases 2019-01-24 v1

Abstract

Creating or modifying a primary index is a time-consuming process, as the index typically needs to be rebuilt from scratch. In this paper, we explore a more graceful "just-in-time" approach to index reorganization, where small changes are dynamically applied in the background. To enable this type of reorganization, we formalize a composable organizational grammar, expressive enough to capture instances of not only existing index structures, but arbitrary hybrids as well. We introduce an algebra of rewrite rules for such structures, and a framework for defining and optimizing policies for just-in-time rewriting. Our experimental analysis shows that the resulting index structure is flexible enough to adapt to a variety of performance goals, while also remaining competitive with existing structures like the C++ standard template library map.

Keywords

Cite

@article{arxiv.1901.07627,
  title  = {Just-in-Time Index Compilation},
  author = {Darshana Balakrishnan and Lukasz Ziarek and Oliver Kennedy},
  journal= {arXiv preprint arXiv:1901.07627},
  year   = {2019}
}

Comments

Work Supported by NSF Award #IIS-1617586

R2 v1 2026-06-23T07:19:09.889Z