Please explain me the difference between 3 types of slowly
changing dimension in datawarehousing?

Answers were Sorted based on User's Feedback



Please explain me the difference between 3 types of slowly changing dimension in datawarehousing? ..

Answer / rameshgoud

scd1-> with this process we can maintain only updated data,
for ex- if a record inserted in source then the same record
should be inserted in targer, if a record updated in the
source then same update should process in target, so here
we cant maintain the history

scd2->with this we can maintain current data and complete
historical data by adding the start_date and end_date of
the records in the target table. If a records get updated
in the source same record will insert in the target as new
record and the old record is updated with end date as
todays date. Like wise we there will no be any deletion of
records, so we can maintain the compelte history here.

scd3-> using this we can maintain current and recent
historical data only
for every source possible changing column we need two
target columns as NEW_COLUMN indicates current data and
OLD_COLUMN indicates recent historical data
when a new record getting loaded source data is always
loded in NEW_COLUMN in target
when a record is midified target NEW_COLUMN is updated in
target OLD_COLUMN and source data is updated in target
NEW_COLUMN.

Is This Answer Correct ?    17 Yes 1 No

Please explain me the difference between 3 types of slowly changing dimension in datawarehousing? ..

Answer / venkatesh.m

scd1 ---->will contain only the updated data(ie it contains
the newly entered data + updates of historic data)it dose
not maintain historic data

scd2 ---->it contains the updated data and the historic data
(full history)
scd3 ----->it contains updated data and historic data
partially(means it may contain the records of the last
6months i think)

Is This Answer Correct ?    3 Yes 9 No

Please explain me the difference between 3 types of slowly changing dimension in datawarehousing? ..

Answer / sowmi

scd 1:It wont implement the new change.It always contains
the historic data alone.
scd 2:It will replace or overwrite the existing record.It
will not contain the historic data.But it has surrogate key.
scd 3:It contains both the old data and a new record with
the modified information and has additional columns like
"effective start date and end date" or "version no".

Please correct me if i am wrong

Is This Answer Correct ?    0 Yes 20 No

Post New Answer

More Data Stage Interview Questions

Explaine the implimentation of scd's in ds indetail, please send me step by step procedure to perform scd's 1,2,3. Please replay for this, Thanks in advance

0 Answers  


What are the functionalities of link collector?

0 Answers  


How do you start developing a datastage project?

0 Answers  


Source Like department_no, employee_name ---------------------------- 20, R 10, A 10, D 20, P 10, B 10, C 20, Q 20, S and Output should be like this department_no, employee_list -------------------------------- 10, A 10, A,B 10, A,B,C 10, A,B,C,D 20, A,B,C,D,P 20, A,B,C,D,P,Q 20, A,B,C,D,P,Q,R 20, A,B,C,D,P,Q,R,S

3 Answers  


I have 2 files 1st contains duplicate records only, 2nd file contains Unique records.EX: File1: 1 subhash 10000 1 subhash 10000 2 raju 20000 2 raju 20000 3 chandra 30000 3 chandra 30000 File2: 1 subhash 10000 5 pawan 15000 7 reddy 25000 3 chandra 30000 Output file:-- capture all the duplicates in both file with count. 1 subhash 10000 3 1 subhash 10000 3 1 subhash 10000 3 2 raju 20000 2 2 raju 20000 2 3 chandra 30000 3 3 chandra 30000 3 3 chandra 30000 3

2 Answers   TCS,






whom do you report?

0 Answers   NTT Data,


at source level i have 40 columns,i want only 20 cols at target what r the various ways to get it

5 Answers   IBM,


1.i have 5 jobs(1-5),i connect with each other,i want run from 3-5 only how? 2.how to schedual the job in datastage7.5 2? what is the deff bet grip and fgrep command? how do you cleanse the data in your project

1 Answers   Accenture,


1)Source file contains one record, I want 100 records in target file.

3 Answers  


Pls tell me what is troubleshooting in datastage view?

1 Answers  


what is the diff b/w switch and filter stage in datastage

2 Answers   Cap Gemini,


What is the Main difference between Lookup Failure and Lookup Not Met? Plz explain with Example.

2 Answers  


Categories