How to choose the right OLAP engine for data warehousing

Make an informed decision and choose the most suitable OLAP engine based on your needs

May 9, 2023

A couple of decades ago, introducing Online Analytical Processing (OLAP) was groundbreaking for the Business Intelligence industry. At that time, computation power was limited and business scaling was difficult without hardware replacements. With OLAP, users could perform multidimensional analysis on large volumes of data.

Before integrating OLAP, it was challenging to run queries on a data warehouse. Drawing data from multiple tables was tedious. Despite the usage of various joins to aggregate and group large volumes of data, it was still a bottleneck. The execution of these queries took long to complete and often affected the overall system performance.

Introduction of OLAP resolved these problems by pulling data out of the data warehouse. All aggregate measures were pre-computed at every level for every dimension to build the multidimensional cubes.

This helped to quicken report running and enabled business users to run ad hoc queries, slice and dice data, drill down and mine data for uncovering patterns, and better analyse the data sets.

There are three types of OLAP engines: Relational OLAP (ROLAP), Multi-dimensional OLAP (MOLAP), and Hybrid OLAP (HOLAP).

Relational Online Analytical Processing (ROLAP)

ROLAP allows for relational database data storage in the form of rows and columns. It then dynamically presents the data to the end user in multidimensional cubes.

Data can be accessed by submitting queries to the ROLAP database.

ROLAP, MOLAP, HOLAP

Large volumes of data can be processed but the performance of the query is largely dependent on the size of the data retrieved. With an increase in data, query performance falls.

Multi-dimensional Online Analytical Processing (MOLAP)

MOLAP retrieves its data from a Centralised Data Store (Data Warehouse/Data Mart) and other designated sources. It pre-computes all aggregate measures at every dimensional level to build the multidimensional cubes. After processing, the data is stored in MOLAP's database.

ROLAP, MOLAP, HOLAP

Business users can also access the multidimensional data for further analysis and reporting. Queries on MOLAP's database generally run faster due to batches of pre-computation processes applied.

Hybrid Online Analytical Processing (HOLAP)

HOLAP combines the capabilities of MOLAP and ROLAP to support its use cases.

HOLAP has a combination of pre-computed multidimensional cubes in MOLAP's database and relational data in ROLAP's database to support the various use cases of end users.

ROLAP, MOLAP, HOLAP

HOLAP stores data (multidimensional data and relational data) required by business users in its system.

Decisions have to be made to configure access for each OLAP system. All OLAP use cases have a predefined configuration for access and the ability to run queries.

Conclusion

Based on the current needs of your end users, data architects and designers can make the informed decision on choosing the best OLAP system that suits your needs.

About the author: Sudarsan is a customer solution architect at ByteDance; and, he is a CDMP (DAMA) certified data architect with prior experiences with National University of Singapore, Development Bank of Singapore, Standard Chartered Bank and BNP Paribas.

ROLAP
HOLAP
MOLAP
choosing an OLAP
Related articles

How is data warehousing adapting to accommodate the needs of Web3

10 use cases of a data lakehouse for modern businesses

How to Unravel the Intertwined Relationship between Big Data and IoT