IBM Support

IT19962: SLOW PERFORMANCE WHEN MONITORING SQL ROUTINES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When MON_RTN_EXECLIST = ON, there may be slow performance
    running SQL routines.  Diagnostics will show contention on the
    SQLO_LT_sqmRtnMetricsNode__m_metricsLatch latch.  One agent will
    be holding the latch and have a stack similar to the following:
    
    sqzChainedHashTableTpl<sqlra_executable_id,
    sqmExecListEntryNode, sqmExecListManagerHash>
    sqmRtnMetricsNode::findOrCreateStmt
    sqmRtnMetricsNode::rollupMetricsForStmt
    sqlmTermActivityMetrics
    sqlrr_remove_curr_activity
    sqlrr_activity_exe_stop_common
    sqlrr_activity_exe_stop
    sqlricls_complex
    sqlriecc
    :
    
    Other agents will be waiting for the latch and have a stack
    similar to the following:
    
    sqmRtnMetricsNode::latchMetrics
    sqlmTermActivityMetrics
    sqlrr_activity_exe_stop
    sqlricls_complex
    sqlriecc
    :
    

Local fix

  • SET DB CFG mon_rtn_execlist=off
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * When mon_rtn_execlist=on and SQL routines frequently called. *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply v11.1 Mod 1 Fixpack 2 to DB2 server                    *
    ****************************************************************
    

Problem conclusion

  • First fixed in v11.1 Mod 1 Fixpack 2.
    

Temporary fix

  • See LOCAL FIX.
    

Comments

APAR Information

  • APAR number

    IT19962

  • 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

    2017-03-30

  • Closed date

    2017-06-23

  • Last modified date

    2017-06-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

[{"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","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
29 June 2020