IBM Support

IC80723: RUNSTATS USING PROFILE DOES NOT USE SAMPLING ON INDEX STATISTICS COLLECTION.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When a profile is used for runstats, then if the profile was
    created with "sampled" indexes , the sampling will not occur on
    the indexes.
    This can lead to slower than expected runstats execution.
    
    e.g.
    runstats on table db2inst1.staff for sampled detailed index
    db2inst1.idx1 set profile only
    followed by :
    runstats on table db2inst1.staff use profile
    
    will effectively internally execute :
    
    runstats on table db2inst1.staff for detailed index
    db2inst1.idx1;
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * all                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade the DB2 server to V9.7 Fix Pack 6                    *
    ****************************************************************
    

Problem conclusion

  • This problem has first been fixed in V9.7 Fix Pack 6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC80723

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

  • Closed date

    2012-06-22

  • Last modified date

    2012-06-22

  • 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

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC80723

Modified date: 22 June 2012