Table of Contents

Search

  1. Preface
  2. Part 1: Introduction
  3. Part 2: PowerExchange Client for PowerCenter (PWXPC)
  4. Part 3: PowerExchange ODBC
  5. Appendix A: PowerExchange Interfaces for PowerCenter Tips
  6. Appendix B: Datatypes and Code Pages
  7. Appendix C: PowerExchange Interfaces for PowerCenter Troubleshooting

PowerExchange Interfaces for PowerCenter

PowerExchange Interfaces for PowerCenter

Session Recovery

Session Recovery

To use PowerCenter and PWXPC restart and recovery functionality for a session, select the recovery strategy of
Resume from the last checkpoint
in the session properties. This recovery strategy ensures that both the target data and CDC restart information can be recovered in the event of a session failure.
Do not enable recovery processing if any of the targets in the CDC session use the File Writer to write CDC data to flat files. The restart tokens for all targets in the session, including relational targets, will be compromised if a flat file target is in the same session. In this case, data loss or duplication might occur.
When you enable a resume-from-last-checkpoint recovery strategy, the PowerCenter Integration Service provides recovery for the target tables and files and PWXPC provides recovery for the CDC restart information. PWXPC issues the following message to indicate that recovery is in effect:
PWXPC_12094 [INFO] [CDCRestart] Advanced GMD recovery in affect. Recovery is automatic
The PowerCenter Integration Service stores the session state of operation in the shared location $PMStorageDir. The PowerCenter Integration Service saves relational target recovery information in the target database.
CDC restart information consists of restart tokens that originate from PowerExchange on the CDC source platform. PWXPC stores CDC restart information in the following locations depending on the target type:
  • For nonrelational targets, PWXPC stores the CDC restart information in state files in the shared location $PMStorageDir on the Integration Service system.
  • For relational targets, PWXPC stores the CDC restart information in state tables in the target database.
When the PowerCenter Integration Service performs recovery, it restores the state of operation to recover the session from the point of interruption. The Integration Service uses the target recovery information to determine how to recover the target tables. PWXPC and PowerExchange use the CDC restart information to determine the correct point in the change stream from which to restart the extraction.

0 COMMENTS

We’d like to hear from you!