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

Creating a Snapshot of Source Table Definitions

Creating a Snapshot of Source Table Definitions

After you create the catalog tables, create a snapshot of the source table definitions to initially populate the catalog. After you start CDC processing, PowerExchange updates the baseline table definitions in the catalog when it detects DDL change events of CDC interest from the MySQL binary log.
To create a snapshot of the source table definitions, use the PWXCATMY utility. Issue the following command for a REGISTER operation:
PWXCATMY OPERATION=REGISTER
source_connection_parameters
catalog_connection_parameters
table_parameters
In the
table_parameters
, you can enter any of the following criteria to select the source tables for which to register table definitions in the catalog:
  • Specific table names
  • Table-name masks that include MySQL wildcards
  • The source instance name, as defined in the PowerExchange registration group for the source
For more information about this command, see the
PowerExchange Utilities Guide
.

0 COMMENTS

We’d like to hear from you!