






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Dr. Ala Al-Zobaidie
The slides are mainly based on the textbook Database Systems by Thomas Connolly &Carolyn Begg and others as cited
30/05/2007 DBDI / DW 2
30/05/2007 DBDI / DW 3
30/05/2007 DBDI / DW 4
Sales Profits
Expenses
1
2 3
4
Data Requests
Data Transformation Data Warehouse
Operational Systems Capture operational data
Transform the operational transaction data
Deliver business intelligence upon receipt of a user data request or query
Store the transformed data in a DW
30/05/2007 DBDI / DW 7
30/05/2007 DBDI / DW 8
30/05/2007 DBDI / DW 9
30/05/2007 DBDI / DW 10
30/05/2007 DBDI / DW 19
30/05/2007 DBDI / DW 21
Metadata
End-user Access Tools
30/05/2007 DBDI / DW 25
Data Warehouse
Legacy System Relational System
Purchased Data
Data Source (^) Data Marts Tools
Data Warehouse
Extract Transform Load Refresh
Metadata Repository
Serve
Data Mining
Query/ Reporting
OLAP Servers
Analysis
Monitoring & Administration
30/05/2007 DBDI / DW 26
Operational System Data Source
The Data Warehouse
User Query
DepartmentalData Marts
Transformation & Scrubbing of Data
Multidimensional Data Marts
Back EndBack End ProcessProcess
MidMid--TierTier ProcessProcess
Front EndFront End ProcessProcess
30/05/2007 DBDI / DW 27
30/05/2007 DBDI / DW 28
30/05/2007 DBDI / DW 37
30/05/2007 DBDI / DW 38
30/05/2007 DBDI / DW 39
30/05/2007 DBDI / DW 40
Region Month
Product
30/05/2007 DBDI / DW 43
Geography S N^ WE
1 2 3 4 5 6 Month
Product
Juice Cola Milk Cream Soap
10 50 20 12 10
Sales volume as a function of product, time & Region Roll up: Summarisation over aggregate hierarchy E.g. total sales volume last year Æ by product category by region
Roll down: Go from higher level summary to lower level summary or detailed data E.g. total sales volume last year & by region Æ by month by product category
Slice & Dice (i.e. pivoting): refers to the ability to look at the data from different viewpoints) (Select & project) E.g. sales of Cola in the West over the last six months; E.g. top 5 products by total sales
30/05/2007 DBDI / DW 44
30/05/2007 DBDI / DW 45
FACTS Sales Inventory Costs
Product
Time
Geography
Distribution Channel
Dimensions Year ¾ Quarter ¾ Month/week ¾ Day
Country ¾ Region ¾ City ¾ Office
30/05/2007 DBDI / DW 46
FACT Table ProdNo ProdName ProdDescr Category CategoryDescr UnitPrice QOH
Product OrderNo ProdNo SalespersonID CustomerNo Quantity TotalPrice
OrderNo OrderDate
Order
CustomerNo CustomerName CustomerAddre City
Customer
SalespersonID SalespersonName City Quota
Salesperson
Fact Table
Dimension Tables
Order Product
Customer
Salesperson
Region
30/05/2007 DBDI / DW 55
30/05/2007 DBDI / DW 56
Step 3: Identifying & conforming dimensions
Step 4: Choosing the facts
30/05/2007 DBDI / DW 57
30/05/2007 DBDI / DW 58
Step 5: Storing pre-calculations in the fact table
Step 6: Rounding out the dimension tables
Step 7: Choosing the duration of the database
30/05/2007 DBDI / DW 61
Step 8: Tracking slowly changing dimensions
Step 9: Deciding the query priorities and the query modes
30/05/2007 DBDI / DW 62
30/05/2007 DBDI / DW 63
30/05/2007 DBDI / DW 64