IBM Support

IC80758: OPTIMIZER MIGHT NOT CONSIDER A TABLESCAN OF A RANGE PARTITIONED TABLE ON THE INNER OF A NESTED LOOP JOIN

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The query plan optimizer might not consider a table scan of a
    range partitioned table on the inner of a nested loop join even
    though it is not a full table scan when the pushed down join
    predicates could restrict the number of partitions that are
    being scanned.  You might encounter this problem at optimization
    class 7 and lower.
    

Local fix

  • Compiling the query under optimization class 9 will enable the
    optimizer to consider the table scan option.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * OPTIMIZER MIGHT NOT CONSIDER A TABLESCAN OF A RANGE          *
    * PARTITIONED TABLE ON THE INNER OF A NESTED LOOP JOIN         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version Fix Pack 6.                           *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 Version Fix Pack 6.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC80758

  • 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

    2012-01-10

  • Closed date

    2012-06-05

  • Last modified date

    2012-06-05

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

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

    IC84324

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 #: IC80758

Modified date: 05 June 2012