Özer Cem KELAHMETKELAHMET
Articles · Data modeling

Star schema, one big table or Data Vault? A measured guide to choosing a data model

Every warehouse needs a modelling style, and the arguments get loud. We built the same 3-million-row sales data as a star schema and as one big table, measured size, speed and the cost of one customer changing segment, then placed Data Vault and Inmon next to them.

Download Markdown
At a glance
Reading time
13 min
Sections
9
Code examples
4
Tables
3
Sources
6
Published
23 Nov 2026
In 30 seconds
What changed
dbt v2.0 ships with native metric view materializations
Why it matters
Columnar engines changed the economics but not the logic.
What to do
Write down your grain and your change rates

A data model decides how easy it is to answer questions, how expensive it is to change history, and how much the warehouse has to scan. Teams argue about it constantly. Kimball star schemas are the classic choice for analytics. One big table (OBT), a single wide denormalised table, became popular with cheap columnar storage. Data Vault promises auditability and easy integration of many sources. Inmon's normalised enterprise warehouse still underpins many large organisations.

This guide compares them with evidence instead of slogans. We generated the same sales data, three million order lines with customers, products and dates, as a star schema and as one big table in DuckDB 2.0.1, wrote both to Parquet, and measured storage, query time and the cost of a single attribute change. Then we place Data Vault and Inmon on the same map and give a decision table.

What happened

dbt v2.0 ships with native metric view materializations (14 September 2026)

dbt Labs released dbt v2.0 on 14 September 2026. The repository describes it as a ground-up rewrite of dbt in Rust, published under the Apache 2.0 licence, distributed as a single binary, stricter at parse time and producing Parquet artifacts. Its changelog for 2.0.0 lists support for native Databricks metric view materializations. For modellers this matters because the semantic definitions that sit on top of a star schema, such as measures and dimensions, can now be managed in the same project as the tables beneath them.

Snowpark adds semantic view queries (12 November 2026)

Snowflake's Snowpark Python 1.57.0 added Session.semantic_view(), in public preview, to query a semantic view by naming its dimensions, metrics, facts and filter. Both releases point in the same direction: physical models (star, OBT, vault) are increasingly paired with a declared semantic layer, and the physical model must make that layer easy to define.

The four styles in one paragraph each

Kimball star schema. Facts (measurable events such as order lines) sit in a central table with foreign keys to dimensions (who, what, when, where). Dimensions are wide and denormalised. Designed for analysis and for business users to understand.

One big table. The fact table is pre-joined with all the dimension attributes that consumers need, producing one wide table. No joins at query time.

Data Vault. Data is split into hubs (business keys), links (relationships between keys) and satellites (descriptive attributes with load timestamps and source). Designed for integrating many sources and keeping full history, not for direct querying.

Inmon enterprise warehouse. A normalised, subject-oriented integration layer (often near third normal form), from which departmental data marts, frequently star schemas, are built.

Think of a city. The star schema is a well-signposted town centre with a main square and streets leading out. One big table is a single giant shopping mall: everything under one roof, but rebuilding a shop means renovating the mall. Data Vault is the land registry: perfect records of who owned what and when, but nobody shops there directly.

Grain: the decision before the style

Whatever style you choose, the first modelling decision is the grain: what one row of a fact table represents. "One row per order line" and "one row per order" look similar but answer different questions. Order-line grain can report revenue by product; order grain cannot, because an order holds many products. Coarser grains are smaller and faster but throw information away for good.

Kimball's advice is to model facts at the lowest grain the source provides and aggregate upwards, because you can always sum detail but never split a total. In our test the fact table is at order-line grain: sales_line_id identifies one product on one order, and every measure (quantity, unit_price) is true for exactly that line. Mixing grains in one table, such as storing order-level shipping fees on every line, is the most common cause of double counting, whatever the modelling style. If a measure belongs to a different grain, it belongs in a different fact table.

The experiment: star schema versus one big table

We generated a sales star schema:

Table 1. The experiment: star schema versus one big table
Table Rows Key columns
fact_sales 3,000,000 sales_line_id, date_key, customer_key, product_key, quantity, unit_price
dim_customer 50,000 customer_key, customer_id, segment, country, customer_name
dim_product 1,000 product_key, sku, category, brand, product_name
dim_date 730 date_key, full_date, year, month, month_name, iso_dow

The one big table is the fact joined to all three dimensions:

CREATE TABLE obt_sales AS
SELECT f.*, d.full_date, d.year, d.month, d.month_name,
       c.customer_id, c.segment, c.country, c.customer_name,
       p.sku, p.category, p.brand, p.product_name
