BrainTrust Investment Lab › Band 3 — Loading (Delivering to the Kimball STAR)
BrainTrust Investment Lab

SS9 — Slowly Changing Dimension Manager

← RETURN

Band 3 — Loading (Delivering to the Kimball STAR) · book 464-469 · grain: one dimension per walk sheet

History is never overwritten here. When an attribute changes, the old truth keeps its row and its dates — ask what the world looked like on any given day and get the answer as it was, not as it is now.

completed
0 of 1
running now
dim_security
completedrunningawaiting its turn · owedfailedexcluded
dim_security↻rank 1 · walking · 9 step(s) certified

The contract — what each step must produce

#steppagewhat the book requires
2a type PER ATTRIBUTE, not per tablep.464'there are three basic responses: type 1 overwrite, type 2 add a new row, and type 3 add a new column'
3the five columns, appliedp.466'and make appropriate updates to these housekeeping columns: Change Date (change date as foreign key to date dimension outrigger) Row Effective…
4the as-of date, never a drifting provider stampp.466'Always use the system or as-of date to derive the type 2 effective time stamps.'
5the type 1/3 side effectp.465'Type 1 updates invalidate any aggregates built upon the changed column, so the dimension manager (subsystem 17) must notify the affected fact…
6the overwrite reaches back -- but never into bronzep.465'Type 1 updates must be propagated forward from the earliest permanently stored staging tables to all affected staging tables, so if any of them are…