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 meant by LDAP users?
What do you mean by blocking transformation?
Design a mapping to load a target table with the following values from the above source?
Explain the types of lookup transformation?
What are the restrictions of union transformation?
difference between informatica 8.1.1 and 8.6
What is the format of informatica objects in a repository? What are the databases that informatica can connect to windows?
Enlist the advantages of informatica.
What is Story point Estimation ? Can any one give just an introduction about this ? Advance Thanks
What's the layout of parameter file (what does a parameter file contain?)?
What is the sequence generator transformation in informatica?
What are pre and post-session shell commands?
Design a mapping to load the cumulative sum of salaries of employees into target table?
Enlist the tasks for which source qualifier transformation is used.
r u done any partitions in ur project?