Temporal Databases

Temporal Databases

Fabio Grandi
DOI: 10.4018/978-1-4666-5888-2.ch184
OnDemand:
(Individual Chapters)
Available
$37.50
No Current Special Offers
TOTAL SAVINGS: $37.50

Chapter Preview

Top

Background

Temporal databases have been an active research area for several decades, primarily focusing on temporal extensions of data models and query languages but also considering several other aspects of database technology. Extensions have been proposed mainly for the relational data model but also for object-oriented, XML, RDF and conceptual models like the Entity-Relationship model. A quite large literature, with pioneering works published in the early 1980s, is the outcome of such an effort as witnessed by several surveys and bibliographies (the latest thereof is Grandi (2012)), which also includes references to previous ones).

All extensions are based on the adoption of one or more time domains of interest for applications, whose values are used to assign a temporal pertinence (e.g., as timestamps) to data. The most popular and relevant time dimensions are valid time and transaction time (Jensen et al., 1998):

  • The valid time of a fact is the time when the fact is true in the modeled reality.

  • The transaction time of a fact is the time when the fact is stored in the database.

A database equipped with both valid and transaction time is said to be a bitemporal database. In a temporal database, a snapshot relation is a traditional relation, without time support. Further time dimensions (e.g., event/decision time, efficacy time or generic “user-defined” time) have also been considered in some application fields. For the modeling of a time domain, several aspects have been taken into account and studied, concerning its structure and features (e.g., discrete versus dense, linear versus branching, finite versus unbounded, besides granularity, periodicity, indeterminacy or probability, calendar support), and special values have been defined and characterized (e.g., “beginning,” “now,” “∞,” “until changed”). In order to exploit the potentialities of a temporal database in applications, several temporal query languages (e.g., SQL extensions) have been proposed.

Key Terms in this Chapter

Valid Time: Temporal dimension concerning when some fact is true in the modeled reality.

TSQL2: A temporal extension of the SQL standard designed by a committee of temporal database experts chaired by R.T. Snodgrass in 1995.

Valid Time Table: A relational table with system support of one valid time dimension.

Transaction Time: Temporal dimension concerning when some data is current in the database.

Transaction Time Table: A relational table with system support of one transaction time dimension.

Bitemporal Table: A relational table with system support of one valid- and one transaction-time dimension.

Temporal Query Language: A query language that allows manipulation of time-referenced data.

Complete Chapter List

Search this Book:
Reset