The adaptive radix tree: ARTful indexing for main-memory databases

  • Authors:
  • Viktor Leis;Alfons Kemper;Thomas Neumann

  • Affiliations:
  • Fakultät für Informatik, Technische Universität München, Boltzmannstrae 3, D-85748 Garching;Fakultät für Informatik, Technische Universität München, Boltzmannstrae 3, D-85748 Garching;Fakultät für Informatik, Technische Universität München, Boltzmannstrae 3, D-85748 Garching

  • Venue:
  • ICDE '13 Proceedings of the 2013 IEEE International Conference on Data Engineering (ICDE 2013)
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Main memory capacities have grown up to a point where most databases fit into RAM. For main-memory database systems, index structure performance is a critical bottleneck. Traditional in-memory data structures like balanced binary search trees are not efficient on modern hardware, because they do not optimally utilize on-CPU caches. Hash tables, also often used for main-memory indexes, are fast but only support point queries. To overcome these shortcomings, we present ART, an adaptive radix tree (trie) for efficient indexing in main memory. Its lookup performance surpasses highly tuned, read-only search trees, while supporting very efficient insertions and deletions as well. At the same time, ART is very space efficient and solves the problem of excessive worst-case space consumption, which plagues most radix trees, by adaptively choosing compact and efficient data structures for internal nodes. Even though ART's performance is comparable to hash tables, it maintains the data in sorted order, which enables additional operations like range scan and prefix lookup.