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

Changing a Source Table Definition Used in Oracle LogMiner CDC

Changing a Source Table Definition Used in Oracle LogMiner CDC

Occasionally, you might need to change the definition of an Oracle source table that is registered for change data capture.
If your table definition changes affect the columns from which change data is captured, complete this procedure to enable PowerExchange to switch to the updated table definition, while preserving access to previously captured data. These table definition changes include adding, altering, or dropping columns. You do not need to perform this procedure if you are selectively capturing change data for a subset of columns and none of the selected columns are affected by the table definition changes.
If you no longer need to capture change data from a column in a table, you can remove that column from the extraction map without changing the capture registration. Change data for the column is still captured but is not extracted.
  1. Stop DELETE, INSERT, and UPDATE activity against the table.
  2. Verify that any change data that was captured under the previous table definition has completed extraction processing. Then stop all workflows that extract change data for the table.
  3. In the PowerExchange Navigator, open the original capture registration and set its status to
    History
    .
    PowerExchange does not capture change data based on capture registrations that have a status of
    History
    or
    Inactive
    .
  4. Drop the supplemental log group for the table.
  5. Use DDL to make the table changes.
  6. In the PowerExchange Navigator, create a new capture registration that reflects the metadata changes.
    When creating the registration, specify these settings:
    • Set the capture registration
      Status
      to
      Active
      .
    • Select the
      Execute DDL now
      option so that when you finish the capture registration, the PowerExchange Navigator runs DDL for creating a new supplemental log group.
    PowerExchange uses the newly activated capture registration for change data capture.
  7. Change the target table definition to reflect the source table metadata changes, if necessary.
  8. If you use the PowerExchange Logger for Linux, UNIX, and Windows, restart the PowerExchange Logger process so that it will begin using the new capture registration.
  9. In PowerCenter Designer, import the altered source and target tables. Edit the mapping if necessary.
  10. If necessary, rematerialize the target tables. After materialization completes, create new restart tokens.
  11. Re-enable DELETE, INSERT, and UPDATE activity against the table.
  12. Restart extraction processing.

0 COMMENTS

We’d like to hear from you!