Data Vault modeling

Also known as: Data Vault 2.0

On this page 7

Data Vault modeling is a data warehouse design method that splits data into three entity types, hubs for business keys, links for relationships and satellites for descriptive history, so that an integration layer can absorb new sources and changes without redesign. In data modeling, it sits between normalized operational schemas and the dimensional models that serve reports.

Developed by Dan Linstedt and later extended as Data Vault 2.0, the method emphasizes full auditability, insert-only loading and parallel processing. It is not intended for direct querying by business users; instead, it acts as a raw, historized foundation from which star schemas and other consumption models are derived.

Data Vault modeling separates what is stable from what changes. Business keys, such as a customer number or a product code, rarely change, so they live in hubs. Relationships between keys change occasionally and live in links. Descriptive attributes change frequently and live in satellites, each row stamped with a load date and a record source.

The table below summarizes the three core entity types and the columns each one typically contains.

EntityHoldsTypical columnsChange behavior
HubUnique business keysHash key, business key, load date, record sourceInsert once, never updated
LinkRelationships between hubsLink hash key, parent hub hash keys, load date, record sourceInsert when a new association appears
SatelliteDescriptive attributes and historyParent hash key, load date, hash diff, attributesInsert a new row when attributes change
Core Data Vault entity types

Because a hub contains nothing but keys, two source systems that both know customer 4711 converge on the same hub row, while each system keeps its own satellite. This design makes integration by business key explicit and keeps conflicting source descriptions side by side instead of silently overwriting one another.

Data Vault 2.0 conventions and extended structures

Data Vault 2.0 adds methodology, architecture and implementation rules to the original model. The most visible change is the replacement of sequence-based surrogate keys with hash keys, computed deterministically from business keys, usually with MD5 or SHA-1 or SHA-256. Hash keys allow hubs, links and satellites to load in parallel without lookups, which suits distributed platforms and cloud warehouses.

A hash diff, a hash of all descriptive columns in a satellite row, lets the loading process detect change by comparing a single value instead of dozens of columns. Practitioners must standardize trimming, casing and delimiters before hashing, because inconsistent preparation produces different hashes for the same key.

Beyond the core three, the method defines helper structures for specific needs. The following table lists the most common ones.

StructurePurposeWhen to use it
Point-in-time tableSnapshot of satellite load dates per key and dateSpeed up joins across several satellites
Bridge tablePrecomputed paths across hubs and linksSimplify frequent multi-hop queries
Same-as linkMaps duplicate keys to a master keyResolve duplicate customers or products
Hierarchical linkParent-child relationship within one hubModel organizational or product hierarchies
Effectivity satelliteValidity periods of a relationshipTrack when an association starts and ends
Multi-active satelliteSeveral valid rows per key at onceStore multiple phone numbers or addresses
Extended Data Vault structures

Raw vault, business vault and information marts

A Data Vault architecture is usually layered so that raw data and business rules stay separate. The raw vault stores source data as delivered, applying only hard rules such as data type alignment. The business vault adds derived satellites and links that apply soft rules, such as currency conversion or customer deduplication.

Information marts sit on top and present data in a form that analysts can use, most often a star schema with fact tables and dimension tables. Because the vault keeps complete history, marts can be rebuilt or reshaped at any time, including as slowly changing dimensions of type 2, without returning to the source systems.

How Data Vault compares with other warehouse models

Data Vault modeling is best understood as a complement to dimensional modeling, not a replacement. The comparison below contrasts it with the two classic warehouse approaches.

AspectData VaultThird normal form warehouseDimensional model
Primary goalIntegration and auditabilityEnterprise consistencyQuery simplicity and speed
Change toleranceHigh, add new entitiesModerate, often requires refactoringLow to moderate
HistoryComplete, insert-onlyDepends on designSelected attributes via dimensions
Query complexityHigh, many joinsHighLow
Number of tablesLargeMediumSmall
Best layerIntegration layerIntegration layerPresentation layer
Data Vault versus third normal form and dimensional modeling

The central trade-off is flexibility and lineage in exchange for table count and join complexity. A model with a few dozen source tables can easily produce several hundred vault tables, which is manageable only with automation and code generation.

When Data Vault modeling fits and common mistakes

Data Vault modeling pays off in environments with many changing sources, strict audit requirements and long retention, such as banking, insurance, healthcare and public administration. For a single stable source feeding a handful of reports, the overhead rarely justifies itself, and a dimensional model built directly is usually simpler.

Most failed implementations share a small set of recognizable errors. The table below lists them with their causes and remedies.

MistakeConsequenceRemedy
Using source surrogate keys as business keysHubs cannot integrate across systemsIdentify true business keys during design
One huge satellite per source tableFrequent rewrites of unchanged columnsSplit satellites by rate of change
Business rules in the raw vaultLost lineage and difficult reloadsMove soft rules to the business vault
Exposing the vault to end usersSlow, error-prone queriesPublish information marts
Manual hand-coding of loadsInconsistency and high maintenanceGenerate loads from metadata
Frequent Data Vault mistakes

Teams should also plan for storage growth and query performance from the start. Insert-only history accumulates quickly, and point-in-time tables, partitioning and well-chosen clustering keys keep downstream mart builds within acceptable time windows.

In everyday language

Think of a large library. It does not keep one giant card per book that gets erased and rewritten. Instead, it keeps three kinds of records. One is a simple list of catalog numbers. One shows which books belong together. One is a diary of every change to each book.

Data Vault modeling organizes company data the same way. Nothing is ever erased. New sources can be added without redoing old work. Anyone can trace where each fact came from and when. The price is that records are spread across many lists. They are usually reorganized into simpler views before people read reports.

Seen in the real world

A mid-sized insurance company runs separate systems for policies, claims and customer service, and acquires a smaller insurer with its own policy platform. Regulators require the company to show how every reported figure was derived for at least seven years.

The data team builds a Data Vault with a customer hub, a policy hub and a claim hub, links between them, and separate satellites for each source system. The acquired platform is integrated within weeks by adding new satellites to the existing hubs rather than redesigning the warehouse. Generated load code handles roughly 300 vault tables, and star schemas for claims analysis and solvency reporting are rebuilt from the vault each night. During an audit, the team traces a disputed reserve figure back to the exact source record and load date in a single afternoon.