IBM Support

IT04915: DB2BATCH HAS ITS DEFAULT ISOLATION LEVEL AS RR WHICH MAY CAUSE PERFORMANCE ISSUES/LOCKS ON PRODUCTION

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When no option for the isolation level is used when running
    db2batch, RR (Repeatable Read) is being used as its default
    isolation. This may cause performance impact on running
    production systems.
    
    Ex:
    
    db2batch -d <dbname> -f <sql_file> -o r 1 p 5 e 2 -i complete -r
    <output_file>
    
    
    
    This APAR is to change the default isolation level of db2batch
    to UR.
    

Local fix

  • As a local fix, specify -iso option of db2batch:
    
    db2batch -d <dbname> -f <sql_file> -o r 1 p 5 e 2 -i complete
    -iso UR -r <output_file>
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users on DB2 v97 FP10 and lower                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 v97 FP11 or see local fix                     *
    ****************************************************************
    

Problem conclusion

  • First Fixed in DB2 v97 FP11
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT04915

  • 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

    2014-10-14

  • Closed date

    2015-10-07

  • Last modified date

    2015-10-07

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

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

    IT05123 IT05124

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSY

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IT04915

Modified date: 07 October 2015