slowly changing dimensions

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
GSSaru
Participant
Posts: 7
Joined: Wed Aug 31, 2005 12:04 am
Contact:

slowly changing dimensions

Post by GSSaru »

hi all,

can u please explain ,how can implement slowlychangingdimensions in a project
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You do exactly what is explained in books such as The Data Warehouse Life Cycle and Toolkit by Kimball et al. You first need to make some decisions, primarily what type of SCD you wish to implement. Then you use appropriate stage types, such as Surrogate Key Generator stage, combined with appropriate logic to manage data loads - both initial and incremental - into dimension and fact tables. On top of this you construct a control hierarchy - probably using job sequences - to ensure that tables are loaded in an order that guarantees the referential integrity is maintained. If you await the next release of DataStage, there is a SCD stage that does a lot of this for you.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply