This document discusses data warehousing and OLAP. It introduces star schemas and dimension tables used to organize data warehouses. It describes how to build aggregation views like cubes by grouping and aggregating data. It discusses techniques for efficiently computing aggregation queries like bitmap join indexes, automatic summary tables, and materializing views. It also introduces the CUBE and ROLLUP SQL extensions and compares ROLAP and MOLAP algorithms.