IBM Support

IC75324: SMALL DECLARED TEMPORARY TABLES IN DPF MIGHT HAVE POOR QUERY ACCESS PLAN

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In a DPF environment, when a declared temporary table is created
    into a multi-dbpartition tablespace, data skew might lead to a
    situation where some dbpartitions do not have data.  This
    situation is more likely to occur when the table is small.  If
    statistics collection is performed from a dbpartition with no
    data, the query optimizer will plan the query based on the table
    being empty, which might lead to a poor access plan.
    
    This problem was first introduced in DB2 Version 9.7 Fix Pack 2.
    

Local fix

  • Use a single dbpartition tablespace for small declared temporary
    tables.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * SMALL DECLARED TEMPORARY TABLES IN DPF MIGHT HAVE POOR QUERY *
    * ACCESS PLAN                                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 9.7 Fixpack 5.                        *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 version 9.7 Fixpack 5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC75324

  • 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

    2011-03-28

  • Closed date

    2012-01-09

  • Last modified date

    2012-01-09

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

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

    IC78217

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

Modified date: 09 January 2012