DOC PREVIEW
USC CSCI 599 - T10-PerfTempQs

This preview shows page 1-2-15-16-31-32 out of 32 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 32 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 32 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 32 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 32 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 32 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 32 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 32 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Performance Analysis of Temporal QueriesAbstractAbstract, continuedIntroductionIntroduction, continuedSlide 6Slide 7Slide 8The New ModelThe New Model, continuedSlide 11The Algebraic ExpressionConventional Algebraic OperatorsTemporal Algebraic OperatorsAuxiliary Algebraic OperatorsTQuel Algebraic xform’s: Example 1Example 1, continuedTQuel Algebraic xform’s: Example 2Example 2, continuedXform to File Primitive ExpressionFile Primitive Expression, example 2Characteristics of DB RelationsSteps of TransformationAccess Path ExpressionAccess Path Expression ModesAPE Subcomponent ParametersInverted & Multi-List File structuresAPE for Inverted FilesAPE for Multilist FilesTransform FPE  Access CostAccess-Time CalculationsPerformance Analysis SummaryPerformance Analysis of Temporal Queries(Information Sciences #49, 1989)(Information Sciences #49, 1989)by by Ilsoo AhnIlsoo Ahn, , AT&T Bell Laboratories, Columbus, OhioAT&T Bell Laboratories, Columbus, Ohioand and Richard SnodgrassRichard SnodgrassDept. of Computer ScienceDept. of Computer Science, , University of ArizonaUniversity of ArizonaCommunicated by Ahmed ElmagarmidCommunicated by Ahmed Elmagarmid~ * ~~ * ~Presented by Barry Klein for CS-599, 10/26/2000Presented by Barry Klein for CS-599, 10/26/2000AbstractTemporal databases that maintain history data Temporal databases that maintain history data add historical queries and rollback operations add historical queries and rollback operations to conventional db’s. This paper proposes a to conventional db’s. This paper proposes a model for analyzing the performance of model for analyzing the performance of temporal queries over a range of access temporal queries over a range of access methods.methods.Abstract, continuedModelModel: : 4 transformations through a series of 4 transformations through a series of formal expressions common to all phases of query formal expressions common to all phases of query processing.processing.InputInput: : Temporal Query + DB schemaTemporal Query + DB schemaOutputOutput: : Estimated I/O cost for it.Estimated I/O cost for it.ValidationValidation: : Compare estimated cost from model Compare estimated cost from model with actual cost from a prototype.with actual cost from a prototype.IntroductionFactors affecting performance of a Factors affecting performance of a Temporal DBMSTemporal DBMS::Access methods availableAccess methods availableQuery-processing strategiesQuery-processing strategiesSize and composition of the dataSize and composition of the dataIntroduction, continuedMethods for describing TDBMS effectiveness:Methods for describing TDBMS effectiveness:Empirical approach – actual performance is Empirical approach – actual performance is measured. measured. AdvantageAdvantage: Results are reliable.: Results are reliable.Analytical approach – develop a math model Analytical approach – develop a math model of the performance, which can predict of the performance, which can predict performance in controlled context. performance in controlled context. AdvantageAdvantage: less effort, but results are : less effort, but results are questionable.questionable.Introduction, continuedThree orthogonal types of Time:Three orthogonal types of Time:Valid time, Transaction time, User-definedValid time, Transaction time, User-defined4 categories of DBs defined in terms of4 categories of DBs defined in terms of support for valid/transaction time:support for valid/transaction time:Snapshot – conventional, no temporal support.Snapshot – conventional, no temporal support.Rollback – support transaction time.Rollback – support transaction time.Historical – support valid time (real-world history)Historical – support valid time (real-world history)Temporal – support both valid and txn time.Temporal – support both valid and txn time.Introduction, continuedTQuel—TQuel—non-proceduralnon-procedural language based on language based on tupletuple calculus—is chosen here to express calculus—is chosen here to express historical queries and rollback operations:historical queries and rollback operations:Augments Augments retrieveretrieve statement with statement with whenwhen predicate predicate – temporal relations among tuples.– temporal relations among tuples.ValidValid clause specifies how implicit time attributes clause specifies how implicit time attributes are computed for result tuples.are computed for result tuples.Rollback operations implemented with Rollback operations implemented with as ofas of clause (in either rollback or temporal db’s).clause (in either rollback or temporal db’s).Introduction, continuedTemporal relations used Temporal relations used with the added with the added constructs:constructs:PrecedePrecedeOverlapOverlapExtendExtendBegin ofBegin ofEnd ofEnd ofTQuel augments valid TQuel augments valid and when clauses to:and when clauses to:AppendAppendDeleteDeleteReplaceReplaceCreateCreate statement statement supported for supported for temporal relations.temporal relations.The New ModelPerformance analysis based on these givens:Performance analysis based on these givens:A set of temporal queriesA set of temporal queriesSome query-processing/optimization strategySome query-processing/optimization strategyFile structure(s) to implement the TDBFile structure(s) to implement the TDBA set of parameters characterizing the storage A set of parameters characterizing the storage devices.devices.The New Model, continuedAssumptions and decisions for this model:Assumptions and decisions for this model:Disk I/O traffic is used as measurement Disk I/O traffic is used as measurement key: ~proportional to performance;key: ~proportional to performance;Inputs must be flexible;Inputs must be flexible;Resulting estimate must be accurate.Resulting estimate must be accurate.The New Model, continuedThe 4 transformations of the model use:The 4 transformations of the model use:Algebraic expressions;Algebraic expressions;File-primitive expressions;File-primitive expressions;Access-path expressions.Access-path expressions.The Algebraic ExpressionSince TQuel is non-procedural, the algebraic Since TQuel is non-procedural, the algebraic expression is defined first:expression is defined first:Algebraic operatorsAlgebraic operatorsConventional: Conventional: select, project, join, union,


View Full Document

USC CSCI 599 - T10-PerfTempQs

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 T10-PerfTempQs
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 T10-PerfTempQs 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 T10-PerfTempQs 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?