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

Reconfiguring a Database Partition Group

Reconfiguring a Database Partition Group

Use this procedure to add a partition to or remove a partition from a database partition group without changing the partitioning of the partitioned database instance.
  1. Stop updates to the source tables.
  2. Verify that any change data that was captured has completed extraction processing.
  3. In PowerCenter, stop all CDC sessions that extract change data for the tables in the partitioned database instance.
  4. For each table for which the DATA CAPTURE CHANGES clause is specified, specify DATA CAPTURE NONE.
    This step temporarily disables DB2 capture of changes to its log files. If you do not perform this step, DB2 records the data redistribution changes that result from the REDISTRIBUTE command as regular change data activity.
  5. Execute the ALTER DATABASE PARTITION GROUP SQL to add the new partition to or remove the dropped partition from the appropriate database partition group.
  6. Run the DB2 REDISTRIBUTE DATABASE PARTITION GROUP command to redistribute table data among the partitions in the altered database partition group.
  7. For each table for which you specified DATA CAPTURE NONE in step 2, reinstate the DATA CAPTURE CHANGES clause.
  8. Restart the PowerCenter CDC sessions to resume extraction processing.

0 COMMENTS

We’d like to hear from you!