Modern Modeling Approaches

Know the alternatives to classic Kimball: Data Vault, one big table, wide denormalized marts, activity schema and the layered staging to marts approach used with dbt.

Advanced · about 4 hours · difficulty 3/5

Learn first: Slowly Changing Dimensions

Kimball is not the only option, and modern warehouses have changed some trade-offs. You should recognise the main approaches and pick pragmatically.

Layered modeling (the dbt way)

Most teams today organise transformations in layers:

  • Staging: one model per source table, light cleaning and renaming, same grain as source.
  • Intermediate: reusable joins and business logic.
  • Marts: facts, dimensions and wide tables shaped for consumers (finance, growth, ops).

This maps neatly onto bronze, silver and gold.

One Big Table (OBT)

A single very wide, denormalized table per use case (every order with all customer and restaurant attributes). Columnar storage makes wide tables cheap to query. Great for BI tools; risky if it becomes the only model and logic gets duplicated.

Data Vault

Hubs (business keys), links (relationships) and satellites (attributes with history). Built for auditability and integrating many changing sources, common in banks and large enterprises. More tables and more complexity; usually a layer beneath dimensional marts.

Other ideas worth knowing

  • Inmon approach: a normalized enterprise warehouse feeding departmental marts.
  • Activity schema: one narrow table of customer activities.
  • Semantic layers (dbt Semantic Layer, LookML) that define metrics once.

Pitfalls

  • Picking Data Vault for a small startup because it sounds enterprise-grade.
  • Copying metric logic into dozens of OBTs until no two dashboards agree.

You are ready to move on when you can explain to a hiring manager which modeling approach you would choose for a 20-person startup versus a large bank, and why.

Key concepts

  • Staging, intermediate, marts
  • One Big Table
  • Data Vault hubs, links, satellites
  • Inmon vs Kimball
  • Semantic layers and metrics
  • Activity schema

Mini project

Take your star schema and build an OBT on top of it for a 'daily orders dashboard'. Write a short README comparing query simplicity, storage and risk of logic duplication between the two.

Check yourself

What problem is Data Vault designed to solve, and why is it usually not what analysts query directly?

Free resources