SlideShare a Scribd company logo
1 of 21
Temporal Databases
Outline
 Spatial Databases
 Indexing, Query processing
 Temporal Databases
 Spatio-temporal
 ….
Temporal DBs – Motivation
 Conventional databases represent the state of an enterprise at a single
moment of time
 Many applications need information about the past
 Financial (payroll)
 Medical (patient history)
 Government
 Temporal DBs: a system that manages time varying data
Comparison
 Conventional DBs:
 Evolve through transactions from one state to the next
 Changes are viewed as modifications to the state
 No information about the past
 Snapshot of the enterprise
 Temporal DBs:
 Maintain historical information
 Changes are viewed as additions to the information
stored in the database
 Incorporate notion of time in the system
 Efficient access to past states
Temporal Databases
 Temporal Data Models: extension of
relational model by adding temporal
attributes to each relation
 Temporal Query Languages: TQUEL, SQL3
 Temporal Indexing Methods and Query
Processing
Taxonomy of time
 Transaction time databases
 Transaction time is the time when a fact is
stored in the database
 Valid time databases:
 Valid time is the time that a fact becomes
effective in reality
 Bi-temporal databases:
 Support both notions of time
Example
 Sales example: data about sales are stored at the
end of the day
 Transaction time is different than valid time
 Valid time can refer to the future also!
 Credit card: 03/01-04/06
Transaction Time DBs
 Time evolves discretely, usually is associated with the
transaction number:
 A record R is extended with an interval [t.start, t.end).
When we insert an object at t1 the temporal attributes
are updated -> [t1, now)
 Updates can be made only to the current state!
 Past cannot be changed
 “Rollback” characteristics
T1 -> T2 -> T3 -> T4 ….
Transaction Time DBs
 Deletion is logical (never physical deletions!)
 When an object is deleted at t2, its temporal attribute
changes from [t1, now)  [t1, t2) (i.e. it updates its
interval)
 Object is “alive” from insertion to deletion time, ex. t1
to t2. If the value is “now” then the object is still alive
eid salary start end
10 20K 9/93 10/94
20 50K 4/94 *
33 30K 5/94 6/95
10 50K 1/95 *
time
Transaction Time DBs
1 2 4 8 10 15 16 17 25 28 30 33 41 42 45 47 48 51 53
u
b
f
c
d
g
p
j
k
i
m
e
Database evolves through insertions and deletions
id
Transaction Time DBs
 Requirements for index methods:
 Store past logical states
 Support addition/deletion/modification changes
on the objects of the current state
 Efficiently access and query any database state
Transaction Time DBs
 Queries:
 Timestamp (timeslice) queries: ex. “Give me all
employees at 05/94”
 Range-timeslice: “Find all employees with id
between 100 and 200 that worked in the
company on 05/94”
 Interval (period) queries: “Find all employees
with id in [100,200] from 05/94 to 06/96”
Valid Time DBs
 Time evolves continuously
 Each object is a line segment representing
its time span (eg. Credit card valid time)
 Support full operations on interval data:
 Deletion at any time
 Insertion at any time
 Value change (modification) at any time (no
ordering)
Valid Time DBs
 Deletion is physical:
 No way to know about the previous states of
intervals
 The notion of “future”, “present” and “past”
is relative to a certain timestamp t
Valid Time DBs
Iy
Iz
Ix
Iw
valid-time axis
previous collection
Iy
Ix
Iw
valid-time axis
new collection
The reality “best know now !”
Valid Time DBs
 Requirements for an Index method:
 Store the latest collection of interval-objects
 Support add/del/mod changes to this collection
 Efficiently query the intervals in the collection
 Timestamp query
 Interval (period) query
Bitemporal DBs
 A transaction-time Database, but each record is an
interval (plus the other attributes of the record)
 Keeping the evolution of a dynamic collection of
interval-objects
 At each timestamp, it is a valid time database
Bitemporal DBs
Iy
Ix
v
Iy Iz
Ix
v
Iy Iz
Ix
Iw
v
Iy
Ix
Iw
v
Iy
Ix
Iw
v
t
t1 t5
t4
t3
t2
C(t1) C(t5)
C(t4)
C(t3)
C(t2)
Bitemporal DBs
 Requirements for access methods:
 Store past/logical states of collections of objects
 Support add/del/mod of interval objects of the
