Concept 01
Raw Vault Design Philosophy
🧠 ELI5 — Explain Like I’m Five
The Raw Vault is like a legal archive. When documents arrive, you file them exactly as they came — no editing, no re-formatting, no throwing anything away. Years later, when an auditor asks “what did your CRM say about customer X on March 3rd 2022?” you can pull the exact file. The Raw Vault does the same for data: every row ever received is preserved forever, unchanged, with a timestamp and a source label.
📚 Analogy
Think of the Raw Vault as a bank ledger. A bank never erases a debit or credit entry — every transaction is appended in chronological order. The ledger is the authoritative audit trail. Your Raw Vault is the ledger for all data that has ever flowed into your warehouse. Corrections don’t erase old entries; they append new ones with the corrected values.
The Three Commandments of the Raw Vault
- No business rules applied. The Raw Vault contains exactly what the source sent. No data cleansing, no lookups, no joins, no derivations. If the source sends a NULL phone number, the vault stores NULL. If the source sends a nonsensical value, it stores that too. Business rules belong in the Business Vault layer.
- Insert-only, never delete or update. The only mutation permitted is the optional LOAD_END_DATE update on Satellites (see Module 05). Every other operation is a pure INSERT. This is what makes the vault auditable and replayable.
- Everything is hashed and sourced. Every row carries a RECORD_SOURCE identifier and a Hash Key derived deterministically from the business key. This enables parallel loading from multiple source systems without central coordination.
What the Raw Vault Does NOT Contain
- No aggregations. No SUM, AVG, or COUNT results. All aggregations happen in the Business Vault or Information Marts.
- No derived columns. No calculated fields, no flag columns derived by comparing two raw values. If CUSTOMER_STATUS = “ACTIVE” means something in the business, that derivation happens downstream.
- No cross-source joins. The Raw Vault never merges attributes from CRM and ERP into a single row. Each source has its own Satellite. The Business Vault handles cross-source reconciliation.
- No reference data resolution. If the source sends a currency code “USD,” the Raw Vault stores “USD.” Mapping it to “United States Dollar” via a currency reference table is a Business Vault concern.
Why this matters for reloads: because the Raw Vault applies zero business rules, you can replay any load from staging and produce identical results. If a business rule changes, you only need to re-derive the Business Vault — not re-extract from the source. The Raw Vault is your permanent, unambiguous source of truth for the data as it was received.