Description
Some other CDC target engines provide the system parameter mirror_update_exclude_unchanged_primary_index_columns. When it is enabled, unchanged primary key and unique index columns are left out of the SET clause of the UPDATE statements CDC applies, while all other columns are applied as they are today. The CDC Db2 LUW target engine does not currently support this parameter.
We request that it be added to the Db2 LUW target engine. We also ask that IBM consider making it configurable at the subscription or table-mapping level, in addition to the instance level.
Use case
We run a CDC Db2 LUW target instance ([CDC 11.4]) serving a large number of subscriptions and tables. Most of these tables have no issue. One table is affected by the current behaviour: unchanged primary/index key columns are rewritten on every UPDATE. On this table this causes unneccesary long FCM wait between the 20 members of our DB2 instance, and when there are peak periods of incoming updates, there is increased latency on CDC due to slow applies and this causes an operational impact to business.
The current alternative is mirror_update_only_changed_columns. It addresses the problem, but it has two drawbacks for us:
It is instance-wide. Enabling it changes the UPDATE statement shape for every table on every subscription on the target datastore. To limit operational risk, we would have to regression-test and monitor all of those subscriptions to fix one table.
It is broader than needed. We only need unchanged key and index columns excluded. Changing how all non-key columns are applied adds behavioural change that we have no requirement for. That change could affect downstream consumers, triggers, or audit logic that expect a full-row update.
IBM Support suggested a workaround: create a separate target instance for the affected subscription. This is possible, but it adds ongoing cost and complexity. We would have another instance to deploy, patch, monitor, and maintain in our [air-gapped OpenShift] environment, plus the risk of migrating an existing subscription and its bookmarks to a new instance. For what is effectively a per-table apply tuning need, that is a heavy solution.
Proposed solution
Add mirror_update_exclude_unchanged_primary_index_columns to the CDC Db2 LUW target engine, with the same behaviour as on the engines that already support it.
Preferably, allow this parameter (and ideally mirror_update_only_changed_columns as well) to be set at the subscription or table-mapping level. Instance-level values would serve as defaults that can be overridden per subscription or table.
Business value
Lets customers fix apply performance and contention problems on specific tables without risking change across an entire target datastore.
Avoids extra CDC instances created only to isolate parameter settings, which lowers infrastructure and operational overhead.
Brings Db2 LUW in line with other CDC target engines.
Who benefits
Any customer running many subscriptions on a shared Db2 LUW target instance, especially large or partitioned (DPF) environments where index maintenance and lock contention are costly.
Priority / Timing
[e.g. Medium–High; currently being managed with workarounds, needed Q1 2027
Reference
IBM Support case [case number]; discussed with Hiroko Kato (IBM), Nov 2026.