|
| Total Answers and Comments: 7 |
Last Update: December 06, 2008 |
|
| | |
|
Submitted by: 1292033 The definition of slowly changing dimension is in its name only. The dimension which changes slowly with time. A customer dimension table represents customer. When creating a customer, normal assumption is it is independent of time. But what if address of customer changes or name of customer changes?
This change can be implemented in three ways...
Type I: Replace the old record with a new record with updated data, there by we lose the history. But data warehouse has a responsibility to track the history effectively, where Type I implementation fails.
Type II: Create a new additional dimension table record with new value. By this way we can keep the history. We can determine which dimension is current by adding a current record flag or by time stamp on the dimensional row.
Type III: In this type of implementation we create a new field in the dimension table, which stores the old value of the dimension. When an attribute of the dimension changes then, we push the updated value to the current field and old value to the old field.
Above answer was rated as good by the following members: swathirao_829, kalpit | Go To Top
|