10
1 THEORACTICE THEORACTICE TTA Project TTA Project THEORACTICE THEORACTICE OCT. 25, 2005 OCT. 25, 2005

1 THEORACTIC E TTA Project THEORACTICE OCT. 25, 2005

Embed Size (px)

Citation preview

Page 1: 1 THEORACTIC E TTA Project THEORACTICE OCT. 25, 2005

1THEORACTITHEORACTI

CECE

TTA ProjectTTA Project

THEORACTICETHEORACTICEOCT. 25, 2005OCT. 25, 2005

Page 2: 1 THEORACTIC E TTA Project THEORACTICE OCT. 25, 2005

2THEORACTITHEORACTI

CECE

Project OverviewProject Overview

1) Have you ever used DBMS 1) Have you ever used DBMS such as Oracle, MS-SQL ?such as Oracle, MS-SQL ?

2) How can you decide 2) How can you decide whether the DB performance is good whether the DB performance is good or not?or not?

Page 3: 1 THEORACTIC E TTA Project THEORACTICE OCT. 25, 2005

3THEORACTITHEORACTI

CECE

Project OverviewProject Overview

TPC-H based DB Performance measuring TPC-H based DB Performance measuring tooltool

De facto industry standards body for De facto industry standards body for OLTPOLTP

● ● Examining large amounts of dataExamining large amounts of data ● ● Examining queries that are complexExamining queries that are complex ● ● Essential MetricsEssential Metrics 1) Time to load the database1) Time to load the database 2) Queries per Hours (QphH)2) Queries per Hours (QphH) 3) Price / performance ($ / QphH)3) Price / performance ($ / QphH)

Page 4: 1 THEORACTIC E TTA Project THEORACTICE OCT. 25, 2005

4THEORACTITHEORACTI

CECE

Context Diagram (Overall)Context Diagram (Overall)

DB performance benchmark tool

Test Engineer

DB Scale Factor

DBMS(DataBase

Management System)

a

b c

d

Server configuration

a: TE! {EnterScaleFactor, ViewResult}b: SF! {ScaleFactor}c: BT! {CreateDB, CreateQuery, ExecuteQuery} DB! {DBMSType, DBMSPrice}d: SC! {OSType, MachineType, ArrangementOfCPUs}

Page 5: 1 THEORACTIC E TTA Project THEORACTICE OCT. 25, 2005

5THEORACTITHEORACTI

CECE

Divide Sub-problemsDivide Sub-problems

1) Database Generator1) Database Generator

2) Database Query Generator2) Database Query Generator

3) Measure Metrics based on TPC-H3) Measure Metrics based on TPC-H

4) Report measured results4) Report measured results

Page 6: 1 THEORACTIC E TTA Project THEORACTICE OCT. 25, 2005

6THEORACTITHEORACTI

CECE

Sub problem-1 (Create DB)Sub problem-1 (Create DB)

DB Creator

a: DC! {CreateDB} DB! {DBMSType} b: DC! {RequestScaleFactor}c: SF! {ScaleFactor}d: DB! {Table, Relation, Index, Row}

TPC-H standard(pre-defined DB schema),Reflect DB size based on

scale factor

DBMS(DataBase

Management System)

b

a

DB Scale Factor

c

d

Page 7: 1 THEORACTIC E TTA Project THEORACTICE OCT. 25, 2005

7THEORACTITHEORACTI

CECE

Sub problem-2 (Create Query)Sub problem-2 (Create Query)

Query Generator

a: QG! {ExecuteQuery} DB! {DBMSType} b: QG! {CreateQuery}c: QR! {SQLSelectStatement, SQLUpdateStatement}d: DB! {ExecuteAutoGeneratedQuery}

TPC-H standard(pre-defined query types),Execute auto-generated

queries

DBMS(DataBase

Management System)

b

a

c

d

DB Queries

Page 8: 1 THEORACTIC E TTA Project THEORACTICE OCT. 25, 2005

8THEORACTITHEORACTI

CECE

Sub problem-3 (Analyze Result)Sub problem-3 (Analyze Result)

ResultAnalyzer

a: DB! {MeasureExecutionTime, MeasureDBLoadingTime} b: RA! {CalculateResult}c: RV! {QueryPerHour, PriceToQueryPerHour}d: DB! {ExecutionTime, DBLoadingTime, DBMSPrice}

TPC-H standard(Equation for calculating

loading time, Equation for calculating execution time)

DBMS(DataBase

Management System)

b

a

c

d

Result Values

Page 9: 1 THEORACTIC E TTA Project THEORACTICE OCT. 25, 2005

9THEORACTITHEORACTI

CECE

Sub problem-4 (Show Report)Sub problem-4 (Show Report)

GUI Reproting Tool

a: RT! {ShowGraph, ShowTable} b: RT! {RequestResultValues}c: RV! {QueryPerHour, PriceToQueryPerHour}d: DU! {Graph, Table}

Show the result values through graph or table

selected by user

Display Unit

b

a

Result Values

c

d

Page 10: 1 THEORACTIC E TTA Project THEORACTICE OCT. 25, 2005

10THEORACTITHEORACTI

CECE

Major Question ?Major Question ?

How can we map sub-problems to How can we map sub-problems to problem frames ?problem frames ?

Given problem frames are enough ?Given problem frames are enough ?