English

Snapshot Semantics for Temporal Multiset Relations (Extended Version)

Databases 2019-02-14 v1

Abstract

Snapshot semantics is widely used for evaluating queries over temporal data: temporal relations are seen as sequences of snapshot relations, and queries are evaluated at each snapshot. In this work, we demonstrate that current approaches for snapshot semantics over interval-timestamped multiset relations are subject to two bugs regarding snapshot aggregation and bag difference. We introduce a novel temporal data model based on K-relations that overcomes these bugs and prove it to correctly encode snapshot semantics. Furthermore, we present an efficient implementation of our model as a database middleware and demonstrate experimentally that our approach is competitive with native implementations and significantly outperforms such implementations on queries that involve aggregation.

Keywords

Cite

@article{arxiv.1902.04938,
  title  = {Snapshot Semantics for Temporal Multiset Relations (Extended Version)},
  author = {Anton Dignös and Boris Glavic and Xing Niu and Michael Böhlen and Johann Gamper},
  journal= {arXiv preprint arXiv:1902.04938},
  year   = {2019}
}

Comments

extended version of PVLDB paper

R2 v1 2026-06-23T07:39:57.069Z