← Advanced DBMS learning path
Advanced DBMS · Module 9 of 10

Data warehousing and OLAP

Analyse large historical data.

📖 Key ideas

  1. OLTP handles daily transactions; OLAP handles analysis.
  2. Data warehouses integrate data from many sources via ETL.
  3. Star and snowflake schemas organise facts and dimensions.
  4. OLAP operations: roll-up, drill-down, slice, dice, pivot.
  5. Columnar storage speeds analytics.
💡 Real-life example: OLTP is the shop billing counter; OLAP is the owner's monthly sales analysis.
OLTPOnline Transaction Processing
OLAPOnline Analytical Processing
Star schemaFact table with dimension tables
Drill-downMoving to more detailed data