260 likes | 380 Views
Temporal Database. Chap 1: The Historial Relational Data Model (HRDM) Revisited. 1.2 Lifespans. 1.2 Lifespans. Associate a lifespan at the database level. A collection of relations that are homogeneous in the temporal dimension.
E N D
Temporal Database Chap 1: The Historial Relational Data Model (HRDM) Revisited
1.2 Lifespans Associate a lifespan at the database level. A collection of relations that are homogeneous in the temporal dimension Associate a lifespan at the relation level. Each relation can be defined over different periods of time. All the tuples in a given relation are homogeneous.
1.2 Lifespans Associate a lifespan at the tuple level. Each tuple can be defined over different periods of time. All the attributes in a given tuple are homogeneous.
1.3 Historical Relations in HRDM • Set of times, T={…, t0 , t1,…} at most countably indefinite • Lifespan L: Any subset of the set T • Value domain D={D1, D2,… Dnd } • TD={TD1, TD2,… TDnd } TDi ={fi | fi : T →Di }, a partial function from T into the value domain Di TT={g| g: T →T} • Set of attributes, U ={A1, A2,… And } • Historical Domain HD HD =(TD∪ {TT})= ={TT, TD1, TD2,… TDnd } • Constant Domain CD
1.3 Historical Relations in HRDM A relation schemeR=<A, K, ALS, DOM>
1.4 The Historical Relational Algebra of HRDM θ-Join Equijoin
1.4 The Historical Relational Algebra of HRDM Natural-Join Time-Join