Data Vault 2.0 Modeling (Hubs, Links, Satellites)
Model auditable enterprise warehouses with hubs, links, and satellites that absorb source change.
In plain words
Hub key and source business rule. Next, links with explicit relationship grain. Finally, point-in-time marts and effectivity tables for BI.
Think of it like…
Hubs are identity cards, Links are signed relationship documents, and Satellites are dated observation folders attached to either without rewriting prior evidence.
Where you’ve seen it
Hub customer_h stores customer_hk and record source; Link customer_order_l relates customer and order hubs; sat_customer_address stores effective descriptive rows with load_date and hash diff.
Words you’ll hear
- Hubs
- Tables containing one stable enterprise business key, its deterministic hash, load metadata, and record source.
- Links
- Tables representing one relationship grain between two or more hubs, or a transaction, without duplicating descriptors.
- Satellites
- Timestamped descriptive payload tables attached to a Hub or Link with change-detection hash metadata.
- Operational boundary
- Creating a satellite for every timestamp produces a fragmented raw vault, relationships without transaction/business meaning blur grain, and exposing hub/link models directly gives BI users a join maze. Declare business keys and link grain first, assign canonical hash keys and load dates, split satellites by rate/PII/source ownership, and build an information-mart layer for consumption.
Visual diagram
Theory & deep dive
Hubs: the working mechanism
Data Vault 2.0 separates immutable enterprise business keys in Hubs, relationships in Links, and descriptive or temporal source payloads in Satellites to load sources in parallel with auditability.
Hub key and source business rule. Links with explicit relationship grain, then source-rated Satellites and hash diffs; this exposes the state governed by Satellites.
Hub customer_h stores customer_hk and record source; Link customer_order_l relates customer and order hubs; sat_customer_address stores effective descriptive rows with load_date and hash diff.
Data Vault 2.0 Modeling: failure mode and production response
Creating a satellite for every timestamp produces a fragmented raw vault, relationships without transaction/business meaning blur grain, and exposing hub/link models directly gives BI users a join maze.
Declare business keys and link grain first, assign canonical hash keys and load dates, split satellites by rate/PII/source ownership, and build an information-mart layer for consumption. Track Hash collision as "monitor and preserve original business key", and make Link grain visible to the dataset owner.
How it works, step by step
Step 1 of 41. Identify business identity
Hub key and source business rule. Data Vault 2.0 separates immutable enterprise business keys in Hubs, relationships in Links, and descriptive or temporal source payloads in Satellites to load sources in parallel with auditability.
- Hash collision
- monitor and preserve original business key
- Links
- Tables representing one relationship grain between two or more hubs, or a transaction, without duplicating descriptors.
When to use it & trade-offs
What it is
Data Vault 2.0 separates immutable enterprise business keys in Hubs, relationships in Links, and descriptive or temporal source payloads in Satellites to load sources in parallel with auditability. Hub customer_h stores customer_hk and record source; Link customer_order_l relates customer and order hubs; sat_customer_address stores effective descriptive rows with load_date and hash diff.
Why it matters: Creating a satellite for every timestamp produces a fragmented raw vault, relationships without transaction/business meaning blur grain, and exposing hub/link models directly gives BI users a join maze. Declare business keys and link grain first, assign canonical hash keys and load dates, split satellites by rate/PII/source ownership, and build an information-mart layer for consumption.
When to reach for it
- Model auditable enterprise warehouses with hubs, links, and satellites that absorb source change.
- Choose Hubs because it provides this capability: Tables containing one stable enterprise business key, its deterministic hash, load metadata, and record source.
- Keep evidence for Hash collision at "monitor and preserve original business key" so the last production stage-Publish - point-in-time marts and effectivity tables for BI-remains testable.
When to avoid or be careful
- Creating a satellite for every timestamp produces a fragmented raw vault, relationships without transaction/business meaning blur grain, and exposing hub/link models directly gives BI users a join maze.
- Do not conflate Links with Hubs. The second concept contributes different behavior: Tables representing one relationship grain between two or more hubs, or a transaction, without duplicating descriptors.
- Release only after this guardrail is in place: Declare business keys and link grain first, assign canonical hash keys and load dates, split satellites by rate/PII/source ownership, and build an information-mart layer for consumption.
Hubs / Links / Satellites - roles, limits, and operating cost
Strengths: Tables containing one stable enterprise business key, its deterministic hash, load metadata, and record source. Data Vault 2.
Watch out: Creating a satellite for every timestamp produces a fragmented raw vault, relationships without transaction/business meaning blur grain, and exposing hub/link models directly gives BI users a join maze.
Strengths: Tables representing one relationship grain between two or more hubs, or a transaction, without duplicating descriptors. In this workflow it supports: Store descriptors - source-rated Satellites and hash diffs.
Watch out: The operating cost is real: one row per declared relationship or transaction identity.
Strengths: Timestamped descriptive payload tables attached to a Hub or Link with change-detection hash metadata. Its output can be checked with Vault history.
Watch out: Operating guardrail: Declare business keys and link grain first, assign canonical hash keys and load dates, split satellites by rate/PII/source ownership, and build an information-mart layer for consumption.
Interview signals & numbers to know
When this topic comes up
- “Where is the failure boundary for Hubs, and how would Hash collision reveal it?”
- “Why is Links distinct from this behavior: timestamped descriptive payload tables attached to a Hub or Link with change-detection hash metadata?”
- Production clue: Creating a satellite for every timestamp produces a fragmented raw vault, relationships without transaction/business meaning blur grain, and exposing hub/link models directly gives BI users a join maze.
- Design probe: Declare business keys and link grain first, assign canonical hash keys and load dates, split satellites by rate/PII/source ownership, and build an information-mart layer for consumption.
Benchmarks & rules of thumb
- Hash collision
- monitor and preserve original business key
- Link grain
- one row per declared relationship or transaction identity
- Vault history
- append-only source evidence remains auditable
Common mistakes & follow-ups
Common interview mistakes
- Creating a satellite for every timestamp produces a fragmented raw vault, relationships without transaction/business meaning blur grain, and exposing hub/link models directly gives BI users a join maze.
- Reporting success from a job exit code without checking Hash collision and Link grain.
- Treating this example as complete without replay, rollback, or access boundaries: Hub
customer_hstorescustomer_hkand record source; Linkcustomer_order_lrelates customer and order hubs;sat_customer_addressstores effective descriptive rows withload_dateand hash diff.
Likely interviewer follow-ups
- How would you prove this contract instead of only checking that the command ran: Tables containing one stable enterprise business key, its deterministic hash, load metadata, and record source.
- What does the recovery plan do when this occurs? Creating a satellite for every timestamp produces a fragmented raw vault, relationships without transaction/business meaning blur grain, and exposing hub/link models directly gives BI users a join maze.
- When is Hubs insufficient for Link grain, and what does adding Links cost in Hash collision?
Knowledge check
Put it into practice
Practice related interview Q&A
Apply Data Vault 2.0 Modeling (Hubs, Links, Satellites) with data engineer interview Q&A and hands-on practice.