IBM Support

IC71600: CALCULATION ERROR IN CHECKS LEADING TO TOO MANY JOINS BELOW UNION ALL

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • A calculation problem affects UNION ALL join UNION ALL scenario.
    There is a calculation error in the checks which leads to a
    scenario of not detecting too many joins below the UNION.
    
    
    You can workaround this problem by reducing the
    MAX_JOINS_IN_UNION parameter to a set value and/or reducing the
    query optimization level to 0 or 1.
    

Local fix

  • (i) db2set DB2_UNION_OPTIMIZATION='MAX_JOINS_IN_UNION <value>'
    
    (ii) You could also reduce the optimization level that the query
    is compiled with to 0 or 1
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All DB2 V9.7 users                                           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * CALCULATION ERROR IN CHECKS LEADING TO TOO MANY JOINS BELOW  *
    * UNION ALL                                                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 V9.7 FP5 to avail fix for this APAR.          *
    ****************************************************************
    

Problem conclusion

  • APAR first fixed in DB2 V9.7 FP5
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC71600

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-09-30

  • Closed date

    2011-12-08

  • Last modified date

    2011-12-08

  • APAR is sysrouted FROM one or more of the following:

    IC71596

  • 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

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC71600

Modified date: 08 December 2011