FROM fact_sales f
JOIN dim_date d     USING (date_key)
JOIN dim_customer c USING (customer_key)
JOIN dim_product p  USING (product_key);

Every table was written to Parquet with zstd compression.

Storage

Table 2. Storage
Model Files Total size
Star schema fact 7,551,396 bytes, customer 124,128, product 4,141, date 4,797 about 7.68 MB
One big table one file about 11.70 MB

The OBT was about 52 percent larger even though columnar compression and dictionary encoding absorb much of the repetition. With longer text attributes, more dimensions or less repetitive real data, the gap usually grows.

Query speed

The query: revenue by year, customer segment and product category.

-- star schema
SELECT d.year, c.segment, p.category, sum(f.quantity * f.unit_price) AS revenue
FROM 'fact_sales.parquet' f
JOIN 'dim_date.parquet' d     USING (date_key)
JOIN 'dim_customer.parquet' c USING (customer_key)
JOIN 'dim_product.parquet' p  USING (product_key)
GROUP BY ALL ORDER BY ALL;

-- one big table
SELECT year, segment, category, sum(quantity * unit_price) AS revenue
FROM 'obt_sales.parquet'
GROUP BY ALL ORDER BY ALL;

Both returned the same 30 rows (2 years, 3 segments, 5 categories), and the results were identical. Median of five warm runs on four threads: about 0.065 seconds for the star schema and about 0.028 seconds for the OBT. The OBT was roughly twice as fast because it skips three hash joins. Both are fast in absolute terms; the joins to small dimensions cost tens of milliseconds, not minutes.

The cost of change

Now customer 4242 moves from the SMB segment to Enterprise.

  • Star schema: update one row in dim_customer. If you keep history (a Type 2 dimension), insert one new row and close the old one.
  • One big table: update every order line for that customer. In our data that is 60 rows, spread across the table. On immutable Parquet-based tables, every file containing one of those rows must be rewritten or marked with deletion vectors.

A one-row change becoming a 60-row change is mild here. For a large customer with millions of lines, or for a product category rename that touches a third of the table, the OBT turns a metadata-sized change into a large rewrite. And if the OBT is rebuilt nightly from scratch, the change is cheap but the whole table is rewritten every day.

History is the deeper issue. In a star schema with a Type 2 customer dimension, each fact points at the version of the customer that was true when the sale happened, so "revenue by segment at the time of sale" and "revenue by current segment" are both one join away. In an OBT you must decide which version to bake in, and the other question needs a rebuild.

Data Vault and Inmon on the same map

Data Vault splits the customer into three kinds of tables:

CREATE TABLE hub_customer (
  customer_hk   VARCHAR PRIMARY KEY,   -- hash of the business key
  customer_id   VARCHAR,               -- business key
  load_ts       TIMESTAMP,
  record_source VARCHAR);

CREATE TABLE sat_customer_profile (
  customer_hk   VARCHAR,
  load_ts       TIMESTAMP,
  hash_diff     VARCHAR,               -- hash of the attributes, to detect change
  segment       VARCHAR,
  country       VARCHAR,
  record_source VARCHAR,
  PRIMARY KEY (customer_hk, load_ts));

CREATE TABLE link_customer_order (
  link_hk       VARCHAR PRIMARY KEY,
  customer_hk   VARCHAR,
  order_hk      VARCHAR,
  load_ts       TIMESTAMP,
  record_source VARCHAR);

The segment change from our example becomes one new satellite row, inserted, never updated. Loads are insert-only and can run in parallel per source, which is why Data Vault suits organisations integrating dozens of systems with strict audit needs. The cost is that analysts cannot query it comfortably: answering "revenue by segment" needs hubs, links and the right satellite versions joined together, so teams build star schemas or OBTs on top of the vault.

Inmon's approach also separates integration from consumption: a normalised enterprise layer first, then marts. Data Vault can be seen as a modern, history-preserving way to build that integration layer.

Choosing: a decision table

Table 3. Choosing: a decision table
Criterion Star schema One big table Data Vault Inmon 3NF layer
Query simplicity for analysts High Very high Low Low to medium
Query speed in columnar engines Fast Fastest, no joins Slow without marts Medium
Storage Low Higher (about 1.5x in our test) Higher (many tables plus history) Low
Cost of attribute changes Low (one dimension row) High (all related fact rows) Low (insert a satellite row) Low
History of attributes Built in with Type 2 dimensions Must be baked in or rebuilt Built in, full audit Possible, design-dependent
Integrating many sources Medium Poor Strong Strong
Fit for BI semantic layers Excellent Good for one subject Needs marts Needs marts

A practical pattern combines them. Land and integrate in a vault or normalised layer when you have many sources and audit needs. Publish star schemas as the main consumption model. Derive OBTs as thin, often materialised, views for specific dashboards or machine learning features where join-free speed matters and the attributes rarely change.

