DB2 - Problem description
Problem IC92891 | Status: Closed |
LOCKING EVENT MONITOR CONTAINS INVALID DATA IN PARTICIPANT_ACTIVITIES WHEN PARTICIPANT IS COMPILING SQL | |
product: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problem description: | |
When an application is compiling SQL and enters a locking event such as a lock wait or lock timeout and that event is captured by a locking event monitor, the resultant PARTICIPANT_ACTIVITY record can contain invalid values for the statement operation, statement first use time and statement last use time. For example, consider this snippet of output from db2evmonfmt: Current Activities of Participant No 1 ---------------------------------------- Activity ID : 0 Uow ID : 1459 Package Name : SYSSH200 Package Schema : NULLID Package Version : Package Token : SYSLVL01 Package Sectno : 4 Reopt value : none Incremental Bind : no Eff isolation : RR Eff degree : 0 Eff locktimeout : -2 Stmt first use : 1969-12-31-19.00.00.000000 Stmt last use : 1969-12-31-19.00.00.000000 Stmt unicode : no Stmt query ID : 0 Stmt nesting level : 0 Stmt invocation ID : 0 Stmt source ID : 0 Stmt pkgcache ID : 0 Stmt type : Dynamic Stmt operation : DDL, Set Constraints Stmt text : SELECT c1 from t1 In this particular case: - the Activity ID is correctly zero because the activity hasn't started yet (the SQL is compiling) - the Stmt first use and Stmt last use timestamps are zeros, which get converted into 1969-12-31-19.00.00.000000 - the Stmt operation is "DDL, Set Constraints" rather than "Statement not prepared" | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Anybody using the LOCKING event monitor * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Version 10.1 Fix Pack 3. Also, drop the * * registered XML schema object associated with the tables * * produced by EVMON_FORMAT_UE_TO_TABLES for the locking event * * monitor using the following command: DROP XSROBJECT * * EVMON_LOCKING_SCHEMA_SQL10010. This schema object will be * * reregistered the next time EVMON_FORMAT_UE_TO_TABLES is run * * against the locking event monitor. * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows | |
Solution | |
Problem was first fixed in Version 10.1 Fix Pack 3 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 06.06.2013 27.09.2013 27.09.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 |