Indexing temporal relations for range-duration queries
Open Access
- 9 January 2025
- journal article
- research article
- Published by Springer Nature in Distributed and Parallel Databases
- Vol. 43 (1) , 1-39
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 . 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, allows for a simple implementation, supports very predictable query performance, and can be constructed and queried in parallel using multithreading. 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 state of the art indexes also on mixed workloads containing queries that constrain either only the duration or the range along with range-duration queries. Finally, the size of the RD-index is in all settings smaller than the competitors, its construction scales with the number of threads, and parallelization helps improving the runtime of expensive moderate and lowly selective queries.Keywords
Funding Information
- Province of Bozen-Bolzano (ISTeP, ISTeP)
- Università degli Studi di Padova
This publication has 38 references indexed in Scilit:
- Antibiotic resistance in the environmentNature Reviews Microbiology, 2021
- Leveraging range joins for the computation of overlap joinsThe VLDB Journal, 2021
- Short- Versus Prolonged-Duration Antibiotics for Outpatient Pneumonia in ChildrenThe Journal of Pediatrics, 2021
- In-Memory Interval JoinsThe VLDB Journal, 2021
- Cache-efficient sweeping-based interval joins for extended Allen relation predicatesThe VLDB Journal, 2021
- Running Experiments with Confidence and Sanity2020
- Disjoint interval partitioningThe VLDB Journal, 2017
- The (black) art of runtime evaluation: Are we comparing algorithms or implementations?Knowledge and Information Systems, 2016
- More Geometric Data Structures2000
- Quad trees a data structure for retrieval on composite keysActa Informatica, 1974