Attribute Name | Attribute Location | Recommended Value for CDC | Description |
---|---|---|---|
Commit Type | Properties Tab for the session | Source | Default value is Target . If you accept the default, the PowerCenter Integration Service automatically overrides the default to use source-based commit processing. However, you should change this attribute to Source so that you can disable the Commit On End Of File attribute. |
Commit On End Of File | Properties Tab for the session | Disabled | By default, this attribute is enabled. If you accept the default, the PowerCenter Integration Service commits the change data in the buffer to the targets when the session ends. The final commit occurs after the PWXPC CDC reader has committed all complete UOWs in the buffer, along with their restart tokens, to the targets. This timing can cause the restart tokens and target data to be out of sync. The final restart tokens might represent a point in the change stream that is earlier than final change data that the PowerCenter Integration Service commits to the targets. As a result, duplicate data might occur when the CDC session restarts. To prevent potential duplicate data, disable this attribute. |
Recovery Strategy | Properties Tab for the session | Resume from last checkpoint | Default value is Fail task and continue workflow . To properly restart CDC session, PowerExchange CDC and PWXPC require that this option is set to Resume from last checkpoint . |
Stop on errors | Config Object Tab for the session | 1 | Default value is 0. By default, the PowerCenter Integration Service does not consider errors when writing to targets as fatal. The following types of error are non-fatal:
If write errors occur, change data loss might occur because PWXPC has advanced the restart tokens values. To maintain target data and restart token integrity, set this option to 1. |
Application Name | Application Connection | Enter a unique name for each CDC session. | Default is the first 20 characters of the workFlow name. Because the default might not result in a unique name, enter a unique name. |
RestartToken File Folder | Application Connection | Default value | The default is $PMRootDir/Restart. This default is acceptable for CDC. |
RestartToken File Name | Application Connection | Enter a unique name for each CDC session. | If you enter an Application Name value, the default is that application name. If you do not enter an Application Name value, the default is the workflow name. Because a default might not result in a unique name, enter a unique restart token file name. |
Number of Runs to Keep RestartToken File | Application Connection | 1 or greater | Default is 0. PWXPC keeps only one backup copy of the restart token initialization and termination files. Enter a value greater than 0 to make history available for recovery purposes. |