HINT: A Hierarchical Index for Intervals in Main Memory

George Christodoulou, Panagiotis Bouros, Nikos Mamoulis
4/22/2021
cs.DBcs.DS

Official code: pbour/hint (12 stars, C++, MIT, last commit 2025-04-10).

Abstract

Indexing intervals is a fundamental problem, finding a wide range of applications. Recent work on managing large collections of intervals in main memory focused on overlap joins and temporal aggregation problems.

Show full abstract

In this paper, we propose novel and efficient in-memory indexing techniques for intervals, with a focus on interval range queries, which are a basic component of many search and analysis tasks. First, we propose an optimized version of a single-level (flat) domain-partitioning approach, which may have large space requirements due to excessive replication. Then, we propose a hierarchical partitioning approach, which assigns each interval to at most two partitions per level and has controlled space requirements. Novel elements of our techniques include the division of the intervals at each partition into groups based on whether they begin inside or before the partition boundaries, reducing the information stored at each partition to the absolutely necessary, and the effective handling of data sparsity and skew. Experimental results on real and synthetic interval sets of different characteristics show that our approaches are typically one order of magnitude faster than the state-of-the-art.

View on arXivView PDF

Code Implementations(1)

pbour/hintOfficial100%
MIT

Source code from the "HINT: A Hierarchical Index for Intervals in Main Memory" and "HINT: A Hierarchical Interval Index for Allen Relationships" publications

124C++, MakefileFeb 16, 20221 years agoMIT

Similar Papers

Cite this paper

@article{christodoulou2021hint,
  title  = {HINT: A Hierarchical Index for Intervals in Main Memory},
  author = {George Christodoulou and Panagiotis Bouros and Nikos Mamoulis},
  year   = {2021},
  eprint = {2104.10939},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.10939}
}

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/2104.10939.svg)](https://codeofpaper.com/paper/2104.10939)

Discussion