Data Warehouse Example
Data Warehouse Example
a
t
Data
s warehouse example
B_id B_name B_country B_E_i m
B_contact_no
d a T_i Year Quarte Month Da Time
1 Sachin India … … n d r y
1 2012 Q1 February …
2 David Australia … … s 2 2013 Q1 March …
Warner a
3 Virat Kohali India … … 3 2012 Q3 August …
4 Joe Root England -- --
c B_id L_id T_id Runs 4 2005 Q2 May --
h 1 1 3 200
i 1 3 1 300
A multidimensional data model is typically organized
n 2 2 3 150
around a central theme, like sales, for instance. This
D 2 2 2 400
theme is represented by a fact table.
a 3 3 3 250 Facts are numerical measures.
v the quantities by which we want to analyze relationships
i between dimensions.
d
Concept Hierarchies == mapping from low level concept to high level concept
Time => date = Month = Quter == year W
Batsman Runs a
r
Sachin 500
n
David Warner 550 e
Virat Kohali 250 r
D
1-D cube a
v
i 2-D cube
d
Dimensions are the perspectives or entities with respect to which an organization wants to keep records.
W
a
r
n
e
r
L_i Country State/City Stadium capacity
d
1 India Kolkata Eden Gardens …
2 Australia Melbourne Melbourne Cricket …
Ground
3 India Ahmedabad Motera Cricket Stadium …
4 Australia Adelaide Adelaide Oval --