DB2 - Problembeschreibung
| Problem IC76542 | Status: Geschlossen |
DB2_EVMON_STMT_FILTER DOES NOT FILTER | |
| Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
| Problembeschreibung: | |
This issue is easily reproducible against the sample database
(db2sampl)
Using the following shell script:
MONITOR_NAME=EVMON_STMT
# the following should record only the "CALL" statements
db2set DB2_EVMON_STMT_FILTER='${MONITOR_NAME}:12'
db2stop force
db2start
db2 connect to sample
db2 delete from stmt_${MONITOR_NAME} where 1=1
db2 create event monitor ${MONITOR_NAME} for statements write
to table
db2 set event monitor ${MONITOR_NAME} state 1
db2 "select FIRSTNME, LASTNAME from employee where
EMPNO='000230'"
db2 set event monitor ${MONITOR_NAME} state 0
db2 "select start_time, sequence_no, stmt_operation,
substr(stmt_text,1,50) statement from stmt_${MONITOR_NAME}"
The last select statement will show the following output :
START_TIME SEQUENCE_NO STMT_OPERATION
STATEMENT
-------------------------- ----------- --------------------
--------------------------------------------------
2011-05-20-10.34.48.981832 00004 1
select FIRSTNME, LASTNAME from employee where EMPN
2011-05-20-10.34.49.089473 00004 4
select FIRSTNME, LASTNAME from employee where EMPN
2011-05-20-10.34.49.089473 00004 7
select FIRSTNME, LASTNAME from employee where EMPN
2011-05-20-10.34.49.089473 00004 6
select FIRSTNME, LASTNAME from employee where EMPN
2011-05-20-10.34.49.093972 00004 8
5 record(s) selected. | |
| Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * See error description above * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 9.7 Fix Pack 5 * **************************************************************** | |
| Local-Fix: | |
| verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows | |
| Lösung | |
First fixed in DB2 version 9.7 Fix Pack 5 | |
| Workaround | |
keiner bekannt / siehe Local-Fix | |
| Bug-Verfolgung | |
Vorgänger : APAR is sysrouted TO one or more of the following: IC76692 Nachfolger : | |
| Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 23.05.2011 23.12.2011 23.12.2011 |
| Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP5 | |
| Problem behoben lt. FixList in der Version | |
| 9.7.0.5 |
|