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
How you can differentiate between connected lookup and unconnected lookup?
Which version configuration tool used in ur project?
What do think which one is the better joiner or look up?
What is the surrogate key?
lookup transformation with screenshots
How to do unit testing in informatica? How to load data in informatica ?
How can we use mapping variables in informatica?
what is unit testing?tell me proceedure
What are active and passive transformations?
Is it possible to define a single node as a Gateway node as well as worker node?
Does an informatica transformation support only aggregate expressions?
is it possible to index the data in cache of lkp transformation ?
Where are the source flat files kept before running the session?
While importing the relational source definition from the database, what are the metadata of source that will be imported?
What is aggregator transformation in informatica?