#051: Comparing 3 Types of Data Modeling

modeling Sep 13, 2023

Normalized, star schema and Data Vault are three ways to shape the same warehouse, and the easiest way to tell them apart is to look at the tables. A normalized model, the Inmon style, keeps every entity broken out into its own table, essentially the application layout carried into the warehouse. A star schema, the Kimball style, centers a fact table on a business process and surrounds it with flattened dimensions that have their joins already resolved. Data Vault splits things a third way: hubs for core business concepts, satellites for the descriptive attributes, and link tables for the relationships between them. Each is right for different work, and Data Vault in particular earns its complexity when auditing and historical tracking are the point.

Key takeaways

  • Normalized modeling spreads data across many small, isolated tables. It is the shape an application database takes, and the Inmon approach brings that same shape into the central warehouse.
  • A star schema flattens the dimension side. Instead of an order chained to a pharmacist table and a client unit table, you get one dimension with those attributes already joined in.
  • The fact table in a star schema is built around a business process, such as sales, rather than around the layout of the source data.
  • Data Vault separates concepts from descriptions. Hubs hold the business keys, satellites hold the attributes, and link tables hold the relationships.
  • A link table can carry its own satellite, which is how Data Vault records history on a relationship and not just on an entity.
  • If your requirement is heavy auditing and tracking which versions of things were related when, Data Vault is designed for that. If your requirement is reporting, a star schema is usually the shorter path.

Why the approach matters

Without a solid data modeling approach, a lot of data architectures fall apart. The tooling can be excellent and the pipelines can run on time, and the warehouse still ends up unusable.

I have covered the common modeling strategies in a modern stack at a high level before. The problem with staying high level is that the differences stay abstract.

So this is the same comparison done through example layouts. Three approaches, three table shapes, and what changes between them.

No code, no database screen. Just the structure, because the structure is the part people get stuck on.

If you already know the names and still could not sketch the difference on a whiteboard, this is the gap to close.

Normalized, the Inmon approach

Normalized means every entity gets its own table with no repeated values. Tables sprawl outward from each other, connected by keys.

In the example layout there is a separate order table and a separate order item table. Manufacturer is broken out from package, package from the drug item, drug item from the drug itself.

Every concept sits in isolation. Nothing is duplicated anywhere.

orders              order_items          drug_items
  order_id            order_item_id        drug_item_id
  client_id           order_id             drug_id
  ordered_at          drug_item_id         package_id
                      quantity

drugs               packages             manufacturers
  drug_id             package_id           manufacturer_id
  drug_name           package_size         manufacturer_name
  manufacturer_id

Where it comes from

This layout makes obvious sense when you are building an application. Each thing is defined once, written in one place, and read a row at a time.

It can also be a deliberate warehouse design. The Inmon approach is essentially copying this normalized format into your central warehouse rather than leaving it only in the application.

What it costs you

The trade is on the query side. Answering a reporting question means walking that chain of tables and reassembling the picture every time.

For a system that reads single rows, that is fine. For analytics that aggregate across millions of rows, it is a lot of work repeated endlessly.

Star schema, the Kimball approach

The star schema is the denormalized counterpart, and the difference is clearest when you put the two layouts next to each other.

You have a centralized fact table, in this example built around sales. It connects outward to dimension tables that hold the descriptions.

The fact table carries foreign keys to each dimension plus the measures, something like dollars sold.

Those foreign keys are the entire join story. Every dimension is one hop from the fact, which is what gives the layout its star shape.

fct_sales                  dim_order
  date_key                   order_key
  client_key                 order_number
  product_key                pharmacist_name
  order_key                  client_unit
  dollars_sold               order_type
  quantity

Flattened dimensions

The big difference is that each of those dimensions is a flattened table. In the normalized layout, order was broken out into pharmacist and client unit as separate tables.

In a star schema that becomes one dim_order with those attributes already on it. The joins are built in ahead of time rather than performed at query time.

Whatever describes the order lives on the order dimension, flattened out and ready to slice by.

Built around a business process

The second difference is what the fact table is organized around. A star schema fact table represents a business process or activity, such as a sale.

