Data Modeling
Posts tagged “Data Modeling”.
- Reference Data Can Rewrite History
A fact row can stay unchanged while its reported customer or category changes. Historical correctness depends on which reference-data truth you choose.
- Two Customer IDs, Both Correct
Source identity and current master-data identity can disagree without either being corrupt. The hard part is choosing the meaning of the join.
- A Data Pipeline Has Four Clocks
Event time, arrival time, processing time, and knowledge time can all disagree. Here's why historical reports need more than one timestamp.
- Timestamps Beat a Mutable Status Column
Write-once timestamps can derive current and historical status for one-way lifecycles; repeating transitions still require an event table.
- Your Date Dimension Is Not Static
Calendar attributes are stable, but columns such as IsCurrentMonth depend on query time. Persist the former and compute the latter in the serving layer.