Seminar Dbms
Seminar Dbms
Valid time is the time period during which a fact is true in the real world.
Transaction time is the time period during which a fact stored in the
database was known.
Decision time is the time period during which a fact stored in the
database was decided to be valid.
Uni-Temporal
A uni-temporal database has one axis of time, either the validity range or the
system time range.
Bi-Temporal
valid time.
transaction time or decision time.
Tri-Temporal
A tri-temporal database has three axes of time.
valid time.
transaction time
decision time.
Non-Temporal Databases
Temporal Databases
Different Forms of Temporal Databases
Non-Temporal Databases:
The two different notions of time - valid time and transaction time - allow the
distinction of different forms of temporal databases. A historical
database stores data with respect to valid time, a rollback database stores data
with respect to transaction time. A bitemporal database stores data with
respect to both valid time and transaction time.
The states stored in a bitemporal database are sketched in the picture below. Of
course, a temporal DBMS such as TimeDB does not store each database state
separately as depicted in the picture below. It stores valid time and/or
transaction time for each tuple, as described above.
Features
Temporal databases support managing and accessing temporal data by
providing one or more of the following features:[1][2]
A time period datatype, including the ability to represent time periods
with no end (infinity or forever)
The ability to define valid and transaction time period attributes and
bitemporal relations
System-maintained transaction time
Temporal primary keys, including non-overlapping period constraints
Temporal constraints, including non-overlapping uniqueness
and referential integrity
Update and deletion of temporal records with automatic splitting and
coalescing of time periods
Temporal queries at current time, time points in the past or future, or over
durations
Predicates for querying time periods, often based on Allen’s interval
relations