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

THE UPDATE SQL USED IN ADMIN_MOVE_TABLE IS NOT USING PARAMETER MARKERS,
CAUSING MANY STATEMENTS IN THE PACKAGE CACHE.

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
The update SQL used in ADMIN_MOVE_TABLE is not using parameter 
markers, causing many statements in the package cache. 
 
The impact is minimal, but can cause many entries in the package 
cache: 
 
$ db2 get snapshot for dynamic sql on $sid | grep OTM_SEM | wc 
-l 
     253 
 
e.g. 
Statement text                     = UPDATE 
SYSTOOLS.OTM_SEMAPHORE_TABLE SET (VALUE,TABSCHEMA,TABNAME) = 
('SEM_LOCK','DB2INST1','TABLE01') WHERE VALUE = 'SEM_UNLOCK' AND 
SEM_NAME = ? WITH RR 
Statement text                     = UPDATE 
SYSTOOLS.OTM_SEMAPHORE_TABLE SET (VALUE,TABSCHEMA,TABNAME) = 
('SEM_LOCK','DB2INST1','TABLE02') WHERE VALUE = 'SEM_UNLOCK' AND 
SEM_NAME = ? WITH RR 
Statement text                     = UPDATE 
SYSTOOLS.OTM_SEMAPHORE_TABLE SET (VALUE,TABSCHEMA,TABNAME) = 
('SEM_LOCK','DB2INST1','TABLE03') WHERE VALUE = 'SEM_UNLOCK' AND 
SEM_NAME = ? WITH RR 
Statement text                     = UPDATE 
SYSTOOLS.OTM_SEMAPHORE_TABLE SET (VALUE,TABSCHEMA,TABNAME) = 
('SEM_LOCK','DB2INST1','TABLE04') WHERE VALUE = 'SEM_UNLOCK' AND 
SEM_NAME = ? WITH RR 
Statement text                     = UPDATE 
SYSTOOLS.OTM_SEMAPHORE_TABLE SET (VALUE,TABSCHEMA,TABNAME) = 
('SEM_LOCK','DB2INST1','TABLE05') WHERE VALUE = 'SEM_UNLOCK' AND 
SEM_NAME = ? WITH RR 
Statement text                     = UPDATE 
SYSTOOLS.OTM_SEMAPHORE_TABLE SET (VALUE,TABSCHEMA,TABNAME) = 
('SEM_LOCK','DB2INST1','TABLE06') WHERE VALUE = 'SEM_UNLOCK' AND 
SEM_NAME = ? WITH RR 
Statement text                     = UPDATE 
SYSTOOLS.OTM_SEMAPHORE_TABLE SET (VALUE,TABSCHEMA,TABNAME) = 
('SEM_LOCK','DB2INST1','TABLE07') WHERE VALUE = 'SEM_UNLOCK' AND 
SEM_NAME = ? WITH RR 
Statement text                     = UPDATE 
SYSTOOLS.OTM_SEMAPHORE_TABLE SET (VALUE,TABSCHEMA,TABNAME) = 
('SEM_LOCK','DB2INST1','TABLE08') WHERE VALUE = 'SEM_UNLOCK' AND 
SEM_NAME = ? WITH RR 
Statement text                     = UPDATE 
SYSTOOLS.OTM_SEMAPHORE_TABLE SET (VALUE,TABSCHEMA,TABNAME) = 
('SEM_LOCK','DB2INST1','TABLE09') WHERE VALUE = 'SEM_UNLOCK' AND 
SEM_NAME = ? WITH RR 
Statement text                     = UPDATE 
SYSTOOLS.OTM_SEMAPHORE_TABLE SET (VALUE,TABSCHEMA,TABNAME) = 
('SEM_LOCK','DB2INST1','TABLE10') WHERE VALUE = 'SEM_UNLOCK' AND 
SEM_NAME = ? WITH RR
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All Platform                                                 * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to v10.1 Fixpack 1 or higher                         * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 10.1 Fix Pack 1 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Solution
Fixed in v10.1 Fixpack 1
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
05.07.2012
05.11.2012
05.11.2012
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.1 FixList
10.5.0.1 FixList