Professional Documents
Culture Documents
• measure attribute
(measure some value, can be aggregated upon)
• dimension attribute
(define the dimension and summary of measure
attribute)
(Cont.)
• Each dimension is typically expressed as a
“hierarchy”
• Hierarchy: Analyst is interested in different level of
detail of a dimension
Step II
1.Analyze multidimensional data into cross-tabulation
113
Cheese 6 16 6 8
Swiss Rolls 8 25 21
Time
Product
Sales Information Jan City
Report: The number of items sold in each Feb Mar product
for each Apr with time
Mumbai Wheat Bread 3 10
Cheese 3 16 6
City
Swiss Rolls 4 16 6
Swiss Rolls 4 9 15
Product
Report: The number of items sold and income in each region for
each product with time.
Product
Sales Fact Product
Category
Region
Online Analysis Processing(OLAP)
Data
Warehous
e Region
Time
Slicing & Dicing
• Additional Functionality that can be thought of as
viewing a slice of the data cube, particularly when
values for multiple dimensions are fixed.
• Slicing/Dicing simply consists of selecting specific
values for these attributes, which are then displayed
on top of the cross-tab
Dicing
Household
Telecomm
Regions
Video Europe
Far East
Audio India
• Sales Channel
• Region
• Country Drill-Down
Roll Up • State
• Location Address
• Sales Representative
Low-level
Details
OLAP Inplementation
• Multidimensional OLAP (MOLAP)
• Relational OLAP (ROLAP)
• Hybrid OLAP (HOLAP)
MOLAP
• The database is stored in a special, usually
proprietary, structure that is optimized for
multidimensional analysis.
• + : very fast query response time because data is
mostly pre-calculated
• -: practical limit on the size because the time
taken to calculate the database and the space
required to hold these pre-calculated values
ROLAP
• The database is a standard relational database
and the database model is a multidimensional
model, often referred to as a star or snowflake
model or schema.
• +: more scalable solution
• -: performance of the queries will be largely
governed by the complexity of the SQL and the
number and size of the tables being joined in the
query
HOLAP
• a hybrid of ROLAP and MOLAP
• can be thought of as a virtual database whereby the
higher levels of the database are implemented as
MOLAP and the lower levels of the database as
ROLAP
DOLAP
• The previous terms are used to refer to server
based OLAP technologies
• DOLAP (Desktop OLAP)
• DOLAP enables users to quickly pull together small
cubes that run on their desktops or laptops
Conclusion
• OLAP is a significant improvement over query
systems
• OLAP is an interactive system to show different
summaries of multidimensional data by interactively
selecting the attributes in a multidimensional data
cube
References
• IBM Redbooks. DB2 Cube Views: A Primer. Durham, NC, USA:
IBM, 2003. ebrary collections. San Jose State University.
<http://site.ebrary.com/lib/sjsu/Doc?id=10113016&ppg=43>