IBM Support

Long-running UPDATE SQL query on UserSettingIDENTITY sequence in the Business Console for a MS SQL Database

Question & Answer


Question

In our logs, we can see a LongSqlQueryManagerThreadService WARNING for the following SQL:

update ODMDC.UserSettingIDENTITY set SEQUENCE = SEQUENCE + 1
 How to fix this ?

Answer

As recommended in the Tuning Guide for ODM, when using MS SQL you should:

  1.  Prepared Statement cache should be set to 100
  2.  Another optimization is to alter the database with the following command:

• ALTER DATABASE <basename> SET READ_COMMITTED_SNAPSHOT ON;

Regarding this setting (READ_COMMITTED_SNAPSHOT): It does not changes the requirement for isolation level, you still must use: READ COMMITTED.
It changes the internal way the read committed mode works regarding locking mechanism in the Microsoft SQL Server.\

  1.  If the 2 first configuration are not enough apply this property: 

        Set for Decision Center the configuration parameter string value:

teamserver.concurrencyGateEnabled = false
 

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"ARM Category":[{"code":"a8m3p0000008uPBAAY","label":"Performance"}],"ARM Case Number":"TS021603088","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0.0;9.5.0;9.6.0"}]

Product Synonym

ODM

Document Information

Modified date:
15 June 2026

UID

ibm17266619