Professional Documents
Culture Documents
•M u lti- u se r e n v iro n m e n t
•C lie n t- se rv e r a rch ite ctu re
•R a p id re sp o n se to q u e rie s ,
re g a rd le ss o f
D B size a n d co m p le x ity
•
OLAP Functionalities
•
OLAP software provides some or all of the following
functionalities:
• Drilling down from high-level summaries to
better understand data relationships.
• Viewing data from different perspectives, called
pivoting or rotation
• Comparisons among different elements
• Exception reports to highlight unusual
situations· Time-series analysis to identify
trends
• Forecasting with a variety of quantitative
techniques
• Running model-based what-if simulations to
understand the interactions among the
different parts of the business
OLTP vs. OLAP
• OLTP: On Line Transaction Processing
– Describes processing at operational
sites
• OLAP: On Line Analytical Processing
– Describes processing at warehouse
•
OLTP vs. OLAP
OLTP OLAP
• Mostly updates • Mostly reads
• Many small • Queries long,
transactions complex
• Mb-Tb of data • Gb-Tb of data
• Raw data • Summarized,
• Clerical users consolidated data
• Up-to-date data • Decision-makers,
• Consistency, analysts as users
recoverability
critical
5
Multidimensional Online
Analytical Processing(MOLAP)
•
• MOLAP is online analytical processing (OLAP) that indexes
directly into a multidimensional database.
• In general, an OLAP application treats data
multidimensionally; the user is able to view different
aspects or facets of data aggregates such as sales by time,
geography, and product model.
• If the data is stored in a relational data base, it can be viewed
multidimensionally, but only by successively accessing and
processing a table for each dimension or aspect of a data
aggregate. MOLAP processes data that is already stored in
a multidimensonal array in which all possible combinations
of data are reflected, each in a cell that can be accessed
directly. For this reason, MOLAP is, for most uses, faster
and more user-responsive than relational online analytical
processing (ROLAP), the main alternative to MOLAP. There
is also hybrid OLAP (HOLAP), which combines some
features from both ROLAP and MOLAP.
MOLAP
•
This is the more traditional way of OLAP analysis.
In MOLAP, data is stored in a multidimensional
cube. The storage is not in the relational database,
but in proprietary formats.
• Advantages:
• Excellent performance: MOLAP cubes are built for fast
data retrieval, and is optimal for slicing and dicing
operations.
•
• Can perform complex calculations: All calculations
have been pre-generated when the cube is
created. Hence, complex calculations are not only
doable, but they return quickly.
• The advantages of this mode is that it provides
excellent query performance and the cubes are built
for fast data retrieval.
• All calculations are pre-generated when the cube is
MOLAP
Disadvantages:
•
MOLAP
Choice for faster
response & more
P e rfo rm a n ce
complex queries
Q u e ry
ROLAP
C o m p le x ity O f A n a ly sis
MOLAP vs. ROLAP
D a ta S to ra g e U n d e rly in g F u n ctio n s &
•Data Stored as T•Use
e chof
n ocomplex
lo g ie s SQL F•Known
e a tu re s
environment
Relational Tables in •ROLAP engine in and availability of
DW analytical server many tools
•Detailed & light creates data cubes •Limitations on