Indexing Temporal Relations for Range-Duration Queries

Matteo Ceccarello, Anton Dignös, Johann Gamper, Christina Khnaisser
6/15/2022
cs.DB

Official code: Cecca/temporal-index (4 stars, Rust, Rust, last commit 2024-06-11).

Abstract

Temporal information plays a crucial role in many database applications, however support for queries on such data is limited. We present an index structure, termed RD-index, to support range-duration queries over interval timestamped relations, which constrain both the range of the tuples' positions on the timeline and their duration.

Show full abstract

RD-index is a grid structure in the two-dimensional space, representing the position on the timeline and the duration of timestamps, respectively. Instead of using a regular grid, we consider the data distribution for the construction of the grid in order to ensure that each grid cell contains approximately the same number of intervals. RD-index features provable bounds on the running time of all the operations, allow for a simple implementation, and supports very predictable query performance. We benchmark our solution on a variety of datasets and query workloads, investigating both the query rate and the behavior of the individual queries. The results show that RD-index performs better than the baselines on range-duration queries, for which it is explicitly designed. Furthermore, it outperforms specialized indexes also on workloads containing queries constraining either only the duration or the range.

View on arXivView PDF

Code Implementations(1)

Rust
41Rust, ROct 21, 20202 years ago

Similar Papers

Cite this paper

@article{ceccarello2022indexing,
  title  = {Indexing Temporal Relations for Range-Duration Queries},
  author = {Matteo Ceccarello and Anton Dignös and Johann Gamper and Christina Khnaisser},
  year   = {2022},
  eprint = {2206.07428},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.07428}
}

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

Discussion