DB2 - Problem description
Problem IC90241 | Status: Closed |
USING XML IN QUERIES WITH REOPT BIND OPTION OR EXTENDED INDICATORS LEAKS MEMORY IN DATABASE HEAP IN DPF ENVIRONMENTS | |
product: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problem description: | |
A problem was introduced in DPF (multiple data partition) configurations in DB2 Version 9.7 Fix Pack 7 and Version 10.1 Fix Pack 2 where memory is leaked on every recompile of a query referencing XML data. Approximately 40K is leaked on each occurrence - the memory is allocated from the Database Heap memory pool inside the Database Memory set. Monitoring tools such as MON_GET_MEMORY_POOL, database snapshot, db2pd -alldbs -mempools will show the database heap continually growing in size. db2pd -alldbs -memblocks db 2 will show a growing number of blocks similar to : Address DataAddress PoolID PoolName BlkAge Size(Bytes) I LOC File 0x07000004B1C3ED68 0x07000004B1C3ED80 2 dbh 58235 2504 0 2228 1235116617 0x07000004B1B30A48 0x07000004B1B30A60 2 dbh 58233 2504 0 2228 1235116617 0x07000004B1B31428 0x07000004B1B31440 2 dbh 58229 2504 0 2228 1235116617 ... Note the Size, LOC values may differ slightly, but the File value will be consistent. It is also normal to have a buildup of allocations similar to this after database activation as tables are first accessed. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Systems using the data-partitioning feature (DPF) and XML * * data processing running on DB2 Version 10.1 Fix Pack 2 * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 10.1 Fix Pack 3 * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows | |
Solution | |
Problem first fixed in DB2 Version 10.1 Fix Pack 3 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 15.02.2013 04.12.2013 04.12.2013 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.1.0.3 | |
10.1.0.3 |