Table of Contents

Search

  1. Preface
  2. Part 1: PowerExchange Change Data Capture Introduction
  3. Part 2: CDC Components Configuration and Management
  4. Part 3: CDC Sources Configuration and Management
  5. Part 4: Change Data Extraction
  6. Part 5: Monitoring and Tuning
  7. Appendix A: CDC for z/OS Troubleshooting
  8. Appendix B: DTL__CAPXTIMESTAMP Time Stamps

Stopping DB2 Change Data Capture

Stopping DB2 Change Data Capture

You can stop capture processing at various levels depending on your situation.
The following table identifies the methods of stopping change capture by level:
Level at Which to Stop Change Capture
Method
DB2 tables
Alter the DB2 table to specify DATA CAPTURE NONE. Use the following DDL statement:
ALTER
owner
.
table_name
DATA CAPTURE NONE
When you change the structure of a DB2 table to DATA CAPTURE NONE, changes are no longer written to the DB2 log in the expanded format that is required for change data capture. Consequently, the changes cannot be retrieved later.
DB2 environment
Stop the ECCR. Use the QUIESCE command or the MVS STOP command.
Registered DB2 tables
In the PowerExchange Navigator, deactivate or delete the capture registration. Then refresh the DB2 ECCR, or stop and restart the ECCR.
Keep at least one active DB2 data-resource registration in the PowerExchange repository (CCT file). If you deactivate or delete all of the DB2 registrations, the DB2 ECCR ends abnormally when you refresh or restart it. For proper restart and recovery, do not delete registrations.

0 COMMENTS

We’d like to hear from you!