🛢️ Data Engineering · Streaming & Modeling
Apply dimensional modeling pragmatically
Facts, dimensions, SCD strategy, and grain declarations serving analytics for years.
intermediate~35 minData EngineersAnalytics EngineersPlatform Data Teams
Steps
- 1Declare the grain of every fact table in its documentation header
- 2Conform shared dimensions across facts before building marts
- 3Pick SCD type deliberately: type-2 for history that matters, nothing else
- 4Prefer wide tables for specific products over generic mega-marts
- 5Add surrogate keys where natural keys churn
- 6Model for the top 10 analyst questions; revisit quarterly
Common Pitfalls
- ▲Mixed-grain fact tables producing wrong aggregates forever
- ▲Type-1 updates silently erasing history compliance needed
Commands
Install with skills CLI
$ npx skills add aniruddhaadak80/skills --skill streaming-modeling-dimensional-modeling-refreshInstall globally
$ npx skills add aniruddhaadak80/skills --skill streaming-modeling-dimensional-modeling-refresh -gTags
#modeling#kimball#analytics#data-engineering#streaming-modeling