internalsGet Pro

Module 05 · Lesson 8 of 12Pro

Data vault: modeling for constant change

Level
Advanced
Topic
Data modeling for analytics
Reading time
18 min

When you finish this page you can

  1. Split a source’s data into hubs of business keys, links between them and satellites of history, each row stamped with its load time and source.
  2. Load hubs, links and satellites insert-only from hashed business keys, adding a satellite row only when its hashdiff changes.
  3. Explain why a data vault still needs a star schema on top for reports, and count the joins it adds.
  4. Decide whether a data vault pays for itself, from the number of sources, how often they change and what audits ask for.
  1. Deduplication: keeping one row per entity17 min
  2. Dimensional modeling: facts and dimensions17 min
  3. Slowly changing dimensions: types 1, 2 and 317 min

The auditors ask about one October sale

is an online store in India. Every night Meera, its data engineer, loads orders from the store’s PostgreSQL read replica into one file on an 8 GB server. Sale files from four marketplace partners, A to D, land next to them. Daniel, who leads finance reporting, reads the results at 07:00.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan