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

Initializing the Capture Catalog Table

Initializing the Capture Catalog Table

To initialize the PowerExchange capture catalog table, run the DTLUCUDB utility with the SNAPSHOT command. You should need to do this task only once.
To specify the command, use the following syntax:
DTLUCUDB SNAPSHOT [DB=
database_name
] [CCATALOG=
capture_catalog_name
] [UID=
user_id
] [EPWD=
encrypted_password
] [REPLACE=Y|N]
If the capture catalog table contains existing rows of data, you must set the REPLACE parameter to Y to enable PowerExchange to overwrite the data. For a new capture catalog table, accept the default of N.
After the snapshot successfully completes, back up the capture catalog table to create a point of consistency for recovery.
If you run the DTLUCUDB SNAPSHOT command while the Db2 catalog is being updated, the snapshot fails. If this failure occurs, run the SNAPSHOT command again after the Db2 catalog updates are complete.

0 COMMENTS

We’d like to hear from you!