dwm temporal measure

30
Tempor a l Data warehouse Temporal Measures Vijay Kumar Verma (VJY) 11-April-2014

Upload: vijay-kumar-verma

Post on 11-May-2015

93 views

Category:

Software


4 download

DESCRIPTION

What is Temporal Measure in Temporal Data Warehouse

TRANSCRIPT

Page 1: Dwm temporal measure

Temporal Data warehouse

Temporal Measures

Vijay Kumar Verm

a (VJY)

11-April-2014

Page 2: Dwm temporal measure

INTRODUCTION

TYPES & CASES

OBJECTIVES

Page 3: Dwm temporal measure

What is M

easures Measures are usually numeric values that are used for quantitative evaluation of aspects of an organization

For example, measures such as the amount or quantity of sales might help to analyze sales activities in various stores.

Page 4: Dwm temporal measure

Product

Product numberNameDescription

Product groups

Category

Category nameDescription

LS

Store

Store numberNameAddressManager’s nameArea

Sales organization

Sales district

District nameRepresentativeContact info

Client

Client idFirst nameLast nameBirth dateProfessionSalary rangeAddress

Sales

Quantity Amount VT

LS

LS

VT SizeDistributor

LS

ResponsibleMax. amount

LS

VT

LS

District areaNo employees

LS

VT

Page 5: Dwm temporal measure

What is dim

ension A dimension is an abstract

concept that groups data that shares a common semantic meaning within the domain being modeled.

A dimension is composed of a set of hierarchies and a hierarchy is in turn composed of a set of levels.

Page 6: Dwm temporal measure

What is Levels A level corresponds to an entity

type in the ER model. It describes a set of real-world concepts that, from the application’s perspective, have similar characteristics.

For example, Product, Category, and Department are some of the levels Instances of a level are called members.

Page 7: Dwm temporal measure

Level name

Key attributes Other attributes

Child level name

Key attributesOther attributes

Parent level name

Key attributes Other attributes

Level

Hierarchy

Page 8: Dwm temporal measure

A level has a set of attributes that describe the characteristics of their members.

In addition, a level has one or several keys that identify uniquely the members of a level, each key being composed of one or several attributes.

Page 9: Dwm temporal measure

Fact Relatio

nship A fact relationship expresses a focus of analysis and represents an n-ary relationship between levels.

A fact relationship may contain attributes commonly called measures.

These contain data (usually numerical) that is analyzed using the various perspectives represented by the dimensions.

Page 10: Dwm temporal measure

We classified measures as additive, semiadditive, nonadditive.

Page 11: Dwm temporal measure

TYPES OF MEASURES Temporal Measure can be

either• Support for Non-aggregated

Measure• Support for Aggregated

Measure

Page 12: Dwm temporal measure

Non-Aggregated Measures

Page 13: Dwm temporal measure

1. Sources Non temporal, Data Warehouse with LT

2. Sources and Data Warehouse with VT

3. Sources with TT, Data Warehouse with VT

4. Sources with VT, Data Warehouse with VT and LT

5. Sources with TT, Data Warehouse with TT (and optionally LT and VT)

6. Sources with BT, Data Warehouse with BT and LT

Page 14: Dwm temporal measure

Sources Nontemporal, Data Warehouse with LT

CASE 1

Page 15: Dwm temporal measure

Category

Category nameDescription...

Product

Product numberProduct nameDescriptionSize... P

rodu

ct g

roup

s

Supplier

Supplier idSupplier nameAdress ...

Warehouse

WH numberWH nameAddressCity nameState name...

Inventory

Quantity CostLT

Inclusion of loading time for measures

Page 16: Dwm temporal measure

Sources and Data Warehouse

with VT

CASE 2

Page 17: Dwm temporal measure

Transaction type

IdName ...

Account

Account idAccount type...

Transactions

AmountVT

Client

Client idClient nameAddress...

Project

Project idProject nameObjectivesSize...

Employee

Employee idEmployee name Address...

Department

Department idDepartment name Manager...

Works

SalaryVT

Inclusion of valid time for measures (Event, States)

Page 18: Dwm temporal measure

Sources with TT, Data Warehouse with VT

CASE 3

Page 19: Dwm temporal measure

Project

Project idProject nameObjectivesSize...

Employee

Employee idEmployee name Address...

Department

Department idDepartment name Manager...

Works

SalaryVT

Inclusion of valid time for measures

Page 20: Dwm temporal measure

Sources with VT, Data Warehouse with VT

CASE 4

Page 21: Dwm temporal measure

100

LT1

10 no sales

10 13 ...Time

(weeks) 11

5200 500

2012 14

LT2

Sales

Usefulness of including both valid time and loading time

Page 22: Dwm temporal measure

Sources with TT, Data Warehouse with TT (and

optionally LT and VT)

CASE 5

Page 23: Dwm temporal measure

Insurance type

Type idInsurance nameCategory...

Insurance object

Object idObject name ...

Insurance agency

Agency idAddress...

Frauddetection

AmountTT

Client

Client idClient nameAddress...

A temporal data warehouse schema for an insurance company

Page 24: Dwm temporal measure

Sources with BT, Data Warehouse with BT and LT

CASE 6

Page 25: Dwm temporal measure

100 VT[2:5]

LT1

1 4 ...

Salary

Time(months) 2 83

LT2

200 VT[6:now]

TT1 TT2

Usefulness of valid time, transaction time, and loading time

Page 26: Dwm temporal measure

Aggregated Measures

Page 27: Dwm temporal measure

(a) (c)(b)

SD2SD1

2535

1020 30

Time

SD1 SD2

Sales district of store S

Measure for store S

Measure distributed between sales districts

SD2SD1

3020

3020

Time

SD1 SD2

SD2SD1

3614

3020

Time

SD2SD1

An example of distribution of measures in the case of temporal relationships

Store

Store numberNameAddressManager’s nameArea S

ales

org

ani

zatio

n Sales district

District nameRepresentativeContact info

LS

LS

District areaNo employees

LS

VT

Page 28: Dwm temporal measure
Page 29: Dwm temporal measure

Have Any Question?

facebook.com/groups/sviet.mca

[email protected]

Page 30: Dwm temporal measure

Thank You