A 2-dimensional temporal relational database model for querying errors and updates, and for achieving zero information-loss

A temporal relational database model that supports queries on updates and errors is obtained by attaching 2-dimensional timestamps to data values. The two time dimensions represent real world time, the time when events take place in the real world, and transaction time, the time when such events are recorded in the database. A timestamp in our model is a temporal element, which is a finite union of temporal intervals, or rectangles. The resulting 2-dimensional temporal model includes a robust concept of keys. The concept of keys is essential for restructuring formless temporal information in weak relations. This model does not preclude the possibility that key values may sometimes by recorded in error. Therefore, among its update operations is one that allows changes in key attribute values. Since key values can change to accommodate previous errors, a mechanism to store the "true" identity of objects is provided. This is done through anchors. Relations in the 2-dimensional model can "store" the results of all updates. This obviates the need for an explicit update log. Not only that, since updates are now part of the relational structure, constructs of the relational algebra can be used to query their nature. The algebra for the model includes powerful, yet simple, primitives for querying for updates and errors. The zero information-loss model uses the basic 2-dimensional model to provide complete information recoverability. The effect of all database transactions and their circumstances is "stored" in the model. As a result, there is no longer any need for explicit transaction logs. In the zero information-loss model it is possible to have queries on queries, queries on queries on queries, ad infinitum. This model is a promising framework for building secure and auditable database systems.

[1]  Martín Abadi,et al.  Temporal Logic Programming , 1989, J. Symb. Comput..

[2]  Shashi K. Gadia,et al.  Achieving Zero Information-Loss in a Classical Database Environment , 1989, VLDB.

[3]  Richard T. Snodgrass,et al.  The temporal query language TQuel , 1987, TODS.

[4]  Gio Wiederhold,et al.  Structured organization of clinical data bases , 1899, AFIPS '75.

[5]  Richard Montague,et al.  The Proper Treatment of Quantification in Ordinary English , 1973 .

[6]  Setrag Khoshafian,et al.  A calculus for complex objects , 1985, PODS '86.

[7]  Richard T. Snodgrass,et al.  A taxonomy of time databases , 1985, SIGMOD Conference.

[8]  SHASHI K. GADIA,et al.  Inadequacy of interval timestamps in temporal databases , 1991, Inf. Sci..

[9]  Abdullah Uz Tansel,et al.  Nested historical relations , 1989, SIGMOD '89.

[10]  Shashi K. Gadia,et al.  A homogeneous relational model and query languages for temporal databases , 1988, TODS.

[11]  Abdullah Uz Tansel A statistical interface for historical relational databases , 1987, 1987 IEEE Third International Conference on Data Engineering.

[12]  James Clifford,et al.  On an algebra for historical relational databases: two views , 1985, SIGMOD Conference.

[13]  Shashi K. Gadia,et al.  Weak temporal relations , 1985, PODS.

[14]  Patrick Suppes,et al.  Approaches to Natural Language , 1973 .

[15]  Michael D. Soo,et al.  Bibliography on temporal databases , 1991, SGMD.

[16]  David Maier,et al.  Making smalltalk a database system , 1984, SIGMOD '84.

[17]  David Scott Warren,et al.  Formal semantics for time in databases , 1982, TODS.

[18]  Abdullah Uz Tansel,et al.  Adding time dimension to relational model and extending relational algebra , 1986, Inf. Syst..

[19]  Shashi K. Gadia,et al.  A query language for a homogeneous temporal database , 1985, PODS '85.

[20]  Nick Roussopoulos,et al.  Reference Model for DBMS Standardization, Database Architecture Framework Task Group (DAFTG) of the ANSI/X3/SPARC Database System Study Group , 1986, SIGMOD Rec..

[21]  Setrag Khoshafian,et al.  Object identity , 1986, OOPLSA '86.

[22]  David Maier,et al.  The Theory of Relational Databases , 1983 .

[23]  Shashi K. Gadia,et al.  A generalized model for a relational temporal database , 1988, SIGMOD '88.

[24]  Won Kim,et al.  Relational Database Systemsr , 1979, CSUR.

[25]  Jan Chomicki,et al.  Temporal deductive databases and infinite objects , 1988, PODS.

[26]  Shamkant B. Navathe,et al.  A Temporal Relational Model and a Query Language , 1989, Inf. Sci..

[27]  Richard T. Snodgrass,et al.  Research Concerning Time in Databases - Project Summaries , 1986, SIGMOD Rec..

[28]  Richard T. Snodgrass,et al.  Supporting Valid Time: An Historical Algebra. , 1987 .

[29]  Harry K. T. Wong,et al.  The role of time in information processing: a survey , 1982, SGAR.