IBM Support

IT31752: SELECT IO_WAIT_TIME_PERCENT FROM SYSIBMADM.MON_DB_SUMMARY CAN RETURN WITH "SQL0413N OVERFLOW OCCURRED DURING NUMERIC DATA TYPE C

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The IO_WAIT_TIME_PERCENT is calculated using the following
    formula with metrics reported by the MON_GET_DATABASE interface:
    
    IO_WAIT_TIME_PERCENT = (POOL_READ_TIME + POOL_WRITE_TIME +
    DIRECT_READ_TIME + DIRECT_WRITE_TIME - POOL_ASYNC_READ_TIME -
    POOL_ASYNC_WRITE_TIME)/TOTAL_WAIT_TIME) .
    
    In some cases, IO_WAIT_TIME_PERCENT may exceed 100 percent and
    overflow with a SQL0413N error. This is because the
    MON_GET_DATABASE interface does not properly account for direct
    reads and writes performed by background system agents when
    measuring TOTAL_WAIT_TIME resulting in a TOTAL_WAIT_TIME value
    that may be less than the sum of the DIRECT_READ_TIME and
    DIRECT_WRITE_TIME values.
    

Local fix

  • Do not perform a select IO_WAIT_TIME_PERCENT from
    MON_BP_UTILIZATION, skip the
    ASYNC_NOT_READ_PERCENT column in the select.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * all                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 11.1.4.6 or higher                            *
    ****************************************************************
    

Problem conclusion

  • Upgrade to Db2 11.1.4.6 or higher
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT31752

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-02-04

  • Closed date

    2021-03-31

  • Last modified date

    2021-03-31

  • 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

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1"}]

Document Information

Modified date:
01 April 2021