Star schemas and dimensional modelling
Facts, dimensions and why analysts stop fighting SQL when the warehouse is modelled for questions rather than for the app.
Apps are modelled for writes. Warehouses are modelled for questions.
A star schema puts a fact table (measurable events: orders, page views) in the middle, with dimensions (date, customer, product) around it. Analysts filter dimensions and sum facts. That is the point of OLAP.
Pick a grain
“One row per order” and “one row per order line” answer different questions. Write the grain on the table comment. Changing grain later is a rewrite.
Do not copy the app blindly
Third normal form is correct for OLTP. In a warehouse, some denormalisation is the product. Keep data quality checks on the keys you join.
Related
Last verified: August 2026. Technology and pricing change — always confirm current details with the vendor.