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 SQL Server Source Table Definition

Changing a SQL Server Source Table Definition

If you change the definition of a SQL Server source table that is registered for change data capture, use this procedure to enable PowerExchange to use the updated table definition and preserve access to previously captured data. Table definition changes include adding, altering, or dropping columns.
If you no longer need to capture change data from a column in a table, you can remove the column from the extraction map without changing the capture registration. Change data for that column is still captured but is not extracted.
To change a SQL Server source table definition:
  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. Delete the capture registration and extraction map.
  4. Use DDL to change the table definition in SQL Server.
  5. In the PowerExchange Navigator, create a new capture registration that reflects the metadata changes and set its status to
    Active
    . PowerExchange creates a corresponding extraction map.
    The newly activated capture registration becomes eligible for change data capture.
  6. If necessary, change the target table definition to reflect the source table metadata changes.
  7. In the PowerCenter Designer, import the altered source and target definitions. Edit the mapping if necessary.
  8. If necessary, rematerialize the target tables. After materialization completes, create new restart tokens.
  9. Create new restart tokens for the altered table.
  10. Re-enable DELETE, INSERT, and UPDATE activity against the table.
  11. Cold start the extraction workflows.

0 COMMENTS

We’d like to hear from you!