Glossary
Data

OLAP

Also: Online Analytical Processing, OLAP cube, Analytical processing

OLAP (Online Analytical Processing) is a technology for fast, multidimensional analysis of large data sets, letting users slice, dice, and aggregate metrics across business dimensions.

What it is

OLAP stands for Online Analytical Processing. It is a category of technology designed to answer analytical questions quickly by organizing data into multidimensional structures, often called cubes. Instead of storing data as flat rows optimized for individual transactions, OLAP models data around measures (the numbers you analyze, such as revenue or units sold) and dimensions (the business context, such as time, product, region, or customer segment).

OLAP is usually contrasted with OLTP (Online Transaction Processing). OLTP systems handle high volumes of small operations (placing an order, updating a record), while OLAP systems are built to scan and summarize millions of records to support decision making.

Why it matters

Business questions are rarely about a single row. Leaders ask things like "How did margin trend by region and product category over the last four quarters?" OLAP makes these questions fast and intuitive because aggregations are pre-modeled (and often pre-computed). This matters for:

  • Speed: sub-second responses on large data through indexing and pre-aggregation.
  • Self-service: analysts explore data without writing complex SQL.
  • Consistency: shared definitions of metrics across teams.

Common operations

  • Slice: fix one dimension to a single value (for example, only 2024).
  • Dice: select a subcube across several dimension values.
  • Drill down / roll up: move between levels of detail (year to quarter to month).
  • Pivot: rotate dimensions to view the data from another angle.

Types of OLAP

  • MOLAP: data stored in a dedicated multidimensional cube. Very fast, less flexible.
  • ROLAP: queries run directly against a relational warehouse. Flexible, scales to large data.
  • HOLAP: a hybrid combining cube speed with relational scale.

How it is used in practice

OLAP underpins dashboards, financial reporting, and ad hoc analysis. Tools like pivot tables, BI platforms, and modern columnar warehouses all rely on OLAP concepts.

Concrete example

A retail finance team builds a cube with the measure Net Sales and dimensions Time, Store, and Product Category. An analyst starts at the company total, drills down to the Northeast region, dices to electronics in Q4, and pivots to compare stores. Each step returns instantly, turning a vague concern into a specific, actionable finding.

OLAP Cube: Measures across DimensionsProductTimeRegionMeasure:Net SalesSlice / DiceDrill / Roll up
An OLAP cube stores a measure (Net Sales) across dimensions (Time, Product, Region) for fast slicing and drilling.