current logical state
 Efficient query answering
Temporal Indexing
 Straight-forward approaches:
 B+-tree and R-tree
 Problems?
 Transaction time:
 Snapshot Index, TSB-tree, MVB-tree, MVAS
 Valid time:
 Interval structures: Segment tree, even R-tree
 Bitemporal:
 Bitemporal R-tree
Temporal Indexing
 Lower bound on answering timeslice and
range-timeslace queries:
 Space O(n/B), search O(logBn + s/B)
 n: number of changes, s: answer size, B
page capacity

More Related Content

Similar to tempDB.ppt

Back to the future - Temporal Table in SQL Server 2016
Back to the future - Temporal Table in SQL Server 2016Back to the future - Temporal Table in SQL Server 2016
Back to the future - Temporal Table in SQL Server 2016Stéphane Fréchette
 
BI-TEMPORAL IMPLEMENTATION IN RELATIONAL DATABASE MANAGEMENT SYSTEMS: MS SQ...
BI-TEMPORAL IMPLEMENTATION IN  RELATIONAL DATABASE  MANAGEMENT SYSTEMS: MS SQ...BI-TEMPORAL IMPLEMENTATION IN  RELATIONAL DATABASE  MANAGEMENT SYSTEMS: MS SQ...
BI-TEMPORAL IMPLEMENTATION IN RELATIONAL DATABASE MANAGEMENT SYSTEMS: MS SQ...lyn kurian
 
Perfect trio : temporal tables, transparent archiving in db2 for z_os and idaa
Perfect trio : temporal tables, transparent archiving in db2 for z_os and idaaPerfect trio : temporal tables, transparent archiving in db2 for z_os and idaa
Perfect trio : temporal tables, transparent archiving in db2 for z_os and idaaCuneyt Goksu
 
Teradata Tutorial for Beginners
Teradata Tutorial for BeginnersTeradata Tutorial for Beginners
Teradata Tutorial for Beginnersrajkamaltibacademy
 
Data Warehousing and Data Mining
Data Warehousing and Data MiningData Warehousing and Data Mining
Data Warehousing and Data Miningidnats
 
Survey On Temporal Data And Change Management in Data Warehouses
Survey On Temporal Data And Change Management in Data WarehousesSurvey On Temporal Data And Change Management in Data Warehouses
Survey On Temporal Data And Change Management in Data WarehousesEtisalat
 
Dataware house Introduction By Quontra Solutions
Dataware house Introduction By Quontra SolutionsDataware house Introduction By Quontra Solutions
Dataware house Introduction By Quontra SolutionsQuontra Solutions
 
PERFORMANCE STUDY OF TIME SERIES DATABASES
PERFORMANCE STUDY OF TIME SERIES DATABASESPERFORMANCE STUDY OF TIME SERIES DATABASES
PERFORMANCE STUDY OF TIME SERIES DATABASESijdms
 
OmniBase Object Database
OmniBase Object DatabaseOmniBase Object Database
OmniBase Object DatabaseESUG
 
Delta from a Data Engineer's Perspective
Delta from a Data Engineer's PerspectiveDelta from a Data Engineer's Perspective
Delta from a Data Engineer's PerspectiveDatabricks
 
JUG SF - Introduction to data streaming
JUG SF - Introduction to data streamingJUG SF - Introduction to data streaming
JUG SF - Introduction to data streamingNicolas Fränkel
 
Data Warehouse by Amr Ali
Data Warehouse by Amr AliData Warehouse by Amr Ali
Data Warehouse by Amr AliAmr Ali
 
BruJUG - Introduction to data streaming
BruJUG - Introduction to data streamingBruJUG - Introduction to data streaming
BruJUG - Introduction to data streamingNicolas Fränkel
 
WaJUG - Introduction to data streaming
WaJUG - Introduction to data streamingWaJUG - Introduction to data streaming
WaJUG - Introduction to data streamingNicolas Fränkel
 
Tracking your data across the fourth dimension
Tracking your data across the fourth dimensionTracking your data across the fourth dimension
Tracking your data across the fourth dimensionJeremy Cook
 
ELNA6eCh21 (1).ppt
ELNA6eCh21 (1).pptELNA6eCh21 (1).ppt
ELNA6eCh21 (1).pptNEILMANOJC1
 

Similar to tempDB.ppt (20)

