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 IT09944 Status: Closed

MEMORY USAGE CAN INCREASE WHEN RUNNING SQL ON OBJECT WITH XML COLUMN.

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
Memory usage can increase WHEN RUNNING SQL on object with XML 
column. 
It can also result in an instance crash if we run out of memory 
on the instance/machine. 
 
Requirements to see this APAR: 
 
- Database is created with Collating using 
UCA500R1_LEN_AN_CX_EX_FX_HX_NX_S1. 
- SQL uses a table that has an XML column. 
- Table may also require XML Indexes. 
- The SQL uses XMLTABLE and/or XMLNAMESPACES. 
 
Can check for this by running the following during or just after 
the SQL: 
 
syscpid=`db2pd -edu | grep "db2sysc PID:" | awk  '{ print $3}'` 
db2pd -memblocks sort pid=${syscpid} |head -20 
 
The output will show the following: 
 
Address            DataAddress        PoolID     PoolName 
BlkAge Size(Bytes)  I LOC   File 
Total set size: 0 bytes 
 
Memory blocks sorted by size: 
PoolID     PoolName   TotalSize(Bytes)     TotalCount LOC   File 
 
0                     205489369            295026     110 
sqlnlsICUcallback.C
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All Platforms                                                * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to  DB2 LUW v9.7 Fixpack 11 or Later.                * 
****************************************************************
Local Fix:
Solution
First Fixed in DB2 LUW v9.7 Fixpack 11.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
09.07.2015
08.10.2015
08.10.2015
Problem solved at the following versions (IBM BugInfos)
9.7.FP11
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.11 FixList