The normalized model is organized around the source data itself. It reflects how the system stores things, not what the business does.

That is the conceptual shift worth holding onto, more than any individual table name.

Data Vault

Data Vault is a third shape, and it splits a concept into three kinds of table.

The example here is less about specific tables and more about the pattern, because the pattern is what distinguishes it.

  • Hubs hold the core business concepts, one per concept: customer, product, order.
  • Satellites hold the descriptive attributes hanging off a hub, which is roughly the job a dimension does in the Kimball world.
  • Link tables hold the relationships between hubs, which is the part that has no real equivalent in the other two.
hub_customer        hub_product         hub_order
  customer_hk         product_hk          order_hk
  customer_id         product_id          order_id

sat_customer        sat_product         link_order_product
  customer_hk         product_hk          link_hk
  customer_name       product_name        order_hk
  load_ts             load_ts             product_hk
                                          load_ts

Links carry their own history

A link is about the relationship itself, the association between two concepts, rather than about either one of them.

A link table can also have its own satellite, because a relationship can have descriptive attributes of its own. That is where Data Vault starts to look different from everything else.

Associations change over time. When you want to know which version of a customer was matched to which version of a product, and when that was true, the link table is where that history is recorded.

What it is good at

That design is why Data Vault keeps coming up in environments with heavy auditing requirements. It is built for recording the history of interactions, not for making a report fast to write.

If regulators or auditors need to see what was true on a given date, that is the use case it was made for.

Putting the three side by side

None of these is the correct answer in general. They optimize for different things.

  • Normalized, Inmon style. Organized around source data, nothing duplicated, more joins to answer a question.
  • Star schema, Kimball style. Organized around a business process, dimensions flattened, built for reporting.
  • Data Vault. Organized around business concepts and the relationships between them, built for auditing and historical tracking.

The question to ask is not which one is most rigorous. It is which one matches what people will do with the data every day.

Seeing the layouts side by side is usually what makes the distinction stick. The words sound similar until you look at the tables.

Key terms

Normalized modeling

Splitting every entity into its own table with no repeated values, the layout an application database uses and the one an Inmon style warehouse carries forward.

Star schema

A fact table built around a business process, surrounded by flattened dimension tables whose joins are already resolved.

Data Vault

A modeling approach that separates business keys, descriptive attributes and relationships into hubs, satellites and links so history can be tracked on all three.

Hub

The Data Vault table that holds a core business concept and its business key, such as customer, product or order.

Link table

The Data Vault table that records a relationship between hubs, including how that association changed over time.

Common questions

What is the difference between Inmon and Kimball?

Inmon keeps the warehouse normalized, with every entity in its own table, organized around the source data. Kimball denormalizes into a star schema organized around a business process, with flattened dimensions. The practical difference shows up as how many joins a reporting query has to walk.

Is a normalized warehouse the same as an application database?

The table shape is very similar, which is the point of the comparison. The difference is purpose: one serves an application reading single rows, the other is a central warehouse that keeps the same structure deliberately.

When should I use Data Vault?

When auditing and historical tracking are a real requirement rather than a nice to have. It is designed to record how relationships and attributes changed over time. For straightforward reporting it adds more structure than most teams need.

Why is a star schema called denormalized?

Because attributes that normalization would split into separate tables are deliberately repeated on one wide dimension. You accept duplicated values in exchange for fewer joins and simpler queries.

Can I use more than one approach in the same warehouse?

Yes, and teams often do. A Data Vault or normalized core with star schema marts on top is a common combination. The thing to avoid is mixing the approaches inside a single layer with no stated rule.

Which approach is best for a small data team?

A star schema, in most cases. It maps closely to how people ask questions, it keeps queries short, and it is the easiest of the three to explain to the rest of the business.

Related reading

Final takeaway

Most of the teams I work with do not need to pick the most sophisticated approach, they need to pick one and apply it consistently. Look at the table layouts, decide which shape fits the questions your business asks, and hold the line on it.

 

Additional Free Resources

Starter Guides & Checklists

Explore additional free resources built on the same patterns I use with real clients so you can build your own with structure and confidence. Topics include data architecture, modeling and more specifically for small data teams.

Browse Resources