Denormalization
One of the very typical use cases for a database is to work as a storage component of a reporting solution. Such databases are often called data warehouses. Chapter 8, OLAP and Data Warehousing, was dedicated to that topic and explains the major concepts of these solutions and how to implement them using PostgreSQL.
In Chapter 8, OLAP and Data Warehousing, we briefly discussed ideas of denormalization, which is the opposite process of normalization. It is common for OLAP solutions to optimize the database structure for the sake of performance. Normalized data structures usually have a lot of relations and a lot of relationships defined between them. In data warehouses, it's quite typical that the data is loaded once and then ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access