Table of Contents

Search

  1. Preface
  2. Part 1: PowerExchange CDC Introduction
  3. Part 2: PowerExchange CDC Components
  4. Part 3: PowerExchange CDC Data Sources
  5. Part 4: Change Data Extraction
  6. Part 5: Monitoring and Tuning
  7. Appendix A: DTL__CAPXTIMESTAMP Time Stamps

CDC Guide for Linux, UNIX, and Windows

CDC Guide for Linux, UNIX, and Windows

Re-creating the CDCT File After a Failure

Re-creating the CDCT File After a Failure

If the CDCT file and its recent backups are damaged or deleted, you can re-create the CDCT file based on the available PowerExchange Logger log files. After you derive the CDCT backup, you can use it to restore the CDCT file.
This procedure assumes that PowerExchange Logger log files are available. Do not use this procedure if the log files were also damaged or deleted.
  1. Issue the PWXUCDCT utility DERIVE_CDCT_BACKUP command to derive a backup from available PowerExchange Logger log files.
    Include the PREVBACKUPFILE parameter to supply the name of the last available CDCT backup file. By using this previous backup file, you preserve more historic information in the CDCT file. The utility will add any log files that were created after this backup was taken to the derived backup file.
  2. To restore the CDCT file from the derived backup, issue the PWXUCDCT utility RESTORE_CDCT command.
  3. Verify that the restore operation was successful as follows:
    • Verify that the return code from the PWXUCDCT utility is zero.
    • Verify that messages PWX-25140 through PWX-25145 provide reasonable record counts for the records read from the backup file and for the records that were changed in the CDCT file.
  4. Run the DELETE_ORPHAN_FILES command to delete log files that are no longer referenced by the restored CDCT file.
    After you warm start the PowerExchange Logger, it re-creates the CDCT content for those files.
For more information about the PWXUCDCT utility commands, see the
PowerExchange Utilities Guide
.

0 COMMENTS

We’d like to hear from you!