GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Data Warehousing  >  Basics
Go To First  |  Previous Question  |  Next Question 
 Basics  |  Question 7 of 111    Print  
What are the Different methods of loading Dimension tables

  
Total Answers and Comments: 5 Last Update: July 01, 2008   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: DWH01
 

The data in the dimension tables may change over a period of time.  Depending upon how you want to treat the historical data in dimension tables, there are three different ways of loading the (slowly) varying dimensions:
1. Type One Dimension: do not keep the history.  Hence update the record if found, else insert the data.
2. Type Two Dimension: Do not update the existing record.  Create a new record (with version number or change date as part of key) of the dimension, while retaining the old one.
2. Type three Dimension keeps more than one column for each changnig attribute. The new value of the attribute is recorded in the existing record, but in an empty column. 
Type 2 dimensions are the most commonly used dimension.



Above answer was rated as good by the following members:
nflow2
June 19, 2005 08:37:24   #1  
Ravi        

RE: What are the Different methods of loading Dimension tables
they are of two types insert--> if it is not there in the dimension and update--> if it exists.
 
Is this answer useful? Yes | No
June 28, 2005 07:41:43   #2  
Prabhu B        

RE: What are the Different methods of loading Dimension tables
Conventional Load: 
Before loading the data, all the Table constraints will be checked against the data. 
 
Direct load:(Faster Loading) 
All the Constraints will be disabled. Data will be loaded directly.Later the data will be checked against the table constraints and the bad data won't be indexed.

 
Is this answer useful? Yes | No
October 04, 2005 23:45:06   #3  
Vijaya        

RE: What are the Different methods of loading Dimensio...
Conventional and Direct load method are applicable for only oracle. The naming convension is not general one applicable to other RDBMS like DB2 or SQL server..
 
Is this answer useful? Yes | No
December 29, 2006 08:26:17   #4  
manisha.sinha Member Since: December 2006   Contribution: 30    

RE: What are the Different methods of loading Dimensio...

The answer to this depends on what kind of Dimension are we loading. If it is not changing , then simply insert.

If it is slowly changing dim of type 1 , update else insert(50% of the time)

Type 2, Only Insert (50% of the time)

Type 3 ,Rarely used as we create a new feild and and effective date.


 
Is this answer useful? Yes | No
July 01, 2008 18:02:39   #5  
DWH01 Member Since: July 2008   Contribution: 3    

RE: What are the Different methods of loading Dimension tables

The data in the dimension tables may change over a period of time.  Depending upon how you want to treat the historical data in dimension tables, there are three different ways of loading the (slowly) varying dimensions:
1. Type One Dimension: do not keep the history.  Hence update the record if found, else insert the data.
2. Type Two Dimension: Do not update the existing record.  Create a new record (with version number or change date as part of key) of the dimension, while retaining the old one.
2. Type three Dimension keeps more than one column for each changnig attribute. The new value of the attribute is recorded in the existing record, but in an empty column. 
Type 2 dimensions are the most commonly used dimension.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape