Olap (Online Analytical Processing)
Olap (Online Analytical Processing)
(Online‐Analytical Processing)
It was introduced by E.F. Codd, who has been described as “the father of
relational database model”.
OLAP (OnLine Analytical Processing) is computer processing that enables a
user to easily and selectively extract and view data from different points of
view.
OLAP allows users to analyze database information from multiple database
systems at one time.
OLAP data is stored in multidimensional databases.
OLAP is a category of software technology that it allows /enables analysts,
managers, and executives to analyze the complex data derived from the
data warehouse.
The online indicates that the analysts, managers, and executives must be
able to request new summaries and get the responses online, within a few
seconds.
Technology used to perform complex analysis of the data in a data
warehouse
Online Analytical Processing (OLAP) is based on the multidimensional data
model.
Nigel Pendse has suggested that an alternative and
perhaps more descriptive term to describe the
concept of OLAP is Fast Analysis of Shared
Multidimensional Information (FASMI)
That is, most fundamentals definition of OLAP covering its all features is
named as FASMI.
Fast Analysis of Shared Multidimensional Information (FASMI)
Roll-up
Drill-down
Slice and dice
Pivot (rotate)
Roll-up: summarize data
Roll-up performs aggregation on a data cube in any of the following ways −
By dimension reduction
Here Slice is performed for the dimension "time" using the criterion time = "Q1".
Slice will form a new sub-cube by selecting one dimension.
Page 4 of 8
Dice
Dice selects two or more dimensions from a given cube and provides a new
sub-cube. Consider the following diagram that shows the dice operation.
The dice operation on the cube based on the following selection criteria
involves three dimensions.
Pivot (rotate):
The pivot operation is also known as rotation. It rotates the data axes in
view in order to provide an alternative presentation of data. Consider the
following diagram that shows the pivot operation.
Page 5 of 8
Types of OLAP Servers
We have four types of OLAP servers −
Relational OLAP
ROLAP servers are placed between relational back-end server and client
front-end tools. To store and manage warehouse data, ROLAP uses relational
or extended-relational DBMS.
Page 6 of 8
Multidimensional OLAP
MOLAP uses array-based multidimensional storage engines (sparse matrix
techniques) for multidimensional views of data. With multidimensional data
stores, the storage utilization may be low if the data set is sparse. Therefore,
many MOLAP server use two levels of data storage representation to handle
dense and sparse data sets.
Hybrid OLAP
Hybrid OLAP is a combination of both ROLAP and MOLAP. It offers higher
scalability of ROLAP and faster computation of MOLAP. HOLAP servers allows
to store the large data volumes of detailed information. The aggregations are
stored separately in MOLAP store.
OLTP
(Online‐Transaction Processing)
Page 7 of 8
OLTP vs OLAP
Operational Database (OLTP) Data Warehouse (OLAP)
OLTP systems are used by clerks, DBAs, OLAP systems are used by knowledge
or database professionals. workers such as executives, managers and
analysts.
Provides primitive and highly detailed Provides summarized and consolidated data.
data.
Provides detailed and flat relational view Provides summarized and multidimensional
of data. view of data.
DIFFERENCE BETWEEN OLTP & OLAP
Page 8 of 8