offdataai
KimballDimensional ModelingData WarehouseStar Schema

The Kimball Methodology: Star Schemas, Warehouse Layers and the Four-Step Process

How the Kimball methodology works, from the four-step dimensional design process and star schemas to conformed dimensions, warehouse layers and Kimball on Snowflake or Databricks today.

ooffdataai6 min read

The Kimball methodology is a way of building a data warehouse one business process at a time, using dimensional models: star schemas made of fact tables (the measurements) surrounded by dimension tables (the context). It was set out by Ralph Kimball and his colleagues in The Data Warehouse Toolkit, first published in 1996, and it is still the most widely used approach for analytics models, including on cloud warehouses such as Snowflake, BigQuery and Databricks.

This guide covers the parts of the method you actually use: the four-step design process, the Kimball star schema, conformed dimensions and the bus architecture, the warehouse layers, and how the method compares with Inmon and Data Vault.

The core idea

Kimball starts from how people ask questions. A business user says "sales by product by month by region". The nouns after "by" are dimensions. The thing being counted or summed is a fact. A dimensional model stores data in exactly that shape, so the questions are easy to write and fast to run.

Two principles follow:

  • Build around business processes, not departments or source systems. Order taking, shipping, invoicing and returns are processes; each gets its own fact table.
  • Share dimensions across processes. Customer, product and date are defined once and reused by every fact table, so results from different processes line up. These are conformed dimensions.

The four-step dimensional design process

Every Kimball fact table is designed with the same four decisions, in this order:

  1. Select the business process. For example, retail sales at the till.
  2. Declare the grain. State exactly what one row represents: "one row per product scanned on a sales receipt". This is the most important step; see what is grain in data modeling.
  3. Identify the dimensions. Everything that is single-valued at that grain: date, store, product, cashier, promotion, and the receipt number as a degenerate dimension.
  4. Identify the facts. The numeric measurements true at that grain: quantity, gross amount, discount, net amount.

If you change the order, the model usually goes wrong. Picking facts before the grain is how teams end up with tables that mix order-level and line-level amounts.

The Kimball star schema

The result of the four steps is a star schema: one fact table in the middle, joined to its dimensions by surrogate keys.

sql
CREATE TABLE fct_sales (  date_key        INT     NOT NULL REFERENCES dim_date (date_key),  store_key       INT     NOT NULL REFERENCES dim_store (store_key),  product_key     INT     NOT NULL REFERENCES dim_product (product_key),  promotion_key   INT     NOT NULL REFERENCES dim_promotion (promotion_key),  receipt_number  VARCHAR NOT NULL,          -- degenerate dimension  quantity        INT     NOT NULL,  gross_amount    NUMERIC(18,2) NOT NULL,  discount_amount NUMERIC(18,2) NOT NULL,  net_amount      NUMERIC(18,2) NOT NULL);

Kimball star schemas have a few recognisable traits:

  • Denormalised dimensions. dim_product holds the brand, category and department on one row rather than in separate tables. This is deliberate: it makes filtering and grouping simple.
  • Surrogate keys on dimensions, so history can be kept and source keys can change. See surrogate keys vs natural keys.
  • Slowly changing dimensions to record how attributes change over time, most often Type 2. See slowly changing dimensions explained.
  • A date dimension on every fact. See the date dimension guide.

For the difference between the two kinds of tables, read fact vs dimension tables.

Kimball and the snowflake schema

"Kimball snowflake" can mean two different things:

  • Snowflaking a dimension: splitting dim_product into product, category and department tables. Kimball generally advises against it, because it adds joins without adding meaning. The trade-offs are covered in star schema vs snowflake schema.
  • Kimball on Snowflake, the warehouse. This works very well. Snowflake does not enforce foreign keys, so declare them for documentation and tools, and test them in dbt. Cluster large fact tables on the date key.

Conformed dimensions and the bus architecture

A single star answers questions about one process. The Kimball bus architecture is how many stars become one warehouse: every fact table plugs into the same conformed dimensions, like devices on a shared bus.

The planning tool is the enterprise bus matrix: business processes as rows, dimensions as columns, and a tick where a process uses a dimension. It shows the build order and which dimensions must be agreed first. The full method, with an example, is in conformed dimensions and the bus matrix, and you can download a bus matrix template.

Kimball data warehouse layers

Kimball's original architecture has a back room (source extraction and the ETL system) and a front room (the presentation area of dimensional models and the BI applications on top). In a modern ELT stack the same idea is usually built as three layers:

LayerWhat it holdsTypical names
StagingSource tables loaded as-is, lightly cleaned and renamedraw, stg_
Integration (optional)Business keys matched across sources, conformed dimensions built onceint_
PresentationThe star schemas people and tools querymarts, dim_, fct_

Kimball's rule for the presentation layer is that it holds atomic, detailed data, not just summaries, so any question can be answered without going back to staging. Aggregate tables are added on top for speed, never instead.

A semantic layer often sits above the presentation layer today, so metrics such as net revenue are defined once for every BI tool and AI agent. See what is a semantic layer.

Kimball vs Inmon vs Data Vault

KimballInmonData Vault 2.0
Central modelDimensional (star schemas)Normalised (3NF) enterprise warehouseHubs, links and satellites
Build orderOne business process at a timeEnterprise model first, then data martsSource by source, integrated by business keys
StrengthFast to deliver, easy to querySingle integrated model of the enterpriseAuditable, handles change and many sources
WeaknessNeeds discipline to keep dimensions conformedSlow to first valueNot query-friendly; needs a presentation layer

Many teams combine them: a Data Vault or normalised integration layer for history and audit, with Kimball star schemas on top for consumption. See Data Vault vs Kimball for when to choose which.

Common Kimball mistakes

  • Mixed grain in one fact table, such as order totals on line-level rows. Sums double count.
  • Centipede facts: a fact table with dozens of dimension keys, many of which belong in one dimension.
  • Unconformed copies of customer or product built separately by two teams.
  • Summaries only, so the first unexpected question needs a new pipeline.
  • Ignoring history: overwriting a customer's region (Type 1) when reports need the region at the time of the sale (Type 2).

Frequently asked questions

What is the Kimball methodology in simple terms?

It is a way to build a data warehouse around business processes, storing each process as a star schema of facts and dimensions, and sharing the dimensions across processes so the whole warehouse answers questions consistently.

What are the four steps of Kimball dimensional modeling?

Select the business process, declare the grain, identify the dimensions, and identify the facts. Always in that order.

Is the Kimball approach still relevant on cloud warehouses?

Yes. Cloud warehouses changed the cost of storage and compute, not how people ask questions. Star schemas remain the easiest shape for BI tools, semantic layers and AI agents to query correctly, and wide denormalised dimensions suit columnar engines well.

What is a Kimball star schema?

A fact table at a declared grain, joined by surrogate keys to denormalised dimension tables. It is the output of the four-step process.

Should I use a star schema or One Big Table?

A wide, pre-joined table is fine as a convenience view on top of a star schema. As the stored model it loses history handling, makes dimension changes expensive and invites mixed grain.

Build a Kimball model in offdataai

offdataai designs Kimball models for you: describe the business process in plain English and the AI interview asks the questions a data architect would, starting with the grain, then generates the star schema, the DDL for your warehouse and a complete dbt project. You can also start from one of 174 templates, most of them dimensional, or learn the method hands-on in the Dimensional Modeling (Kimball) course. See the dimensional modeling tool for an overview.

Try offdataai

Ship a warehouse from a single conversation.

Describe your domain. Get ERDs, DDL, dbt projects, and seed data for every major cloud warehouse.

Start building

Keep reading

All posts →