Back to the future - Temporal Table in SQL Server 2016
Back to the future - Temporal Table in SQL Server 2016Back to the future - Temporal Table in SQL Server 2016
Back to the future - Temporal Table in SQL Server 2016
 
BI-TEMPORAL IMPLEMENTATION IN RELATIONAL DATABASE MANAGEMENT SYSTEMS: MS SQ...
BI-TEMPORAL IMPLEMENTATION IN  RELATIONAL DATABASE  MANAGEMENT SYSTEMS: MS SQ...BI-TEMPORAL IMPLEMENTATION IN  RELATIONAL DATABASE  MANAGEMENT SYSTEMS: MS SQ...
BI-TEMPORAL IMPLEMENTATION IN RELATIONAL DATABASE MANAGEMENT SYSTEMS: MS SQ...
 
129471717 unit-v
129471717 unit-v129471717 unit-v
129471717 unit-v
 
Perfect trio : temporal tables, transparent archiving in db2 for z_os and idaa
Perfect trio : temporal tables, transparent archiving in db2 for z_os and idaaPerfect trio : temporal tables, transparent archiving in db2 for z_os and idaa
Perfect trio : temporal tables, transparent archiving in db2 for z_os and idaa
 
Updating and Scheduling of Streaming Web Services in Data Warehouses
Updating and Scheduling of Streaming Web Services in Data WarehousesUpdating and Scheduling of Streaming Web Services in Data Warehouses
Updating and Scheduling of Streaming Web Services in Data Warehouses
 
Teradata Tutorial for Beginners
Teradata Tutorial for BeginnersTeradata Tutorial for Beginners
Teradata Tutorial for Beginners
 
Data Warehousing and Data Mining
Data Warehousing and Data MiningData Warehousing and Data Mining
Data Warehousing and Data Mining
 
Survey On Temporal Data And Change Management in Data Warehouses
Survey On Temporal Data And Change Management in Data WarehousesSurvey On Temporal Data And Change Management in Data Warehouses
Survey On Temporal Data And Change Management in Data Warehouses
 
The delta architecture
The delta architectureThe delta architecture
The delta architecture
 
Dataware house Introduction By Quontra Solutions
Dataware house Introduction By Quontra SolutionsDataware house Introduction By Quontra Solutions
Dataware house Introduction By Quontra Solutions
 
PERFORMANCE STUDY OF TIME SERIES DATABASES
PERFORMANCE STUDY OF TIME SERIES DATABASESPERFORMANCE STUDY OF TIME SERIES DATABASES
PERFORMANCE STUDY OF TIME SERIES DATABASES
 
OmniBase Object Database
OmniBase Object DatabaseOmniBase Object Database
OmniBase Object Database
 
Delta from a Data Engineer's Perspective
Delta from a Data Engineer's PerspectiveDelta from a Data Engineer's Perspective
Delta from a Data Engineer's Perspective
 
JUG SF - Introduction to data streaming
JUG SF - Introduction to data streamingJUG SF - Introduction to data streaming
JUG SF - Introduction to data streaming
 
Data Warehouse by Amr Ali
Data Warehouse by Amr AliData Warehouse by Amr Ali
Data Warehouse by Amr Ali
 
BruJUG - Introduction to data streaming
BruJUG - Introduction to data streamingBruJUG - Introduction to data streaming
BruJUG - Introduction to data streaming
 
WaJUG - Introduction to data streaming
WaJUG - Introduction to data streamingWaJUG - Introduction to data streaming
WaJUG - Introduction to data streaming
 
Dbms
DbmsDbms
Dbms
 
Tracking your data across the fourth dimension
Tracking your data across the fourth dimensionTracking your data across the fourth dimension
Tracking your data across the fourth dimension
 
ELNA6eCh21 (1).ppt
ELNA6eCh21 (1).pptELNA6eCh21 (1).ppt
ELNA6eCh21 (1).ppt
 

Recently uploaded

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 

Recently uploaded (20)

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 

