Please explain me the difference between 3 types of slowly
changing dimension in datawarehousing?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Differentiate between Join, Merge and Lookup stage?
how to implement scd2 in datastage 7.5 with lookup stage
in job of 30 one job is very slow due to this entire job is very slow how can u know which job is slow?
Explain ibm infosphere information server and highlight its main features?
With out using Funnel Stage, how to populate the data from different sources to single target
This is UNIX question asked in DataStage Interview. Say I have n numbers of records in a text file. I want first 3 records in 1st file, last three records in 3rd file and remaining n-6 records in 2nd file. (Note: we don't know how many records are there in the File. I am getting one file on daily basis and I want three target files as asked above)
What are the repository tables in datastage?
How and where you used hash file?
What can we do with datastage director?
Describe the architecture of datastage?
CAN ANY ONE TELL ME THE ARCHITECTURE OF DATASTAGE CLEARLY....
What all are the different way to run a job?