GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Data Warehousing  >  Basics
Go To First  |  Previous Question  |  Next Question 
 Basics  |  Question 27 of 113    Print  
What are slowly changing dimensions

  
Total Answers and Comments: 7 Last Update: December 06, 2008   
  
 Sponsored Links

 
 Best Rated Answer
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
May 27, 2005 09:17:46   #1  
SaratChandra        

RE: What are slowly changing dimensions
Dimensions that change over time are called Slowly Changing Dimensions. For instance a product price changes over time; People change their names for some reason; Country and State names may change over time. These are a few examples of Slowly Changing Dimensions since some changes are happening to them over a period of time
 
Is this answer useful? Yes | No
October 04, 2005 02:59:37   #2  
senkumar79 Member Since: October 2005   Contribution: 17    

RE: What are slowly changing dimensions

If the data in the dimension table happen to change very rarely then it is called as slowly changing dimension.

ex: changing the name and address of a person which happens rerely.


 
Is this answer useful? Yes | No
May 15, 2006 05:13:18   #3  
yugandhar.bo Member Since: May 2006   Contribution: 3    

RE: What are slowly changing dimensions
WHAT ARE THE STEPS WE NEED TO TAKE CARE OF THE SLOWLY CHNAGING DIMENSIONS IN THE DATA WAREHOUSE DESIGNING
 
Is this answer useful? Yes | No
July 05, 2006 05:13:29   #4  
Minal Sarmokadam        

RE: What are slowly changing dimensions

While handling Slowly changing Dimension Dimesion schema might required to change. It depends on Business Requirement.

E.g Dimension Table Product has Product ID and Price. If Price changes if we update the Price in the Dimension we might end up in loosing History Data. In this case we can Add One Column as Dateof Change. So if Price Changes for the given date 1 Record gets added in to Dimension while keeping the history intact.


 
Is this answer useful? Yes | No
May 07, 2007 14:12:15   #5  
chandrarekha        

RE: What are slowly changing dimensions
SCD explains the changed data captures(CDC)in the target data base
 
Is this answer useful? Yes | No
August 02, 2007 15:00:17   #6  
1292033        

RE: What are slowly changing dimensions
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.

 
Is this answer useful? Yes | NoAnswer is useful 2   Answer is not useful 0Overall Rating: +2    
December 06, 2008 18:56:16   #7  
swathirao_829 Member Since: August 2008   Contribution: 3    

RE: What are slowly changing dimensions
A Slowly Chaging dimension explains changed data captures over the period of time. There r three types of slowly changing dimensions(SCD).
1)Type 1 SCD: It keeps most recent updated values in the target. It does not maintain the history.
2) Type 2 SCD: It keeps full history in the target. For every update in the source it inserts a new record in the target.
3) Type 3 SCD: It maintain current & previous information in the target.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape