IBM Support

"Violation of Primary key constraint ... duplicate key value" when one user runs multiple parallel consolidations (caused by limitation APAR PI45793)

Troubleshooting


Problem

Customer wants to run more than one consolidation simultaneously, so has enabled multiple batch services.
  • They have also enabled 'CONSOLOCKPERIOD'.
User (for example ADM) creates a consolidation job to run immediately.
  • Immediately afterwards the same user (for example ADM) creates a second consolidation job to run immediately.
  • Therefore, these two jobs therefore run in parallel.
Afterwards, user looks in the batch queue. One of the jobs 'Finished with error'.
  • Double-clicking on the job gives more detail on the failure.

Symptom

Connectivity error: [Microsoft][SQL Server Native Client 10.0][SQL Server]Violation of Primary key constraint 'PKNC_XDB15'. Cannot insert duplicate key in object 'frango.xdb15'. The duplicate key value is(1501AC, xxx, yyy, zzz , , ,

[{"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.2.1;10.2.0","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSMRTZ","label":"IBM Cognos Controller on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
08 May 2025

UID

swg21963446