PowerExchange 10.2 HotFix 1 adds support for change data capture from MySQL Enterprise Edition 5.7 source tables on Red Hat Linux or Windows operating systems.
PowerExchange uses the MySQL binary log reader, mysqlbinlog, to read change events for source tables from the MySQL binary log. PowerExchange and the mysqlbinlog utility must be installed on the same machine, which can be local to or remote from the database server. Use of the PowerExchange Logger for Linux, UNIX, and Windows is optional.
PowerExchange extracts change records from the change stream or Logger log files and makes the changes available to PowerCenter CDC sessions.
To capture change data for MySQL sources, you must specify the new MYSQL CAPI_CONNECTION statement in the DBMOVER configuration file. Also, create capture registrations and extraction maps for the MySQL source tables by using either the PowerExchange Navigator or DTLUCBRG utility. Both interfaces have been enhanced to support MySQL sources.
Also, verify that binary logging is enabled for the MySQL server with the following options:
[mysqld]
server-id=
server_id
log-bin=
base_name
binlog-format=row
binlog-row-image=full
PowerExchange uses the server-id value of 369. Also, PowerExchange requires row-based binary logging with the row image type of full.
The binary log reader reads DML and DDL events. However, DDL events that create, drop, rename, truncate, or alter the mapped source tables usually cause PowerExchange capture processing to end except in the following cases:
If you set the ONTABLETRUNC parameter in the MYSQL CAPI_CONNECTION statement to WARN, capture processing can continue with a warning message when PowerExchange encounters a TRUNCATE TABLE event for a source table.
If a CREATE TABLE statement creates a table that was not previously registered and you use the PowerExchange Logger, capture processing can continue with a warning.
If an ALTER TABLE ADD COLUMN statement appends a column after all other columns, capture processing can continue.
PowerExchange supports all MySQL datatypes except spatial datatypes. The following additional restrictions apply:
PowerExchange limits the length of data in columns that have a mediumblob, longblob, mediumtext, longtext, enum, json, set, varbinary, or varchar datatype to 98,304 bytes.
PowerExchange converts binary json data to textual json data.
PowerExchange uses the DataDirect ODBC driver for MySQL, which is delivered in the PowerExchange installation, to retrieve source metadata from the MySQL database server.
For more information, see the
PowerExchange CDC Guide for Linux, UNIX, and Windows