Prof. Navneet Goyal Computer Science Department BITS, Pilani
Prof. Navneet Goyal Computer Science Department BITS, Pilani
Databases
• Flat files
• Hierarchical and Network
• Relational
• Distributed Relational
• Multidimensional
Spreadsheets – A 2D database?
Functionalities
What about a stack of similar
spreadsheets for different times?
Limitations?
We can not relate data in different
sheets easily
December 7, 2021 Dr. Navneet Goyal, BITS, Pilani 5
Multidimensional Database
Sales Volumes
Mini Van 6 5 4
M
O
D Coupe 3 5 5
E
L
Sedan
4 3 2
Blue Red White
COLOR
Sales Volumes
M Mini Van
O
D Coupe
E
L Sedan
Carr
Gleason
Clyde
DEALERSHIP
Blue Red White
COLOR
Sales Volumes
M
O
D
E
L
DEALERSHIP
COLOR
•
•
•
RECORD NUMBER.... 998
RECORD NUMBER.... 999
RECORD NUMBER.... 1000
Sales Volumes
Employee Age
Smith 21
Regan 19
Sales Volumes Fox 63
L
A
M
Mini Van 6 5 4 S
Weld 31
O T
D Coupe 3 5 5 Kelly 27
E N
L A
Sedan 4 3 2 M Link 56
E
Blue Red White Kranz 45
COLOR
Lucas 41
Weiss 19
31 41 23 01 14 54 03 12 33
EMPLOYEE #
Sales Volumes
M
Mini Van
6 5 4 C Blue 6 3 4
O O
D Coupe
3 5 5 L Red 5 5 3
E O
L R
Sedan 4 3 2 o
White 4 5 2
( ROTATE 90 ) Mini Van Coupe Sedan
Blue Red White
COLOR MODEL
Sales Volumes
M Mini Van
C Blue
C Blue
O O O
D Coupe L Red
L Red
E O O
L Sedan
Carr
Gleason
R White
Carr
Gleason
R White
Mini Van
Coupe
Clyde Clyde Sedan
Blue Red White Sedan Coupe Mini Van Carr Gleason Clyde
D D
E E
A A
L Carr L Carr Mini Van
E E M
R Gleason
R Gleason O Coupe
S S D
H Mini Van H Blue E Sedan
Blue
I Clyde Coupe I Clyde Red L Red
White
White
P Sedan P Mini Van Coupe Sedan
White Red Blue Clyde Gleason Carr
Mini Van
M Mini Van
O
D Coupe Carr
E Coupe
Clyde
L Normal Metal
Carr Blue Blue
Clyde
DEALERSHIP
Normal Metal
Blue Blue
COLOR
• The end user selects the desired positions along each dimension.
• Also referred to as "data dicing."
• The data is scoped down to a subset grouping
REGION Midwest
M
O
D
E
L
Clyde Gleason Carr Levi Lucas Bolton Gary St. Louis Chicago Midwest
REGION
DISTRICT
DEALERSHIP
DEALERSHIP
MODEL CLYDE GLEASON CARR
MINI VAN 7 5 6
SPORTS COUPE 4 6 8
SEDAN 3 8 12
Sales Volumes
Coupe 16 12 0.33
Sedan 8 10 - 0.2
16 16 0.0
BUSINESS MEASUREMENTS
TYPE OF USERS
– Power users prefer the range of
functionalities available in MOLAP tools
– Users that require broad views of enterprise
data require access to DW and therefore
better served by a ROLAP tool