IBM Support

IC83691: TOTAL ELAPSED TIME IN THE DB2BATCH OUTPUT FOR THE SAME STATEMENT EXECUTED MORE THAN ONCE WITHIN DB2BATCH MAY NOT BE ACCURATE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • For a query executed multiple times via db2batch , the elapsed
    time for 2nd run and so on, does not reflect proper total
    elapsed time
    for the query.
    
    For example:
    
    Input file for db2batch contains the following queries:
    
    Query1: select * from t1 where r1=1
    Query2: select * from t1 where r1=1
    Query3: select * from t1 where r1=1
    ...............
    

Local fix

  • You could use dynamic sql snapshot to get the execution
    execution time and divide that by the # of executions to get an
    average execution time per execution.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Users using db2batch to monitor multiple instances of    *
    * the same statement                                           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * You could use dynamic sql snapshot to get the execution      *
    * execution time and divide that by the # of executions to get *
    * an                                                           *
    * average execution time per execution.                        *
    ****************************************************************
    

Problem conclusion

  • Problem fixed in V95 Fixpack 10 and above.
    

Temporary fix

  • You could use dynamic sql snapshot to get the execution
    execution time and divide that by the # of executions to get an
    average execution time per execution.
    

Comments

APAR Information

  • APAR number

    IC83691

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-05-23

  • Closed date

    2012-08-28

  • Last modified date

    2012-08-28

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

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

    IC83894 IC87882

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R950 PSN

       UP

  • R970 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":"9.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
28 August 2012