DOC PREVIEW
USC CSCI 599 - presentationT8

This preview shows page 1-2-3-21-22-23-43-44-45 out of 45 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 45 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Comparison of Access Methods for Time-Evolving DataTemporal database design problemSlide 3OutlineConventional Vs. Temporal DatabasesWhat is Stored in a Temporal Database?Taxonomy of Time in a Temporal DatabaseTransaction Time DatabaseAssumptions in a Transaction Time DatabaseTransaction Time Database ExampleTransaction Time Database Access Method CharacteristicValid Time DatabaseValid Time Database Access Method CharacteristicBitemporal DatabaseBitemporal Database Access Method CharacteristicCriteria for Comparison of Access MethodsQueryQuery Type IQuery Type IIQuery Type IIIBitemporal QueriesThree-Entry Notation Query-Type RepresentationAccess Method CostsStorage SpaceUpdate Processing TimeQuery TimeIndex Pagination and Data clusteringSlide 28Migration of Past Data to Another LocationSlide 30Lower Bound on I/O ComplexitySlide 32Efficient Method Design for Transaction/Bitemporal DataSlide 34Slide 35Slide 36Slide 37Method ClassificationExamples of Method ClassesTime Index Access Method (Time Only)Slide 41Reverse chaining (Key-Only)Reverse ChainingComparison of Access Methods for time evolving dataThe End1Comparison of Access Methods for Time-Evolving DataBetty Salzberg and Vassilis TsotrasCS599, Temporal and Spatial Databases Course.Presented by:Atousa Golpayegani11/16/20002Temporal database design problemAccess MethodsDBMS SoftwareAccess Method?Temporal QueriesTime Dimension Database DesignerB+-treeR-treesnapshot-indextime-index3Temporal database design problemAccess MethodsDBMS SoftwareAccess MethodTemporal QueriesSelected Time Dimension Access MethodSelection CriteriaDatabase DesignerB+-tree R-treesnapshot-indextime-index4OutlineBrief introduction to temporal databases Criteria for comparison of access methodsEfficient method design for transaction/Bitemporal dataMethod classification and comparison5Conventional Vs. Temporal DatabasesConventional database captures only a single snapshot of the modeled reality, usually the most current.Can not support past and future data.Ex: “ the current salary of an employee”.Temporal database supports some time domain and is thus able to manage time varying data.User-defined time is excluded.Ex: “ the current and the previous salaries of an employee since hiring”.6What is Stored in a Temporal Database? Tuple-versioning Temporal model is used. In this model Database is a set of records that store the versions of the real life objects. Each record has: A time invariant key A number of time variant attributes (for simplicity just one) One or two intervals Start time End timeEx: Employee (ss#, name, salary, [t1, now) )7Taxonomy of Time in a Temporal DatabaseTransaction Time Is defined as the time when a fact is stored in the database.Valid Time Is defined as the time when a fact becomes effective (valid) in reality. Bitemporal TimeIs the combination of the above two types.Time is assumed to be discrete, and consecutive nonnegative integersAny change is assumed to occur only at an indicated time Addition of an objectDeletion of an objectValue change of an object’s attribute8Transaction Time DatabaseTime Interval shows when an object was added and deleted.An object is alive from the time it is added to the database until it is deleted.Ex. Object ‘a’ is the only one that is currently alive.No record is physically deleted (logical deletion). Therefore database has logical stateEx. Object ‘b’ is deleted.Logical state at time t consists of those records whose transaction time interval contains t. Ex. S(T4) = (‘a’ , ‘b’)T1T2T3T4T5TimeabbLogical state T49Assumptions in a Transaction Time DatabasePast states can not be changed.Linear transaction time evolutionA New database state is created by updating only the current database state.Another option is called branching transaction time evolution, where new states can be created from any past database state.Implicit updating assumptionIf an object is updated at time t, the database system will be updated at the same time. There is no delay.10Transaction Time Database ExampleT1T2T3T4T5Time(SS1,A,X1)(SS2,B,X2)(SS12B,X2)key Salary Transaction TimeSS1SS2SS2X1X2X2[ T1, now)[ T2, T3)[T4, T5)NameABB11T1T2T3T4T5TimeabbLogical state T4Transaction Time Database Access Method CharacteristicStore the past logical states.Support addition/deletion/modification changes on the objects of the current logical state.Efficiently access and query objects in any of logical states.12Valid Time DatabaseTime Interval shows the validity period of an object in reality.Ex. The period that a contract is valid.An object that is not valid anymore will be physically deleted from the database.Only the latest “snapshot” of the collection of interval-objects are kept.Valid TimeValid TimeI1I2State i-1State i13Valid Time Database Access Method CharacteristicStore the latest collection of interval-objects.Support addition/deletion/modification changes to this collection.Efficiently query the interval-objects contained in the collection.Valid TimeI214Bitemporal DatabaseSupports both transaction time and valid time.Instead of a single collection of interval-objects, there is a sequence of collections, C(ti), indexed by transaction time.Transaction time and valid time are two orthogonal time dimensions.Ex. (Contract#, amount, duration, [t1, now))t1t4t3t2C(t1)C(t4)C(t3)C(t2)15Bitemporal Database Access Method CharacteristicStore its past logical states.Support addition/deletion/modification changes on the interval-objects of its current logical state.Efficiently access and query the interval-objects on any of its states.16Criteria for Comparison of Access MethodsQueryAccess Method CostsIndex Pagination and Data ClusteringMigration of Past Data to Another LocationLower Bounds on I/O Complexity17QueryOne of the criteria for the comparison is how efficient an access method answers a query.Three general classes of queries are chosen. They can be used for both valid time and transaction time since from a query perspective, valid time and transaction time are simply collections of intervals.18Query Type IGiven a contiguous interval T, find all objects alive during this interval.Representative query for this type:Pure-timeslice query : A special case of type I when interval T is reduced to a single time


View Full Document

USC CSCI 599 - presentationT8

Documents in this Course
Week8_1

Week8_1

22 pages

Week2_b

Week2_b

10 pages

LECT6BW

LECT6BW

20 pages

LECT6BW

LECT6BW

20 pages

5

5

44 pages

12

12

15 pages

16

16

20 pages

Nima

Nima

8 pages

Week1

Week1

38 pages

Week11_c

Week11_c

30 pages

afsin

afsin

5 pages

October5b

October5b

43 pages

Week11_2

Week11_2

20 pages

final

final

2 pages

c-4

c-4

12 pages

0420

0420

3 pages

Week9_b

Week9_b

20 pages

S7Kriegel

S7Kriegel

21 pages

Week4_2

Week4_2

16 pages

sandpres

sandpres

21 pages

Week6_1

Week6_1

20 pages

4

4

33 pages

Week10_c

Week10_c

13 pages

fft

fft

18 pages

LECT7BW

LECT7BW

19 pages

24

24

15 pages

14

14

35 pages

Week9_c

Week9_c

24 pages

Week11_67

Week11_67

22 pages

Week1

Week1

37 pages

LECT3BW

LECT3BW

28 pages

Week8_c2

Week8_c2

19 pages

Week5_1

Week5_1

19 pages

LECT5BW

LECT5BW

24 pages

Week10_b

Week10_b

16 pages

Week11_1

Week11_1

43 pages

Week7_2

Week7_2

15 pages

Week5_b

Week5_b

19 pages

Week11_a

Week11_a

29 pages

LECT14BW

LECT14BW

24 pages

T7kriegel

T7kriegel

21 pages

0413

0413

2 pages

3

3

23 pages

C2-TSE

C2-TSE

16 pages

10_19_99

10_19_99

12 pages

s1and2-v2

s1and2-v2

37 pages

Week10_3

Week10_3

23 pages

jalal

jalal

6 pages

1

1

25 pages

T3Querys

T3Querys

47 pages

CS17

CS17

15 pages

porkaew

porkaew

20 pages

LECT4BW

LECT4BW

21 pages

Week10_1

Week10_1

25 pages

wavelet

wavelet

17 pages

October5a

October5a

22 pages

p289-korn

p289-korn

12 pages

2

2

33 pages

rose

rose

36 pages

9_7_99

9_7_99

18 pages

Week10_2

Week10_2

28 pages

Week7_3

Week7_3

37 pages

Load more
Download presentationT8
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view presentationT8 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view presentationT8 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?