IBM Support

IC84098: SYSIBMADM.QUERY_PREP_COST ADMINISTRATIVE VIEW RETURNS A VALUE LARGER THAN 100 FOR THE PREP_TIME_PERCENT COLUMN.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the worst prepare time for a statement as reported by the
    PREP_TIME_WORST monitor element is less than a millisecond, the
    monitor element is incorrectly reported as 1 millisecond. This
    can result in the SYSIBMADM.QUERY_PREP_COST administrative view
    returning a percentage larger than 100 for the PREP_TIME_PERCENT
    column. For example if the execution time for a statement 500
    microseconds (which includes the prepare time) and the prepare
    time was 100 microseconds, the PREP_TIME_WORST monitor element
    will be incorreclty reported as 1 millisecond rather than
    truncated to 0, and the PREP_TIME_PERCENT column in
    SYSIBMADM.QUERY_PREP_COST would report 200% for the statement.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users making use of the SYSIBMADM.QUERY_PREP_COST            *
    * administrative view.                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 10.1 Fix Pack 1.                      *
    ****************************************************************
    

Problem conclusion

  • This problem is resolved in DB2 version 10.1 Fix Pack 1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC84098

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-12

  • Closed date

    2012-10-31

  • Last modified date

    2012-10-31

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

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

    IT09452

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RA10 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
31 October 2012