Key Concepts & Terminology
Online Analytical Processing
What is OLAP? Online Analytical Processing (OLAP) systems are specialized databases designed for analyzing large volumes of data quickly and efficiently. Unlike OLTP (Online Transaction Processing) systems that handle day-to-day transactions like order processing or inventory updates, OLAP systems focus exclusively on reading and analyzing data. This read-only approach, combined with pre-aggregated data and multidimensional structures, allows OLAP to provide consistently fast query performance for business intelligence and decision-making.

Multi-dimensional
Business users naturally think and communicate using business terms like "sales by region," "quarterly costs," and "customer segments." They don't think in terms of database tables, foreign keys, or SQL joins. Traditional relational databases force users to understand complex table relationships and translate their business questions into technical queries, creating a significant barrier to data access.
OLAP removes this friction by aligning data structures with business language. Users can simply select "Products" and "Revenue," filter by "Region = Northeast" and "Time = Q3 2024," and get instant answers. The underlying complexity is completely hidden. This means business users can explore data independently without waiting days for IT to write SQL queries.
The traditional approach creates bottlenecks: a sales director asks a simple question, submits a request to IT, waits 2-3 days for a response, receives a static report, realizes they need additional information, and must start the process over. By the time they get answers, business opportunities have passed. OLAP transforms this into a self-service process.

x
Data Pipeline
The data pipeline begins with ETL processes that extract operational data from source systems, transform it into dimensional structures, and load it into the data warehouse. Tools like Pentaho Data Integration orchestrate this flow by connecting to disparate sources (ERP, CRM, transactional databases), applying business rules and data quality transformations, managing slowly changing dimensions, and conforming dimension attributes across sources to ensure consistency.
ETL typically employs staging areas as intermediate storage zones where raw extracted data lands before transformation, enabling delta load processing that identifies only changed records since the last load rather than full reloads. This staging approach is critical for scalability—incremental loads compare staging data against existing data mart records using timestamps, change data capture, or hash comparisons to determine inserts, updates, and deletes, then apply only these deltas to the dimensional model, minimizing processing time and database load.
Data marts serve as the foundational physical layer in ROLAP architecture, representing subject-specific dimensional models (star or snowflake schemas) optimized for particular business domains like Sales, Finance, or Inventory. Each data mart contains fact tables with measures and foreign keys, surrounded by denormalized dimension tables that support efficient querying.
The architecture is designed around data marts because they provide focused analytical contexts with manageable complexity, enable parallel development where different teams can build domain-specific marts independently, support incremental deployment rather than requiring a complete enterprise warehouse upfront, and allow performance optimization tailored to specific query patterns. Conformed dimensions (like Time, Geography, Customer) shared across multiple marts enable cross-functional analysis while maintaining independent mart structures.

Normalized v Star Schemas
In normalized databases designed for OLTP, a simple question like "What were total sales by product category and region last quarter?" requires joining 10+ tables. You'd need to connect Products, Subcategories, Categories, LineItems, Orders, Customers, Addresses, Cities, States, Countries, and Regions tables. The resulting SQL query becomes complex and difficult to write, understand, and maintain.


ROLAP Mondrian
Mondrian is an open source ROLAP (Relational Online Analytical Processing) engine that provides access to data in a way that’s intuitive to users. As an engine, Mondrian can be run in a web container, such as Tomcat or JBoss (WildFly), or be embedded as part of an application.
Mondrian only requires an optional configuration, a schema defining the logical structure of the data, and a database populated with data. Mondrian works with most databases that support Java database connections.

Last updated
Was this helpful?
