📊 Data Mining & Warehousing Unit 2

OLAP Systems, OLAP Queries, OLAP Servers, Operations, Security, Backup and Recovery

🎯 Unit 2 Overview

Unit 2 focuses on OLAP (Online Analytical Processing) Systems. OLAP is used for multidimensional analysis of data stored in Data Warehouses. This unit also covers OLAP operations, OLAP server types, security, backup and recovery.

Exam Tip: OLAP Operations, MOLAP, ROLAP, HOLAP and Data Warehouse Security are frequently asked in RGPV examinations.

📘 Introduction to OLAP

OLAP stands for Online Analytical Processing. It is a technology used for fast analysis of multidimensional data stored in a Data Warehouse.

Objectives of OLAP

⭐ Features of OLAP

🧊 OLAP Cube

An OLAP Cube is a multidimensional structure used for storing and analyzing data.

Example Dimensions

Example Measure

Data Cube = Dimensions + Measures

🔍 OLAP Queries

OLAP queries are used to analyze data from different perspectives.

Examples

🏢 Types of OLAP Servers

Type Description
MOLAP Multidimensional OLAP stores data in multidimensional cubes.
ROLAP Relational OLAP stores data in relational databases.
HOLAP Hybrid OLAP combines MOLAP and ROLAP features.

📊 MOLAP (Multidimensional OLAP)

MOLAP stores data in multidimensional cube structures.

Advantages

Disadvantages

🗄️ ROLAP (Relational OLAP)

ROLAP stores data in relational database tables.

Advantages

Disadvantages

⚡ HOLAP (Hybrid OLAP)

HOLAP combines MOLAP and ROLAP features.

Advantages

🔄 OLAP Operations

OLAP operations help users analyze data from different perspectives.

1. Roll-Up

Aggregates data from lower level to higher level.

Example: City → State → Country

2. Drill-Down

Moves from summary level to detailed level.

Example: Country → State → City

3. Slice

Selects a single dimension value.

Example: Sales data only for 2025.

4. Dice

Selects multiple dimension values.

Example: Sales data for Delhi and Mumbai during 2024–2025.

5. Pivot (Rotate)

Changes the orientation of data for better analysis.

📈 OLAP vs OLTP

OLAP OLTP
Analytical Processing Transaction Processing
Historical Data Current Data
Complex Queries Simple Queries
Decision Support Daily Operations
Read Intensive Write Intensive

🖥️ Data Warehouse Hardware Design

Hardware design determines performance and reliability of the Data Warehouse.

Components

🔒 Data Warehouse Security

Security ensures that warehouse data remains protected from unauthorized access.

Security Measures

💾 Backup and Recovery

Backup and Recovery ensure that data can be restored after hardware failure, software failure or cyber attacks.

Backup Types

Recovery Benefits

⚖️ MOLAP vs ROLAP vs HOLAP

MOLAP ROLAP HOLAP
Cube Storage Relational Tables Combination of Both
Fast Performance Scalable Balanced
More Storage Less Storage Moderate Storage
Small/Medium Data Large Data Mixed Workloads

⭐ Important Questions

  1. Define OLAP and explain its features.
  2. Explain OLAP Cube with example.
  3. Explain different types of OLAP servers.
  4. Differentiate between MOLAP, ROLAP and HOLAP.
  5. Explain OLAP operations with examples.
  6. Differentiate between OLAP and OLTP.
  7. Explain Data Warehouse Security.
  8. Explain Backup and Recovery.
  9. Write short note on OLAP Queries.
  10. Explain Hardware Design of Data Warehouse.

🔥 Last Minute Revision