Please explain me the difference between 3 types of slowly
changing dimension in datawarehousing?
Answer Posted / 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 |
Post New Answer View All Answers
Is it possible to query a hash file?
How many types of stage?
Demonstrate experience in maintaining quality process standards?
What are the different layers in the information server architecture?
sed,awk,head
If you want to use the same piece of code in different jobs, how will you achieve it?
Can you filter data in hashed file?
8000 jobs r there i given commit, suddenly job will abort? what happens? 2)diff b/t transformer stage & filter stage? 3)how to load the data in the source?
What are datastage sequences?
In work load management there are three options of Low priority, Medium priority and High Priority Jobs which can be used for resource management. why this feature is developed when there is already jobs prescheduled by scheduler or autosys. what will be the use of workload management then?
Define project in datastage?
Triggers,VIEW,Procedures
How many Key we can define in remove duplicate stage?
how many rows sorted in sort stage by default in server jobs
What is a quality stage in datastage tool?