IBM Support

PI96833: INCORRECT LOCK STATE REQUESTED BY UPDATE DELETE MERGE TRANSACTIONS ACCESSING UTS TABLE SPACE WITH A LOB COLUMN

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Transactions performing UPDATE , DELETE, MERGE
    operations typically need to apply predicates to
    determine whether a row qualifies or not. When a lock
    is needed during this process, an UPDATE page/row (U-lock) is
    normally used. However, when the table is a Universal
    Table Space (UTS) with a LOB column it is possible that an IS
    ( Intent Shared )lock is used.
    This can lead to a deadlock or timeout when many concurrent
    threads need to access this page/row, as the lock is being
    upgraded to an X-lock in case the row is actually updated
    / deleted.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Db2 12 for z/OS users of                                 *
    * Large OBjects (LOBS).                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Unexpected deadlock might be                                 *
    * experienced by applications executing                        *
    * UPDATE/DELETE/MERGE statements on                            *
    * tables in a UTS containing LOB                               *
    * columns.                                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply corrective PTF when available                          *
    ****************************************************************
    Unexpected deadlock might be experienced by applications
    executing UPDATE/DELETE/MERGE statements on tables
    in a UTS containing LOB columns.
    
    The reason for the unexpected deadlocks is that Db2 fails
    to clean up a residual lock state.
    

Problem conclusion

  • Db2 is corrected to use the correct lock state for
    UPDATE/DELETE/MERGE statements.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI96833

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-04-17

  • Closed date

    2018-04-27

  • Last modified date

    2018-06-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UI55561

Modules/Macros

  • DSNICLOB
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RC10 PSY UI55561

       UP18/05/12 P F805

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
04 June 2018