IBM Support

IT32773: DB2 UPDATE QUERY SHOWS POOR PERFORMANCE WHEN CORRELATION ON MULTIPLE TABLES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Db2 update query may perform poorly when the following
    conditions met:
        - There are multiple correlations in the query
        - There are indexes defined on the columns used in multiple
    correlated predicates
        - There is multiple table join involved in the scalar
    subquery
        - There are correlated predicates referencing multiple
    tables from the join.
    

Local fix

  • <query>
    /* <OPTGUIDELINES> <REGISTRY> <OPTION NAME='DB2COMPOPT'
    VALUE='NO_SCALARQ2LOJ'/> </REGISTRY> </OPTGUIDELINES> */
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to v11.1 Mod 4 Fix Pack 6                            *
    ****************************************************************
    

Problem conclusion

  • Fixed in v11.1 Mod 4 Fix pack 6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT32773

  • 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

    2020-05-06

  • Closed date

    2021-03-15

  • Last modified date

    2021-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

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"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:
04 May 2022