tempDB.ppt

  • 2. Outline  Spatial Databases  Indexing, Query processing  Temporal Databases  Spatio-temporal  ….
  • 3. Temporal DBs – Motivation  Conventional databases represent the state of an enterprise at a single moment of time  Many applications need information about the past  Financial (payroll)  Medical (patient history)  Government  Temporal DBs: a system that manages time varying data
  • 4. Comparison  Conventional DBs:  Evolve through transactions from one state to the next  Changes are viewed as modifications to the state  No information about the past  Snapshot of the enterprise  Temporal DBs:  Maintain historical information  Changes are viewed as additions to the information stored in the database  Incorporate notion of time in the system  Efficient access to past states
  • 5. Temporal Databases  Temporal Data Models: extension of relational model by adding temporal attributes to each relation  Temporal Query Languages: TQUEL, SQL3  Temporal Indexing Methods and Query Processing
  • 6. Taxonomy of time  Transaction time databases  Transaction time is the time when a fact is stored in the database  Valid time databases:  Valid time is the time that a fact becomes effective in reality  Bi-temporal databases:  Support both notions of time
  • 7. Example  Sales example: data about sales are stored at the end of the day  Transaction time is different than valid time  Valid time can refer to the future also!  Credit card: 03/01-04/06
  • 8. Transaction Time DBs  Time evolves discretely, usually is associated with the transaction number:  A record R is extended with an interval [t.start, t.end). When we insert an object at t1 the temporal attributes are updated -> [t1, now)  Updates can be made only to the current state!  Past cannot be changed  “Rollback” characteristics T1 -> T2 -> T3 -> T4 ….
  • 9. Transaction Time DBs  Deletion is logical (never physical deletions!)  When an object is deleted at t2, its temporal attribute changes from [t1, now)  [t1, t2) (i.e. it updates its interval)  Object is “alive” from insertion to deletion time, ex. t1 to t2. If the value is “now” then the object is still alive eid salary start end 10 20K 9/93 10/94 20 50K 4/94 * 33 30K 5/94 6/95 10 50K 1/95 * time
  • 10. Transaction Time DBs 1 2 4 8 10 15 16 17 25 28 30 33 41 42 45 47 48 51 53 u b f c d g p j k i m e Database evolves through insertions and deletions id
  • 11. Transaction Time DBs  Requirements for index methods:  Store past logical states  Support addition/deletion/modification changes on the objects of the current state  Efficiently access and query any database state
  • 12. Transaction Time DBs  Queries:  Timestamp (timeslice) queries: ex. “Give me all employees at 05/94”  Range-timeslice: “Find all employees with id between 100 and 200 that worked in the company on 05/94”  Interval (period) queries: “Find all employees with id in [100,200] from 05/94 to 06/96”
  • 13. Valid Time DBs  Time evolves continuously  Each object is a line segment representing its time span (eg. Credit card valid time)  Support full operations on interval data:  Deletion at any time  Insertion at any time  Value change (modification) at any time (no ordering)
  • 14. Valid Time DBs  Deletion is physical:  No way to know about the previous states of intervals  The notion of “future”, “present” and “past” is relative to a certain timestamp t
  • 15. Valid Time DBs Iy Iz Ix Iw valid-time axis previous collection Iy Ix Iw valid-time axis new collection The reality “best know now !”
  • 16. Valid Time DBs  Requirements for an Index method:  Store the latest collection of interval-objects  Support add/del/mod changes to this collection  Efficiently query the intervals in the collection  Timestamp query  Interval (period) query
  • 17. Bitemporal DBs  A transaction-time Database, but each record is an interval (plus the other attributes of the record)  Keeping the evolution of a dynamic collection of interval-objects  At each timestamp, it is a valid time database
  • 18. Bitemporal DBs Iy Ix v Iy Iz Ix v Iy Iz Ix Iw v Iy Ix Iw v Iy Ix Iw v t t1 t5 t4 t3 t2 C(t1) C(t5) C(t4) C(t3) C(t2)
  • 19. Bitemporal DBs  Requirements for access methods:  Store past/logical states of collections of objects  Support add/del/mod of interval objects of the current logical state  Efficient query answering
  • 20. Temporal Indexing  Straight-forward approaches:  B+-tree and R-tree  Problems?  Transaction time:  Snapshot Index, TSB-tree, MVB-tree, MVAS  Valid time:  Interval structures: Segment tree, even R-tree  Bitemporal:  Bitemporal R-tree
  • 21. Temporal Indexing  Lower bound on answering timeslice and range-timeslace queries:  Space O(n/B), search O(logBn + s/B)  n: number of changes, s: answer size, B page capacity