Power Exchange
description
Transcript of Power Exchange
7/17/2019 Power Exchange
http://slidepdf.com/reader/full/power-exchange-568dec5b9789f 1/9
Power Exchange
PowerExchange Change Data Capture (CDC) works in conjunction with PowerCenter
to capture changes to data in source tables and replicate those changes to target
tables or fles.
Following modes to extract relational and nonrelational data
! Bulk data movement.
"se P#$ batch application and relational connections to extract and
load data %or relational databases and nonrelational data sets and
fles through PowerExchange• Change data capture (CDC) real time
"se P#$ CDC &eal 'ime connections %or inux"*+$ and #indows sources
to extract changed data %rom condense fles in continuous extraction
mode.• CDC batch extraction mode from condense les
"se P#$ CDC Change connections to extract changed data %rom condense
fles in batch extraction mode. Power Exchange stops the extraction a%ter
the data %rom all condense fles is read.
1. o!er"xchange CDC Components,ultiple PowerExchange components are in-ol-ed in change data capture
processing.
1.1. o!er"xchange #istener
'he Power Exchange istener coordinates acti-ities across sstems initiates
re/uests or processes re/uests. 0andles all tasks that use capture registrations
and extraction maps.
! Communicates with the PowerExchange *a-igator inter%ace.! Communicates with the PowerExchange Client %or PowerCenter (P#$PC)
to integrate with PowerCenter.! &un processes to extract data %or client re/uests.
Capture registration is used to identi% and also whether to use Power Exchange
Condense %ull or partial processing o% change data columns in a source table %or
which to capture changes. 1n extraction map is a defnition o% a change data
extraction %or a source table. Power Exchange generates an extraction map
when ou create a capture registration. #hen ou create capture registrations
%or the D23 source tables or per%orm database row tests in the Power Exchange
*a-igator select the node name %or the remote sstem in the ocation feld.
7/17/2019 Power Exchange
http://slidepdf.com/reader/full/power-exchange-568dec5b9789f 2/9
1.$. o!er"xchange Condense
PowerExchange Condense captures change data and stores the data in condense
fles. 'he condense fles store onl the success%ull completed "4#s in
chronological order b end time. #hen an extraction session runs the data is
extracted %rom the condense fles rather than %rom the change stream. +% ouadd or edit capture registrations ou must restart the PowerExchange Condense
job to acti-ate the additional or changed registrations.
1.%. o!er"xchange &avigator
'he PowerExchange *a-igator is a #indows graphical user inter%ace %rom which
ou create and maintain capture registrations and extraction maps. 5ou can also
defne data maps i% ou need to do column6le-el processing such as building
expressions to populate user6defned columns. 'he PowerExchange *a-igator
automaticall generates a corresponding extraction map.
$. o!er"xchange Condense 'vervie!PowerExchange Condense 4-er-iew #hen ou create a capture registration %or a
data source ou must set the Condense option to Full or Part to indicate the
tpe o% condense processing. +% ou select Full PowerExchange Condense uses
%ull condense processing. PowerExchange Condense records onl the last change
made to a row in a condense fle. +% multiple changes are made to the same row
later changes o-erride earlier changes. +% ou select the Part option
PowerExchange Condense uses partial condense processing. +t does not
eliminate an change. During a partial condense ccle PowerExchange
Condense writes all o% the changes %or success%ull completed "4#s tocondense fles in chronological order b "4# end time
%. teps to get update record form CDC Batch "xecution
%.1. arget is *# table
+n the %ollowing process our source is D23 table and target is 78 table. 5ou
should create the mapping with D2 table as a source and 78 table as a target.
9. 4pen #ork:ow3. Create a session %or the mapping described abo-e.;. 4pen the session in edit mode<. =o to mapping panel>. 7elect 7ource %older %rom *a-igator window?. +n the right side the %ollowing window will be opened select the
highlighted button
7/17/2019 Power Exchange
http://slidepdf.com/reader/full/power-exchange-568dec5b9789f 3/9
@. 7elect P#$AD2B47ACDCAtest9 as shown in picture below
. Click 4k. +n the Properties tab o% 7ource Enter the source table name as
highlighted in the picture below
7/17/2019 Power Exchange
http://slidepdf.com/reader/full/power-exchange-568dec5b9789f 4/9
9. 'o get the table name go to mapping in power center and double click on
source and select the name highlighted below
99. +n the session propert 7elect target %older %rom na-igator window
93. +n the right side o% window the %ollowing window will be opened9;. 7elect the highlighted to gi-e the source D2
7/17/2019 Power Exchange
http://slidepdf.com/reader/full/power-exchange-568dec5b9789f 5/9
9<. 7elect the 784D7 %rom ,icroso%t 78 7er-er
9>. Click ok9?. 7elect +nsert "pdate as update and Delete check boxes %rom Properties
window.
7/17/2019 Power Exchange
http://slidepdf.com/reader/full/power-exchange-568dec5b9789f 6/9
9@. Click ok to close the edit task window9. 7a-e the confguration
a) +ecord insertion
4 +nsert a record into sr3reo.'FF407'"1' as the gi-en /uer below
9) +nsert records into sr3reo.'FF407'"1'3) =o to work:ow and cold start the session;) +t take %ew minutes to update the target %older<) 'he %ollowing out will be shown %or the three record insertion
>) =o to ,7 78l and select the particular record?) 5ou will get our +nserted record with the D'AC1P$1C'+4* feld ha-ing
-alue G+H (i% ou ha-e selected this feld %rom source to be stored in targetin mapping)
b) +ecord ,pdation9) update records into sr3reo.'FF407'"1'3) =o to work:ow and cold start the session;) +t take %ew minutes to update the target %older<) 'he %ollowing out will be shown %or one record updation
7/17/2019 Power Exchange
http://slidepdf.com/reader/full/power-exchange-568dec5b9789f 7/9
>) =o to ,7 78l and select the particular record?) 5ou will get our updated record with the D'AC1P$1C'+4* feld ha-ing
-alue G"H (i% ou ha-e selected this feld %rom source to be stored in target)
c) +ecord Deletion9) Delete and update the records %rom sr3reo.'FF407'"1'3) =o to work:ow and cold start the session;) +t take %ew minutes to update the target %older<) 'he %ollowing out will be shown
%.$. arget is -lat-ile
+n the %ollowing process our source is D23 table and target is :atfle. 5ou
should create the mapping with D2 table as a source and :atfle as a target.
9. &epeat 93 steps same as brie%ed in 7ection ;.9
7/17/2019 Power Exchange
http://slidepdf.com/reader/full/power-exchange-568dec5b9789f 8/9
3. +n the properties section select the highlighted checkbox to a-oid the
o-erride pre-ious data
;. Click ok to close the session window<. Cold start the session it will get all the record updated earlier>. *ow insert update and delete a records in the D2?. Cold start again the session@. + ha-e per%ormed 3 +nsertion 9 "pdation and 9 Deleteion and the result
o% these operation is shown below
. 5ou will get our +nserted update and deleted record entries in the :at
fle with the D'AC1P$1C'+4* feld ha-ing -alue+ insertion
7/17/2019 Power Exchange
http://slidepdf.com/reader/full/power-exchange-568dec5b9789f 9/9
""pdationDDeletion (i% ou ha-e selected this feld %rom source to be stored in target )