-
Book Overview & Buying
-
Table Of Contents
AI-Ready PostgreSQL 18
By :
Star schemas and data vaults are sometimes referred to as multi-dimensional online analytical processing (MOLAP) to distinguish the process of creating an analytics-optimized data model first, before using cubes, groups, rollups, aggregates, and so on, from an approach in which analytics queries are run directly on the normalized data model. That latter approach is often called relational online analytics processing (ROLAP). While the ROLAP approach avoids data copying, it tends to perform more slowly because it does not leverage an analytics-optimized data model, and the database parameters (work_mem, jit, max_connections) cannot be optimized for analytics. The ROLAP approach, which avoids creating a star schema first, is sometimes chosen for its technical simplicity, since developers historically had to use third-party tools to build analytics-focused schemas. As we will see, today, PostgreSQL logical replication makes it very easy...