Professional Documents
Culture Documents
Review
Today
Star Schema
Fact table
Dimensions
Implementation
techniques for
OLAP
Join indexes
File org.
Architecture
Architecture
Characteristics
Characteristics
Relational OLAP
Relational OLAP
Multidimensional OLAP
Multidimensional OLAP
+entral table
'act table,
Sales
Sales (Market_id, Product_Id, Time_Id,
Sales_Amt!
&imension Tables,
-aret
-aret (Market_Id, City, State, Region!
Product
Product (Product_Id, Name, Category, Price!
Time
Time (Time_Id, Week, Month, Quarter!
10/15/08 Sudarshan
11
)ttributes
t
2
e
+
i
o
n
!onth
Dimensions: Product, Location, Time
Hierarchical summarization paths
Industry Region Year
Category Country Quarter
Product City onth !ee"
#$$ice Day
10/15/08 Sudarshan
15
) Sample Data *ube
Total annual sales
o$ T% in &'(')'
Date
P
r
o
d
u
c
t
C
o
u
n
t
r
y
sum
sum
-&

1#
13tr
23tr
33tr
43tr
4(S(A
#anada
!e"io
sum
10/15/08 Sudarshan
16
Star Schema
r
o
d
c
u
s
t
c
i
t
y
!
a
c
t
date# custno# prodno# cityname# """
10/15/08 Sudarshan
17
E"ample o, Star Shema
E"ample o, Star Shema
4i"ot ,rotate-+
Other operations
Sales +hannel
Re$ion
+ountry
State
Location Address
Sales
Representative
R
o
l
l
3
p
0i$her Level of
A$$re$ation
Low4level
&etails
&
r
i
l
l
4
&
o
w
n
10/15/08 Sudarshan
27
;Slicing and Dicing<
4roduct
Sales *hannel
R
e
g
i
o
n
s
Retail &irect Special
0ousehold
Telecomm
8ideo
Audio
India
'ar (ast
(urope
The Telecomm Slice
10/15/08 Sudarshan
28
Snowfla&e Schema
r
o
d
c
u
s
t
c
i
t
y
!
a
c
t
date# custno# prodno# cityname# """
r
e
g
i
o
n
10/15/08 Sudarshan
30
E"ample o, Sno8,la/e Shema
10/15/08 Sudarshan
31
/xample of Snowfla&e
Schema
time_/e%
da%
da%_o,_the_8ee/
month
9uarter
%ear
time
loation_/e%
street
it%_/e%
loation
Sales .at -a5le
time_/e%
item_/e%
5ranh_/e%
loation_/e%
units_sold
dollars_sold
a'+_sales
!easures
item_/e%
item_name
5rand
t%pe
supplier_/e%
item
5ranh_/e%
5ranh_name
5ranh_t%pe
5ranh
supplier_/e%
supplier_t%pe
supplier
it%_/e%
it%
pro'ine_or_street
ountr%
it%
10/15/08 Sudarshan
32
Indexing !echni6ues
2itmap Inde)es
:oin Inde)es
Other Issues
Te)t inde)in$
2itmap inde),
1re<omputed =oins
orrelates ,or eah it% the alls >in the calls ta5le? ,rom
that it%
10/15/08 Sudarshan
39
Join Indexes
'ast
Analysis
Shared
-ultidimensional
Information
10/15/08 Sudarshan
43
5arehouse Products
0ewlett4Pacard 44 Allbase*S/L
Software AD 44 A&A2AS
Oracle E
Informi)
Sybase
Sybase -PP
Sybase I/
10/15/08 Sudarshan
45
5arehouse Server
Products
Tandem 1onstop
I2-
&2> -8S
3niversal Server
&2> 9==
Teradata