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

Reporting DDL Operations on Registered Oracle Source Tables

Reporting DDL Operations on Registered Oracle Source Tables

You can configure PowerExchange Express CDC for Oracle to report the DDL operations that it encounters in the Oracle redo logs for Oracle source tables with active capture registrations.
To enable DDL reporting, specify the REPORTDDL=Y parameter in the OPTIONS statement of the pwxorad.cfg configuration file. This parameter is optional.
When REPORTDDL=Y is set, PowerExchange Express CDC reports all of DDL operations that it detects in the Oracle redo logs for registered tables, such as ALTER TABLE operations that add, drop, or modify a column or that add or drop a partition. Express CDC writes information for each DDL operation to a file that is generated in the directory from which Express CDC runs. The following file naming conventions are used:
  • For RAC systems:
    PWX_ORL_DDL_D
    yyyymmdd
    _T
    hhmmss
    .MBR
    node
    _sequence#.rpt
  • For non-RAC systems:
    PWX_ORL_DDL_D
    yyyymmdd
    _T
    hhmmss
    .
    sequence#
    .rpt
In these file names, the
sequence#
is a generated number that starts from 0001 and that is incremented by 1 for each new file. A new file is generated every 20 MB of DDL change records.
The following example report shows a single DDL operation:
--DDL found at Location : redo log position SCN 0x0000.00ff2e85.0001 (16723589) RBA 0x0007cd.000050a9.0010 (file: 1997) -- Owner Number : 111, DDL Object 95944 Sequence 1 of total 1 -- DDL String : alter table TSTV11.DDLTEST001 add COL04 varchar2(10) default 'xxxx'
For more information, see the "Express CDC for Oracle" chapter in the
PowerExchange CDC Guide for Linux, UNIX, and Windows
.

0 COMMENTS

We’d like to hear from you!