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