260 likes | 397 Vues
This chapter delves into the concept of lifespans within the Historical Relational Data Model (HRDM). It explores the association of lifespan at three different levels: database, relation, and tuple. At the database level, we consider collections of homogeneous relations over time. Relation-level lifespans define periods in which each relation operates, while tuple-level lifespans specify timeframes for individual tuples. The chapter also introduces historical relations and domains, emphasizing the significance of these concepts in understanding temporal dimensions in data.
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