What it means in practice

Columnar engines changed the economics but not the logic. Joins to small dimensions are cheap, as our tens-of-milliseconds result shows, so the star schema's main cost has shrunk. What has not changed is that facts and attributes change at different speeds. Facts are written once. Attributes are corrected, reclassified and versioned. Models that keep the two apart keep change cheap and history honest.

BI tools reinforce this. Microsoft's Power BI guidance explains why star schemas suit its semantic models, and metric views and semantic views in Databricks and Snowflake define measures over facts and dimensions. A clean star makes those definitions short and correct. The site's pages on dbt, Snowflake, BigQuery, Databricks, the gold layer and data mesh show where models live in practice, and DuckDB is a convenient engine for trying modelling ideas locally.

What to do now

  1. Write down your grain and your change rates. List each fact's grain and how often each dimension attribute changes.
  2. Default to a star schema for consumption. Model facts at the lowest useful grain and keep dimensions wide and denormalised.
  3. Use OBTs as derived products. Build them from the star for specific dashboards or features, and rebuild them rather than editing them.
  4. Use Type 2 dimensions where history matters. Decide per attribute whether reports need "as it was" or "as it is now".
  5. Consider a vault or normalised layer for many sources. Use it when integration and audit dominate, and publish stars on top.
  6. Measure on your own data. Repeat the storage and speed comparison on a real subject area before committing to a style.
  7. Define metrics once. Put measures in a semantic layer (metric views, semantic views or a BI semantic model) over the star.
  8. Test attribute changes. Simulate a reclassification and count the rows and files each model must rewrite.

Risks and open questions

OBTs hide stale attributes. If an OBT is not rebuilt after a dimension change, reports silently mix old and new values.

Stars can sprawl. Too many narrow dimensions or snowflaked sub-dimensions bring back the join complexity the star was meant to remove.

Vaults can become a second source system. Without marts on top, analysts struggle and build ad hoc models that bypass governance.

Benchmarks depend on data. Our synthetic data compresses well; real data with long text fields, skew and late-arriving records will change the numbers.

Watch next: how semantic layers such as metric views and semantic views change modelling choices, and whether faster engines make one big table the default for more dashboards.

Frequently asked questions

Is a star schema still needed with columnar warehouses?

It is still the best default for analytics. Joins to small dimensions cost little in columnar engines, and the star keeps attribute changes and history cheap and understandable. OBTs can be derived from it where needed.

When is one big table the right choice?

For a single subject area with stable attributes, where dashboards or machine learning need join-free speed and the table can be rebuilt regularly. In our test it was about twice as fast to query and about 52 percent larger.

What is Data Vault good at?

Integrating many sources with full history and audit, using insert-only loads of hubs, links and satellites. It is not designed for direct analyst queries, so teams usually build star schemas on top of it.

What is the difference between Kimball and Inmon?

Kimball builds dimensional star schemas organised by business process as the main warehouse. Inmon builds a normalised enterprise integration layer first and derives dimensional marts from it.

What is a snowflake schema?

It is a star schema whose dimensions are normalised into sub-tables, for example product to category to department. It saves some storage but adds joins, so most analytic designs keep dimensions flat.

Summary

The star schema, one big table, Data Vault and Inmon's normalised layer solve different problems. In our 3-million-row test, the star schema took about 7.68 MB and answered a three-dimension revenue query in about 0.065 seconds, while one big table took about 11.70 MB and answered in about 0.028 seconds; changing one customer's segment touched one row in the star and 60 rows in the OBT. Use a star as the consumption model, derive OBTs for speed where attributes are stable, and add a vault or normalised layer when integration and audit dominate. With dbt v2.0 in September and Snowpark semantic views in November 2026, semantic layers increasingly sit on top of these models, which rewards clean facts and dimensions.

Sources

Cite this article

Kelahmet, Ö. C. (2026, November 23). Star schema, one big table or Data Vault? A measured guide to choosing a data model. Özer Cem KELAHMET. https://www.ozercemkelahmet.com/articles/star-schema-one-big-table-vault

BibTeX
@online{kelahmet2026star,
  author = {Kelahmet, {\"O}zer Cem},
  title  = {{Star schema, one big table or Data Vault? A measured guide to choosing a data model}},
  year   = {2026},
  month  = {nov},
  url    = {https://www.ozercemkelahmet.com/articles/star-schema-one-big-table-vault}
}
Version historyfirst version
  1. Published

Factual corrections are listed here with what changed. Wording and formatting edits are not listed.

Last updated Nov 23, 2026
Type to search.
    ↑↓ navigate↵ open