IBM Support

IT19659: DB2 MIGHT ABEND WHEN EXECUTING QUERIES WITH MULTIPLE OUTER JOINSAND EQUALITY PREDICATES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Under rare cases, DB2 might abend when the following conditions
    are true:
    1) The query contains 3 or more left outer joins
    2) The Join predicate in the top-most left join references a
    column from the null-producing side of the lowest left join.
    3) The same column is also referenced in an equality predicate
    in an inner join
    
    e.g.: Select *
        from t1 left join t2 on t1.c1 = t2.c1
                left join t3 on t1.c1 = t3.c1
                inner join t4 on t2.c1 = t4.c1
                left join t5 on t2.c1 = t5.c1
    

Local fix

  • db2set -im DB2COMPOPT=NOOJSJ
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 Version 11.1 Mod 4 FixPack 6.                 *
    ****************************************************************
    

Problem conclusion

  • First fixed in Db2 Version 11.1 Mod 4 FixPack 6.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT19659

  • 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-13

  • Closed date

    2021-03-16

  • Last modified date

    2021-03-16

  • 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