Abstract
The importance of temporal data management is manifested by a considerable attention from the database research community. This importance is becoming even more evident by the recent increasing support of temporal features in major commercial database systems. Among these systems, Teradata offers a native support to a wide range of temporal analytics. In this paper, we address the problem of temporal coalescing in the Teradata RDBMS. Temporal coalescing is a key temporal query processing operation, which merges adjacent or overlapping timestamps of value-equivalent rows. From existing approaches to implement temporal coalescing, pursuing an SQL-based approach is perhaps the most feasible and the easiest applicable. Along this direction, we propose an efficient SQL rewrite approach to implement temporal coalescing in the Teradata RDBMS by leveraging runtime conditional partitioning – a Teradata enhancement to ANSI ordered analytic functions – that enables to express the coalescing semantic in an optimized join-free single-scan SQL query. We evaluated our proposed approach over a system running Teradata 14.0 with a performance study that demonstrates its efficiency.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Böhlen, M.H.: Temporal coalescing. In: Encyclopedia of Database Systems, pp. 2932–2936 (2009)
Böhlen, M.H., Snodgrass, R.T., Soo, M.D.: Coalescing in temporal databases. In: VLDB, pp. 180–191 (1996)
Dyreson, C., et al.: A consensus glossary of temporal database concepts. SIGMOD Rec. 23(1), 52–64 (1994)
Chandra, R., Segev, A.: Managing temporal financial data in an extensible database. In: VLDB 1993, pp. 302–313 (1993)
Date, C., Darwen, H.: Temporal Data and the Relational Model. Morgan Kaufmann Publishers Inc., San Francisco (2002)
IBM. A matter of time: Temporal data management in DB2 for z/OS (2010), http://www.ibm.com/developerworks/data/library/techarticle/dm-1204db2temporaldata/dm-1204db2temporaldata-pdf.pdf
Jensen, C.S., Snodgrass, R.T.: Temporal data management. IEEE TKDE 11(1), 36–44 (1999)
Oracle. Oracle flashback technologies (2010), http://www.oracle.com/technetwork/database/features/availability/flashback-overview-082751.html
Snodgrass, R.T., et al.: TSQL2 language specification. SIGMOD Rec. 23(1), 65–86 (1994)
Shoshani, A., Kawagoe, K.: Temporal data management. In: VLDB 1986, pp. 79–88 (1986)
Snodgrass, R.T.: Developing Time-Oriented Database Applications in SQL. Morgan Kaufmann (1999)
Tansel, A.U.: Temporal databases theory, design, and implementation. The Benjamin/Cummings Publishing Company, Inc. (1993)
Tansel, A.U.: Temporal relational data model. IEEE TKDE 09(3), 464–479 (1997)
Teradata. Teradata temporal analytics (2010), http://www.teradata.com/database/teradata-temporal/
Zhou, X., Wang, F., Zaniolo, C.: Efficient Temporal Coalescing Query Support in Relational Database Systems. In: Bressan, S., Küng, J., Wagner, R. (eds.) DEXA 2006. LNCS, vol. 4080, pp. 676–686. Springer, Heidelberg (2006)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Al-Kateb, M., Ghazal, A., Crolotte, A. (2012). An Efficient SQL Rewrite Approach for Temporal Coalescing in the Teradata RDBMS. In: Liddle, S.W., Schewe, KD., Tjoa, A.M., Zhou, X. (eds) Database and Expert Systems Applications. DEXA 2012. Lecture Notes in Computer Science, vol 7447. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-32597-7_32
Download citation
DOI: https://doi.org/10.1007/978-3-642-32597-7_32
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-32596-0
Online ISBN: 978-3-642-32597-7
eBook Packages: Computer ScienceComputer Science (R0)