Dimensional Data Modeling - Lecture 3
Dimensional Data Modeling - Lecture 3
•Income
•Education
•Marital Status
•Etc.
2
Monster Dimensions
3
Monster Dimensions
Answer: 25 (5*5)
The ‘base’ Customer_Dim
Customer •Cust_key
•Name Sales_Fact
Dimension table •Address
Cust_key
contains the key to •Demo_key
Demo_Key
the new table. Demo_Dim
Keys of both the •Demo_key
•Income_Range
new key and the •Education
are placed as •Marital Status
foreign keys on
fact table What happens when
customer income
changes?
4
Degenerate Dimensions
5
Degenerate Dimensions
6
Different types of facts
8
Transaction and Snapshot Facts
9
Transaction and Snapshot Facts
10
Snapshot Example
A snapshot
(Foreign_Keys)
for ATM .
usage, by .
.
account, by Transaction count
month Account balance
Revenue_earned
Average_daily_balance
.
.
11
Factless Facts
12