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

Stopping Db2 CDC

Stopping Db2 CDC

You might need to stop change data capture for a Db2 source table to perform troubleshooting or routine maintenance tasks, such as maintenance on the capture catalog table or redistribution of table data across reconfigured database partitions.
To stop change data capture, use one of the following methods:
  • Open the capture registration for a source table, and change the
    Status
    option from
    Active
    to
    History
    .
    After you set the status to
    History
    , you cannot activate the registration again. This status change permanently stops change data capture based on the capture registration.
  • To temporarily stop change data capture, alter the Db2 table to specify the DATA CAPTURE NONE clause:
    ALTER
    owner
    .
    table_name
    DATA CAPTURE NONE
    When DATA CAPTURE NONE is specified, Db2 no longer writes changes to the Db2 log files in expanded format. Because CDC requires expanded format, PowerExchange can no longer capture change data for the table from the log files. If you set it back to DATA CAPTURE CHANGES, you might need to rematerialize the targets.

0 COMMENTS

We’d like to hear from you!