0% found this document useful (0 votes)
11 views8 pages

Data Warehousing - OLAP

The document provides an overview of Online Analytical Processing (OLAP) servers, detailing their types including ROLAP, MOLAP, HOLAP, and Specialized SQL Servers. It also explains various OLAP operations such as roll-up, drill-down, slice, dice, and pivot, which facilitate data analysis. Additionally, it compares OLAP with Online Transaction Processing (OLTP) systems, highlighting their differences in data handling and usage.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views8 pages

Data Warehousing - OLAP

The document provides an overview of Online Analytical Processing (OLAP) servers, detailing their types including ROLAP, MOLAP, HOLAP, and Specialized SQL Servers. It also explains various OLAP operations such as roll-up, drill-down, slice, dice, and pivot, which facilitate data analysis. Additionally, it compares OLAP with Online Transaction Processing (OLTP) systems, highlighting their differences in data handling and usage.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Page 1 of 10

Home Whiteboard Online Compilers Practice Articles Jobs Tools

SQL HTML CSS Javascript Python Java C C++ PHP Scala C#

Data Warehousing - OLAP

Online Analytical Processing Server (OLAP) is based on the multidimensional data model.
It allows managers, and analysts to get an insight of the information through fast,
consistent, and interactive access to information. This chapter cover the types of OLAP,
operations on OLAP, difference between OLAP, and statistical databases and OLTP.

Types of OLAP Servers


We have four types of OLAP servers −

Relational OLAP (ROLAP)

Multidimensional OLAP (MOLAP)

Hybrid OLAP (HOLAP)

Specialized SQL 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.

ROLAP includes the following −

Implementation of aggregation navigation logic.

Optimization for each DBMS back end.

Additional tools and services.

Multidimensional OLAP

https://www.tutorialspoint.com/dwh/dwh_olap.htm 1/10
Page 2 of 10

MOLAP uses array-based multidimensional storage engines 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.

Specialized SQL Servers


Specialized SQL servers provide advanced query language and query processing support
for SQL queries over star and snowflake schemas in a read-only environment.

OLAP Operations
Since OLAP servers are based on multidimensional view of data, we will discuss OLAP
operations in multidimensional data.

Here is the list of OLAP operations −

Roll-up

Drill-down
Slice and dice

Pivot (rotate)

Roll-up

Roll-up performs aggregation on a data cube in any of the following ways −

By climbing up a concept hierarchy for a dimension


By dimension reduction

The following diagram illustrates how roll-up works.

https://www.tutorialspoint.com/dwh/dwh_olap.htm 2/10
Page 3 of 10

Roll-up is performed by climbing up a concept hierarchy for the dimension


location.

Initially the concept hierarchy was "street < city < province < country".

On rolling up, the data is aggregated by ascending the location hierarchy from
the level of city to the level of country.

The data is grouped into cities rather than countries.

When roll-up is performed, one or more dimensions from the data cube are
removed.

Drill-down

Drill-down is the reverse operation of roll-up. It is performed by either of the following


ways −

By stepping down a concept hierarchy for a dimension

By introducing a new dimension.

https://www.tutorialspoint.com/dwh/dwh_olap.htm 3/10
Page 4 of 10

The following diagram illustrates how drill-down works −

Drill-down is performed by stepping down a concept hierarchy for the dimension


time.

Initially the concept hierarchy was "day < month < quarter &lt year."

On drilling down, the time dimension is descended from the level of quarter to
the level of month.
When drill-down is performed, one or more dimensions from the data cube are
added.

It navigates the data from less detailed data to highly detailed data.

Slice

The slice operation selects one particular dimension from a given cube and provides a
new sub-cube. Consider the following diagram that shows how slice works.

https://www.tutorialspoint.com/dwh/dwh_olap.htm 4/10
Page 5 of 10

Here Slice is performed for the dimension "time" using the criterion time = "Q1".

It will form a new sub-cube by selecting one or more dimensions.

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.

https://www.tutorialspoint.com/dwh/dwh_olap.htm 5/10
Page 6 of 10

The dice operation on the cube based on the following selection criteria involves three
dimensions.

(location = "Toronto" or "Vancouver")

(time = "Q1" or "Q2")

(item =" Mobile" or "Modem")

Pivot

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.

https://www.tutorialspoint.com/dwh/dwh_olap.htm 6/10
Page 7 of 10

Chapters Categories
OLAP vs OLTP

Sr.No. Data Warehouse (OLAP) Operational Database (OLTP)

Involves historical processing of


1 Involves day-to-day processing.
information.

OLAP systems are used by knowledge


OLTP systems are used by clerks,
2 workers such as executives,
DBAs, or database professionals.
managers and analysts.

3 Useful in analyzing the business. Useful in running the business.

4 It focuses on Information out. It focuses on Data in.

Based on Star Schema, Snowflake,


5 Schema and Fact Constellation Based on Entity Relationship Model.
Schema.

https://www.tutorialspoint.com/dwh/dwh_olap.htm 7/10
Page 8 of 10

6 Contains historical data. Contains current data.

Provides summarized and Provides primitive and highly detailed


7
consolidated data. data.

Provides summarized and Provides detailed and flat relational


8
multidimensional view of data. view of data.

9 Number or users is in hundreds. Number of users is in thousands.

Number of records accessed is in Number of records accessed is in


10
millions. tens.

Database size is from 100 MB to 1


11 Database size is from 100 GB to 1 TB
GB.

12 Highly flexible. Provides high performance.

TOP TUTORIALS

Python Tutorial
Java Tutorial
C++ Tutorial

C Programming Tutorial
C# Tutorial
PHP Tutorial

R Tutorial
HTML Tutorial
CSS Tutorial

JavaScript Tutorial
SQL Tutorial

TRENDING TECHNOLOGIES

Cloud Computing Tutorial


Amazon Web Services Tutorial

Microsoft Azure Tutorial


Git Tutorial
Ethical Hacking Tutorial

Docker Tutorial

https://www.tutorialspoint.com/dwh/dwh_olap.htm 8/10

You might also like