wht is cdc?how to use it in creation of mappings?

Answers were Sorted based on User's Feedback



wht is cdc?how to use it in creation of mappings?..

Answer / 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

wht is cdc?how to use it in creation of mappings?..

Answer / infa developer

Not always necessary to be a Date field. When there are 5
key colummns and you want to check if any of them changed
and would like to extract only those records with these 5
key column values updated then you will have use this
concept of change data capture.

Is This Answer Correct ?    7 Yes 1 No

wht is cdc?how to use it in creation of mappings?..

Answer / vaibhav bhandeo

CDC stands for change data capture. This is used to
implement incremental load approach in data warehouse.
In this approach we traditionally keep a date field and
pull data on incremental date values.
This assures that we are picking latest data (Or may be new
batch data which ever is applicable).
Implementing this in mapping would require you to use
parameter files which will keep HiWaterMark and LoWatermark
which is repeatedly used to capture fresh data.

Is This Answer Correct ?    6 Yes 5 No

wht is cdc?how to use it in creation of mappings?..

Answer / satya

CDC defines Whenever data is changed in OLTP Systems Only
that data Will be captured and loaded into our Target
SCD's works internally based on cdc logic
basically cdc's implented by using effective date

Is This Answer Correct ?    0 Yes 0 No

wht is cdc?how to use it in creation of mappings?..

Answer / sreekanth

CDC stands for change data capture
Daily several transaction may happen among those some may
adds new records to the OLTP and some transaction updates
the existing so we need to capture the changes then while
loading the data we need to update on the existing date ware
house with changes made to OLTP for this we will maintains
when created and when updated audit column in OLTP according
those fields we can load the data to targt.

Is This Answer Correct ?    0 Yes 0 No

wht is cdc?how to use it in creation of mappings?..

Answer / mike

capturing only changes is ok.. but in realtime as soon as the data changes in the source ... changes should be implmented in the target... so how's z dat done ? means hw we will know that source rows have been changed(suppose like evy 15 mins)? do we need to run the run mapping for evy 15mins? how does CDC works actually? i would really appreciate if some one can explain me?

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Informatica Interview Questions

I want expect first and last record remaining all records will be loaded into target? which transformations we can use?

6 Answers   Cap Gemini, CTS,


my source has 2 columns. 1st column data: ABC ABC ABC XYZ and 2nd column data: 1 2 3 4. And my target should be ABC 1 2 3, XYZ 4

2 Answers   Zensar,


can you please explain me pre session and post session options?

3 Answers   BTBP,


Clarify the aggregator change?

0 Answers  


What are the modules in Power Center

0 Answers  






What is the difference between SOURCE and TARGET BASED COMMITS?

3 Answers   IBM,


How do you set a varible in incremental aggregation

0 Answers  


suppose we have 1 to 10 records.In router transformation we had given two condition A>= 5 A<=5 then what will be the output?

2 Answers   emc2,


What are the tasks that can be performed using sq?

0 Answers  


What is substr in informatica?

0 Answers  


When will you use SQL override in a lookup transformation?

1 Answers  


i have source in oracle 10g,oracle 8i how will u take the data from two sources

2 Answers   TCS,


Categories