International Journal of applied mathematics and computer science

online read us now

Paper details

Number 1 - March 2019
Volume 29 - 2019

Modeling and querying facts with period timestamps in data warehouses

Giovanni Mahlknecht, Anton Dignös, Natalija Kozmina

Abstract
In this paper, we study various ways of representing and querying fact data that are time-stamped with a time period in a data warehouse. The main focus is on how to represent the time periods that are associated with the facts in order to support convenient and efficient aggregations over time. We propose three distinct logical models that represent time periods as sets of all time points in a period (instant model), as pairs of start and end time points of a period (period model), and as atomic units that are explicitly stored in a new period dimension (period model). The period dimension is enriched with information about the days of each period, thereby combining the former two models. We use four different classes of aggregation queries to analyze query formulation, query execution, and query performance over the three models. An extensive empirical evaluation on synthetic and real-world datasets and the analysis of the query execution plans reveal that the period model is the best choice in terms of runtime and space for all four query classes.

Keywords
data warehouse, time periods, logical models

DOI
10.2478/amcs-2019-0003