home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
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 IT05009 Status: Closed

SEVERE MEMORY LEAK IN DATABASE MEMORY ON DB2 10.5 FIX PACK 4 IN DPF
ENVIRONMENTS WITH INTRAPARTITION PARALLELISM ENABLED

product:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problem description:
On DB2 10.5 Fix Pack 4, DB2 memory management metadata is leaked 
on non-coordinator members due to a logic problem when using 
both query intra-parallelism and DPF (Database Partitioning 
Feature). This memory is leaked in the database memory set per 
query for many common types of SQL execution. Query 
intra_parallelism is typically being used when INTRA_PARALLEL = 
YES, but can also be dynamically enabled through other methods. 
 
The easiest way to determine the leak is occurring is by 
checking for a build up of Shared Sort memory subpools on the 
non-coordinator members. Log into a machine where a 
non-coordinator member resides, and find the total count of 
these subpools: 
 
   export DB2NODE=<member> 
   db2pd -db <database> -mempools subpool | grep sort | grep 
subpool | wc -l 
 
This number should not greatly exceed the number of agents on 
the member. 
 
The approximate amount of memory leakage can be determined by 
performing the following query for a given member. If 
memory_set_used greatly exceeds memory_pool_used, it is highly 
likely caused by the product defect addressed in this APAR. 
 
For example: 
 
db2 select memory_set_used from 
table"(mon_get_memory_set('DATABASE','SAMPLEDB',1))" 
 
MEMORY_SET_USED 
-------------------- 
              188672 
 
db2 select sum"(memory_pool_used)" as memory_pool_used from 
table"(mon_get_memory_pool('DATABASE','SAMPLEDB',1))" 
 
MEMORY_POOL_USED 
-------------------- 
              184704 
 
Note that this difference of approximately 4MB is minor and 
would not be a concern. A difference of 100MB or more would be a 
concern and the applicability of this APAR should be further 
evaluated. However, as stated, any DPF environment using query 
parallelism will encounter the leak, and should apply the 
workaround or contact support for a temporary fix.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* User combining intra-parallel partitioning with the database * 
* partitioning feature                                         * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 10.5.0.5.                             * 
****************************************************************
Local Fix:
Discontinue the use of query parallelism using the following 
command: 
db2 update dbm cfg using intra_parallel no
Solution
The problem is first fixed in DB2 version 10.5.0.5.
Workaround
see Local Fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
17.10.2014
22.12.2014
09.04.2015
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.5.0.5 FixList