DB2 - Problembeschreibung
Problem IC85108 | Status: Geschlossen |
THE UPDATE SQL USED IN ADMIN_MOVE_TABLE IS NOT USING PARAMETER MARKERS, CAUSING MANY STATEMENTS IN THE PACKAGE CACHE. | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problembeschreibung: | |
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-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * All Platform * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to v10.1 Fixpack 1 or higher * **************************************************************** | |
Local-Fix: | |
verfügbare FixPacks: | |
DB2 Version 10.1 Fix Pack 1 for Linux, UNIX, and Windows | |
Lösung | |
Fixed in v10.1 Fixpack 1 | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 05.07.2012 05.11.2012 05.11.2012 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
Problem behoben lt. FixList in der Version | |
10.1.0.1 | |
10.5.0.1 |