Reconciling tuple and attribute timestamping for temporal data warehouses


연구 분야: Databases



학회: The VLDB Journal


초록

Data Warehouses (DWs) requir e storing and analyzing time-varying data to reflect changes that occur in the business world. Solutions to this problem build on the field of temporal databases and adopt the tuple-timestamping approach, where tuples are timestamped with their validity interval. Alternatively, the attribute timestamping approach represents a time-varying attribute with a list of its evolving values and the time when these changes occurred. The SQL:2011 standard has favored the tuple timestamping approach, which has also been used for temporal DWs, despite that it yields very long and complex SQL queries. This paper aims at reconciling both approaches and advocates for a database that can support both models, in a way such that they complement each other. We show that, to efficiently operate with tuple timestamping, we need appropriate time data types and operations for representing and manipulating temporal elements. We also show that many applications are more naturally and efficiently modeled and implemented using attribute timestamping. To prove the feasibility of our proposal, we implemented a portion of the TPC-DS benchmark using three alternative approaches, two of them based on classic tuple timestamping (including the well-known slowly-changing dimensions model), and a third one, based on our proposal. For the latter, we used MobilityDB, a novel spatiotemporal database built on top of PostgreSQL, that integrates both models in a natural way. Experiments showed that our proposal outperformed the other two ones, in many cases, by orders of magnitude.


Author Profile
Waqas Ahmed

Université libre de Bruxelles Brussels Belgium

Belgium
Author Profile
Leticia Gómez

Instituto Tecnológico de Buenos Aires Buenos Aires Argentina

Argentina
Author Profile
Alejandro Vaisman

Instituto Tecnológico de Buenos Aires Buenos Aires Argentina

Argentina

📄 논문 정보

발행 연도 2024년
인용수 0
출판 국가 Belgium, Argentina
사이트 Springer
좋아요 수 0

연관 논문 목록 (395건)