Skip to content
psimatisPublic

About

SIGMOD 2027 - AITTI: Augmented Interval Tree for Temporal Indexing

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

License: MIT C++ Paper

AITTI: Augmented Interval Tree for Temporal Indexing

Abstract

Querying temporal and versioned data is a classic problem that has been studied for more than four decades. In a temporal database, a record version is characterized by a temporal validity interval. Queries on temporal databases retrieve record versions that were valid at a time point or sometime within a time interval and satisfy a selection predicate on some object attribute. There is little recent work on indexing temporal data for queries with range filters on a given attribute, especially considering modern commodity hardware. We revisit this classic problem by proposing AITTI, an in-memory index,which uses an interval tree as a backbone to index the time dimension. The record versions in each interval tree node are organized by a new data structure tailored for open-ended range queries in the time-attribute domain. We theoretically analyze the search and update performance of AITTI and its component structures. We experimentally show the superiority of our index over previous work on real data.

Dependencies

  • g++/gcc compiler
  • Standard C++ libraries
  • Boost library (required for RTree baseline)

Quick Start

./run.sh

This will build all executables and run a complete experiment. Results saved to benchmark.log.

Manual Compilation & Execution

# Build all executables
make clean && make all

# Run AITTI
./query_AITTI.exe -r 5 data/books_data_example.txt data/books_queries_example.txt

# Run aHINT
./query_aHINT.exe -e 86400 -n 8 -r 5 data/books_data_example.txt data/books_queries_example.txt

# Run RTree
./query_RTree.exe -r 5 data/books_data_example.txt data/books_queries_example.txt

Parameters:

  • -r N: Number of runs per query
  • -e N: Epsilon parameter (aHINT only)
  • -n N: Number of attribute partitions (aHINT only)

Methods

  • AITTI (our method)
  • aHINT
  • RTree

Dataset

Example data and queries are provided in the data/ directory:

  • data/books_data_example.txt - Interval data
  • data/books_queries_example.txt - Query intervals

Citation

If you use this code in your research, please cite our [SIGMOD 2027 paper]:

@inproceedings{simatis2027aitti,
  title={AITTI: Augmented Interval Tree for Temporal Indexing},
  author={Simatis, Panagiotis and Bouros, Panagiotis and Amagata, Daichi and Tsakalidis, Konstantinos and Mamoulis, Nikos},
  booktitle={Proceedings of the 2027 International Conference on Management of Data},
  year={2027}
}

About

SIGMOD 2027 - AITTI: Augmented Interval Tree for Temporal Indexing

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages