IBM Support

IT18428: DB2 POOR PERFORMANCE IN UPDATE QUERY HAVING CORRELATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 query performance may degrade if the following conditions
    are satisfied:
    1. This is a an UPDATE query that has a scalar subquery (e.g.
    EXISTS) on multiple tables
    2. Scalar subquery has correlated predicate(s) on the table to
    update
    3. There is/are index/indices on the columns of the correlated
    predicate
    

Local fix

  • Change the query to run at Optimization Level 1
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All DB2 LUW Users                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to DB2 LUW 11.1.3.3 or later                          *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 LUW 11.1.3.3
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT18428

  • 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

    2016-12-15

  • Closed date

    2018-03-15

  • Last modified date

    2018-03-15

  • 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

  • RB10 PSN

       UP

  • RB10 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 March 2018