Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC64039 Status: Closed

OPTIMIZER IS NOT ALWAYS DETECTING THAT THERE ISN'T A TEMP TBS OF
SUFFICIENT SIZE WHEN RUNNING WITH INTRA_PARALLEL ON.

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
Optimizer is not always detecting that there isn't a temporary 
tablespace of sufficient size when running with INTRA_PARALLEL 
ON. 
 
This problem was first found by an error in db2diag.log reported 
by sort. 
============================================================ 
2009-05-08-15.03.11.135125+480 I24578855A646      LEVEL: Severe 
PID     : 508402               TID  : 34212       PROC : db2sysc 
0 
INSTANCE: db2inst1             NODE : 000         DB   : SAMPLE 
APPHDL  : 0-52547              APPID: 
10.6.90.84.3677.090713131935 
AUTHID  : db2admin 
EDUID   : 34212                EDUNAME: db2agntp (SAMPLE) 0 
FUNCTION: DB2 UDB, trace services, sqlt_logerr_string (secondary 
logging fu, probe:0 
MESSAGE : Sort reclen limit exceeded 
DATA #1 : String, 157 bytes 
Sort.  In function sqlsTableInfoSetup( ) Line 800 
Record length exceeds 4005 -- the maximum allowed for this 
temporary tablespace. 
Sort record length 11813 
============================================================ 
 
But, this problem will probably not show the above error, since 
the root cause is not related to sort, but optimizer not 
detecting there isn't a temp tablespace with sufficient 
pagesize.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL.                                                         * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See error description.                                       * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to version 9.7 fixpack 1 or later fixpack.           * 
****************************************************************
Local Fix:
Create a temporary tablespace having sufficient pagesize. 
Or turn off INTRA_PARALLEL.
available fix packs:
DB2 Version 9.7 Fix Pack 1 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
This problem is first fixed in version 9.7 fixpack 1.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
22.10.2009
28.02.2010
28.02.2010
Problem solved at the following versions (IBM BugInfos)
9.7.FP1
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.1 FixList