Docsity

Data Warehouse, On Line Transaction Processing - Data Warehousing - Lecture Slides, Slides of Data Warehousing

Partial preview of the text

Download Data Warehouse, On Line Transaction Processing - Data Warehousing - Lecture Slides and more Slides Data Warehousing in PDF only on Docsity!

1

Data Warehousing

Lecture-

Introduction and Background

2

Introduction and Background

4

How is it Different?

 Starts with a 6x12 availability requirement ...

but 7x24 usually becomes the goal.
 For business across the globe, 50% of the world may be
sleeping at any one time, but the businesses are up 100%
of the time.
 100% availability not a trivial task, need to take into
account loading strategies, refresh rates etc.

5

How is it Different?

 Does not follows the traditional development

model

Classical SDLC  Requirements gathering  Analysis  Design  Programming  Testing  Integration  Implementation Requirements Program

7

Data Warehouse Vs. OLTP
OLTP (On Line Transaction Processing)
Select tx_date, balance from tx_table
Where account_ID = 23876;

8

Data Warehouse Vs. OLTP

DWH
Select balance, age, sal, gender from
customer_table, tx_table
Where age between (30 and 40) and
Education = ‘graduate’ and
CustID.customer_table =
Customer_ID.tx_table;

10 Data Warehouse Vs. OLTP **Data Warehouse OLTP Scope * Application – Neutral

  • Single source of “truth”
  • Evolves over time
  • How to improve business
  • Application specific
  • Multiple databases with repetition
  • Off the shelf application
  • Runs the business Data Perspective
  • Historical, detailed data
  • Some summary
  • Lightly denormalized
  • Operational data
  • No summary
  • Fully normalized Queries * Hardly uses PK
  • Number of results returned in thousands
  • Based on PK
  • Number of results returned in hundreds Time factor * Minutes to hours
  • Typical availability 6x 12
  • Sub seconds to seconds
  • Typical availability 24x**
OLTP: OnLine Transaction Processing (MIS or Database System)

11

Comparison of Response Times

 On-line analytical processing (OLAP) queries must

be executed in a small number of seconds.

 Often requires denormalization and/or sampling.
 Complex query scripts and large list selections can

generally be executed in a small number of minutes.

 Sophisticated clustering algorithms (e.g., data

mining) can generally be executed in a small number of hours (even for hundreds of thousands of customers).