Temporal XML? SQL strikes back!

While the introduction of temporal extensions into database standards has proven difficult to achieve, the newly introduced SQL:2003 and XML/XQuery standards have actually enhanced our ability to support temporal applications in commercial database systems. We illustrate this point by discussing three approaches that use temporally grouped representations. We first compare the approaches at the logical level using a common set of queries; then we turn to the physical level and discuss our ArchIS system that supports the three different approaches efficiently in one unified physical implementation. We conclude that the approaches of managing transaction-time information using XML and SQL can be integrated and supported efficiently within the current standards, and claim that the proposed approach can be extended to valid-time and bitemporal databases.

[1]  Curtis E. Dyreson,et al.  Adding Valid Time to XPath , 2002, DNIS.

[2]  Information technology — Database languages — SQL — Part 14 : XML-Related Specifications ( SQL / XML ) , 2022 .

[3]  Gultekin Özsoyoglu,et al.  Temporal and Real-Time Databases: A Survey , 1995, IEEE Trans. Knowl. Data Eng..

[4]  M. Tamer Özsu,et al.  A comprehensive XQuery to SQL translation using dynamic interval encoding , 2003, SIGMOD '03.

[5]  Michael J. Carey,et al.  XPERANTO: Middleware for Publishing Object-Relational Data as XML Documents , 2000, VLDB.

[6]  Jan Chomicki,et al.  Querying ATSQL databases with temporal logic , 1996, TODS.

[7]  Fusheng Wang,et al.  XBiT: An XML-Based Bitemporal Data Model , 2004, ER.

[8]  Christian S. Jensen,et al.  Transitioning Temporal Support in TSQL2 to SQL3 , 1997, Temporal Databases, Dagstuhl.

[9]  C. J. Date,et al.  Temporal data and the relational model , 2002 .

[10]  Albert Croker,et al.  On completeness of historical relational query languages , 1991, TODS.

[11]  Hamid Pirahesh,et al.  Efficiently publishing relational data as XML documents , 2001, The VLDB Journal.

[12]  Fabio Grandi,et al.  The Valid Web: An XML/XSL Infrastructure for Temporal Management of Web Documents , 2000, ADVIS.

[13]  Fusheng Wang,et al.  Using XML to Build Efficient Transaction-Time Temporal Database Systems on Relational Databases , 2006, 22nd International Conference on Data Engineering (ICDE'06).

[14]  Carlo Zaniolo,et al.  Using SQL to Build New Aggregates and Extenders for Object- Relational Systems , 2000, VLDB.

[15]  Keishi Tajima,et al.  Archiving scientific data , 2004, TODS.

[16]  H. Schoning Tamino - a DBMS designed for XML , 2001, Proceedings 17th International Conference on Data Engineering.

[17]  Richard T. Snodgrass,et al.  The TSQL2 Temporal Query Language , 1995 .

[18]  David Toman,et al.  Point-Based Temporal Extension of Temporal SQL , 1997, DOOD.

[19]  Fusheng Wang,et al.  Temporal Information Management Using XML , 2004, ER.

[20]  Jim Melton,et al.  SQL:2003 has been published , 2004, SGMD.

[21]  Bharat Bhargava,et al.  Advanced Database Systems , 1993, Lecture Notes in Computer Science.

[22]  Dan Suciu,et al.  Towards a Scalable Infrastructure for Advanced E-Services. , 2001 .

[23]  Fusheng Wang,et al.  An XML-Based Approach to Publishing and Querying the History of Databases , 2005, World Wide Web.

[24]  Miron Livny,et al.  SEQ: A model for sequence databases , 1995, Proceedings of the Eleventh International Conference on Data Engineering.

[25]  Michael Stonebraker,et al.  The Design of the POSTGRES Storage System , 1988, VLDB.

[26]  Albert Croker,et al.  On Temporal Grouping , 1995, Temporal Databases.

[27]  Dan Suciu,et al.  Aggregation and Accumulation of XML Data. , 2001 .

[28]  C. Zaniolo,et al.  Expressing and optimizing sequence queries in database systems , 2004, TODS.

[29]  Christian S. Jensen,et al.  On the Semantics of , 1996 .

[30]  F. Grandi An Annotated Bibliography on Temporal and Evolution Aspects in the World Wide Web , 2003 .

[31]  Fusheng Wang,et al.  Publishing and querying the histories of archived relational databases in XML , 2003, Proceedings of the Fourth International Conference on Web Information Systems Engineering, 2003. WISE 2003..

[32]  Christian S. Jensen,et al.  On the semantics of “now” in databases , 1996, TODS.

[33]  David Toman,et al.  A point-based temporal extension of SQL , 1997 .

[35]  Christian S. Jensen,et al.  Transaction Timestamping in (Temporal) Databases , 2001, VLDB.

[36]  Toshiyuki Amagasa,et al.  A Data Model for Temporal XML Documents , 2000, DEXA.

[37]  Mohamed F. Mokbel,et al.  Immortal DB: transaction time support for SQL server , 2005, SIGMOD '05.

[38]  Richard T. Snodgrass,et al.  Temporal Slicing in the Evaluation of XML Queries , 2003, VLDB.

[39]  Douglas Stott Parker,et al.  SQL/LPP: A Time Series Extension of SQL Based on Limited Patience Patterns , 1999, DEXA.

[40]  Carlo Zaniolo,et al.  Query Languages and Data Models for Database Sequences and Data Streams , 2004, VLDB.

[41]  Fusheng Wang,et al.  Temporal queries in XML document archives and web warehouses , 2003, 10th International Symposium on Temporal Representation and Reasoning, 2003 and Fourth International Conference on Temporal Logic. Proceedings..

[42]  Curtis E. Dyreson,et al.  Observing transaction-time semantics with /sub TT/XPath , 2001, Proceedings of the Second International Conference on Web Information Systems Engineering.