IBM Support

IT38555: DEADLOCK BETWEEN MANUAL RUNSTATS AND AUTO REORG RECLAIM ISSUED BY AUTO MAINTENANCE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Customers running on Db2 version before 11.5.6/11.5.7 could
    encounter a deadlock between Manual Runstats and Auto Reorg
    Reclaim.
    It raises an error SQL2310 Error -911.
    
    In case of this deadlock, instead of Auto Reorg Reclaim getting
    victimized, here Manual
    Runstats (higher priority than Auto Reorg Reclaim) was
    victimized and was rolled back.
    This should not happen.
    
    Error below gets reported in db2diag.log
    
    2021-07-15-17.35.20.503231+120 I2195E673             LEVEL:
    Error
    PID     : 3588                 TID : 140059982423808 PROC :
    db2sysc 0
    INSTANCE: db2inst1             NODE : 000            DB   :
    XXXXXXXX
    APPHDL  : 0-13533              APPID:
    *LOCAL.db2inst1.210715153514
    UOWID   : 6                    ACTID: 1
    AUTHID  : DB2INST1             HOSTNAME: XXXXXXX
    EDUID   : 64                   EDUNAME: db2agent (XXXXXXXX) 0
    FUNCTION: DB2 UDB, catalog services, sqlrlCatalogScan::fetch,
    probe:40
    RETCODE : ZRC=0x80100002=-2146435070=SQLP_LDED "Dead lock
    detected"
              DIA8002C A deadlock has occurred, rolling back
    transaction.
    DATA #1 : Hex integer, 4 bytes
    0x0000000D
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * all                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * upgrade to 11.5.7                                            *
    ****************************************************************
    

Problem conclusion

  • upgrade to 11.5.7
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT38555

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-09-30

  • Closed date

    2021-11-21

  • Last modified date

    2021-11-21

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

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.5"}]

Document Information

Modified date:
22 November 2021