IBM Support

Duplicate Rows when using Continuous Incremental Updates and Partial Reload of Data on partitioned Tables.

Product Readmes


Abstract

The result set of a query may contain unexpected duplicate rows if data from partitioned tables in DB2 have been updated on the accelerator using partial reload.

Content

Users affected

Users of IBM DB2 Analytics Accelerator for z/OS

  • Version 4.1.0, maintenance levels PTF-5 and PTF-6
  • Version 5.1.0, maintenance levels GA, PTF-1, PTF-2, PTF-3, and PTF-4

may be affected if all of the following conditions are fulfilled:

  1. ‘Continuous incremental updates’ has been enabled.
  2. The DB2 tables synchronized with the accelerator using ‘Continuous incremental updates’ are partitioned.
  3. A partial reload of such tables on the accelerator has been performed or will be performed.

There is no way to determine in advance whether a partitioned table may cause the problem upon partial reload.
The function ‘Continuous incremental updates’ is not enabled by default. To determine whether the function has been enabled, use the IBM DB2 Analytics Accelerator Console and select ‘Continuous incremental updates’. The system displays the current configuration.

Resolving the problem

Apply PTF UI45775 (or its successor) solving APAR PI77397.

After restarting the CDC Capture Agent Task, fully reload all partitioned tables. If multiple accelerators are connected to the DB2 subsystem, do this on all accelerators. Use the SYSPROC.ACCEL_LOAD_TABLES stored procedure or the IBM DB2 Analytics Accelerator Studio for this purpose.

Note: A partial reload (for example with detectChanges="DATA") is not sufficient; the stored procedure must be run with forceFullReload="true".

[{"Product":{"code":"SS4LQ8","label":"Db2 Analytics Accelerator for z\/OS"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"4.1.0;5.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
08 August 2018

UID

swg27049587