wht is cdc?how to use it in creation of mappings?
Answer Posted / bidhar
CDC is used when you want to pull the records which have
changed or newly added in the OLTP system.
Normally the OLTP tables have 2 columns
last_updated_timestamp and Added_timstamp.
Whenever a new record is added for the first time in these
tables then both the columns have the same timestamp ie
System timestamp.
Then when that particular record is changed only the column
last_updated_timestamp will change and the other column
Added_timstamp will remain same forever.
Now you need to pull this record when it was added as well
as when it was modified to keep your warehouse in sync with
OLTP system.
So based on last_updated_timestamp column (not
Added_timstamp)you need to pull the records.
This can be achieved by overriding the SQ query in the
where clause.
Example :- if product table in OLTP has 2000 records on
11th may and on 12th may 10 new records have come up and 5
records have been changed.Then in the next load 15 records
should be pulled to your warehouse.
Select Prd_nam,Typ,grp,category from product where
last_updated_timestamp>&&date_parameter
This is your SQ override query.
&&date_parameter is a mapping parameter which can be picked
up from a file.(you need to have the previous load max date
in that file which will be used as mapping parameter).
Hope this clears your doubt.
| Is This Answer Correct ? | 17 Yes | 0 No |
Post New Answer View All Answers
What is rank transformation in informatica
How does a rank transform differ from aggregator transform functions max and min?
EXL informatica Questions
How do you take back up of repository?
What is a dimensional model?
What is aggregator transformation in informatica?
What is a difference between complete, stop and abort?
Is it possible to define a single node as a Gateway node as well as worker node?
Mention a few design and development best practices for informatica?
can we override a native sql query within informatica? Where do we do it? How do we do it?
Slowly changing dimensions, types and where will you use them
What is workflow manager?
What do you mean by channel change?
What is a pre-defined event and user-defined event?
How to display session logs based upon particular dates. If I want to display session logs for 1 week from a particular date how can I do it without using unix. ?