IBM Support

IC74951: EXECUTION OF "CREATE DATABASE" MAY FAIL WITH ERROR SQL0964C (THE TRANSACTION LOG FOR THE DATABASE IS FULL).

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • This issue will likely only be seen under special conditions
    such as:
    
      1. DB2_USE_ALTERNATE_PAGE_CLEANING=ON
      2. DB2_ENABLE_AUTOCONFIG_DEFAULT=NO
      3. "create database" statement is special, for example:
    
      db2 "create database test2 AUTOMATIC STORAGE NO using codeset
    UTF-8 territory US pagesize 16384 with 'xxxx.xxxx.xxxxxxx'
    AUTOCONFIGURE APPLY NONE" ;
    

Local fix

  • 1. DB2_USE_ALTERNATE_PAGE_CLEANING=OFF
    or
    2. DB2_ENABLE_AUTOCONFIG_DEFAULT=YES
    or
    3. To rewrite the "create database" statement.
    
      db2 "create database test2 AUTOMATIC STORAGE NO using codeset
    UTF-8 territory US with 'xxxx.xxxx.xxxxxxx' AUTOCONFIGURE APPLY
    NONE" ;
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of version 9.7 on Linux, Unix and Windows          *
    * platforms.                                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The issue will be found in critical conditions only:         *
    *                                                              *
    * 1. DB2_USE_ALTERNATE_PAGE_CLEANING=ON                        *
    * 2. DB2_ENABLE_AUTOCONFIG_DEFAULT=NO                          *
    * 3. "create database" statement is special, for example:      *
    *                                                              *
    * db2 "create database test2 AUTOMATIC STORAGE NO using        *
    * codeset UTF-8 territory US pagesize 16384 with               *
    * 'xxxx.xxxx.xxxxxxx' AUTOCONFIGURE APPLY NONE" ;              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 V97FP5 or higher version                      *
    ****************************************************************
    

Problem conclusion

  • The APAR was fixed on DB2 V97FP5 and higher version
    

Temporary fix

  • 1. Avoid using "AUTOCONFIGURE NONE" in CREATE DB command to    l
    et DB2 pick the right values
    2. Or make other small changes to the CREATE DB command, such  a
    s changing the page size, tablespace types, etc: all of these  h
    ave an impact on timing, and the problem may go away.
    

Comments

APAR Information

  • APAR number

    IC74951

  • 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

    2011-03-10

  • Closed date

    2012-01-02

  • Last modified date

    2012-01-02

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

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

    IC75701

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 #: IC74951

Modified date: 02 January 2012