IBM Support

IT31026: REAL TIME STATISTICS (RTS) PROCESSING ISSUES

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

  • The Db2 server queue containing real-time statistics requests
    could become very long when tables are frequently updated and
    many different SQL statements are being prepared. The long queue
    could result in increased prepare times due to contention on the
    SQLO_LT_JitsAnchor__anchorLatch latch. This latch can be
    observed using the db2pd -latches command. The queue contents
    can also be observed using the SYSPROC.MON_GET_RTS_RQST table
    function. One symptom of the problem is a very long queue with
    many duplicate entries. In some situations, the RTS daemon will
    not perform any asynchronous collection although it still checks
    the RTS request queue every 5 minutes. RTS daemon activity can
    be observed by checking the statistics logs under
    db2dump/events/db2optstats.<n>.log .
    

Local fix

  • Disable real-time statistics (RTS) by updating the
    AUTO_STMT_STATS DB configuration parameter to OFF.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users using JITs                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 11.1 Mod Pack 4 Fix Pack 6            *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 Version 11.1 Mod Pack 4 Fix Pack 6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT31026

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-11-20

  • Closed date

    2021-03-23

  • Last modified date

    2021-03-23

  • 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 & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1"}]

Document Information

Modified date:
24 March 2021