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 | |
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 | |
10.5.0.1 |