Table of Contents

Search

  1. Preface
  2. Summary of PowerExchange New Features and Changes
  3. PowerExchange Installation and Upgrade
  4. PowerExchange Agent
  5. PowerExchange Client for PowerCenter
  6. PowerExchange Condense
  7. PowerExchange Listener
  8. PowerExchange Logger for Linux, UNIX, and Windows
  9. PowerExchange Navigator
  10. PowerExchange Monitoring and Tuning
  11. PowerExchange Utilities
  12. PowerExchange for Adabas
  13. PowerExchange for CA Datacom
  14. PowerExchange for DB2 for i
  15. PowerExchange for DB2 for Linux, UNIX, and Windows
  16. PowerExchange for DB2 for z/OS
  17. PowerExchange for CA IDMS
  18. PowerExchange for IMS
  19. PowerExchange for Microsoft SQL Server
  20. PowerExchange for MySQL
  21. PowerExchange for Oracle
  22. PowerExchange for PostgreSQL
  23. PowerExchange for VSAM and Flat Files
  24. PowerExchange ODBC

Support for PostgreSQL CDC Sources

Support for PostgreSQL CDC Sources

PowerExchange 10.4.0 adds support for change data capture (CDC) from PostgreSQL version 10.
x
or 11.
x
source tables on Linux or Windows.
PowerExchange captures Begin, Insert, Update, Delete, Commit, and Truncate operations for source transactions. PowerExchange does not capture DDL changes other than Truncate. Also, most PostgreSQL data types are supported.
PowerExchange retrieves the changes from a PostgreSQL logical replication slot that is reserved for PowerExchange use. PowerExchange then records the changes in the
replication store table
that either PowerExchange generates during capture processing or that you manually create in the source database.
The source database must use logical replication mode. Also, each source table must have a primary key.
To prepare PostgreSQL source for CDC, perform the following tasks:
  • Create a PostgreSQL user role with the LOGIN and REPLICATION attributes.
  • Ensure that the PostgreSQL postgresql.conf configuration file specifies the
    wal_level=logical
    parameter.
  • Copy the plug-in, pwx_decode.dll or pwx_decode.so, for creating the replication slot that PowerExchange uses from the PowerExchange root directory to the PostgreSQL lib directory.
To configure PowerExchange for PostgreSQL sources, specify the new PG CAPI_CONNECTION statement in the dbmover.cfg configuration file. Also, create capture registrations and extraction maps for the source tables by using either the PowerExchange Navigator or DTLUCBRG utility. Both interfaces have been enhanced to support PostgreSQL sources.
Also, PowerExchange requires the DataDirect ODBC driver for PostgreSQL to retrieve source metadata from the PostgreSQL database server. This driver is delivered as part of the PowerExchange installation. You do not need to download it.
Use of the PowerExchange Logger for Linux, UNIX, and Windows is optional.
For more information, see the
PowerExchange CDC Guide for Linux, UNIX, and Windows
, the
PowerExchange Navigator User Guide
, and
PowerExchange Utilities Guide
.

0 COMMENTS

We’d like to hear from you!