I've followed the instructions here
( http://groups-beta.google.com/group/...5658a24456ad87)
to enable sql tracing w/ DB2 8.1. However, when I view the db2evmon
output, the values in the queries have been replaced by question marks.
For example:
65) Statement Event ...
Appl Handle: 14
Appl Id: GA990C3C.B410.0 0F1C5212311
Appl Seq number: 0012
Record is the result of a flush: FALSE
-------------------------------------------
Type : Dynamic
Operation: Execute
Section : 6
Creator : NULLID
Package : SYSSN300
Consistency Token : SYSLVL01
Package Version ID :
Cursor : SQL_CURSN300C6
Cursor was blocking: FALSE
Text : INSERT INTO GENERICEVENTLOG VALUES
(?,?,?,?,?,?,?, ?,?,?,?,?,?,?,? ,?)
I would expect the question marks to be replaced by the actual values
that were inserted at the time of the query. Is there any way to
accomplish this? 2 2495
brandon wrote: I've followed the instructions here (http://groups-beta.google.com/group/...5658a24456ad87) to enable sql tracing w/ DB2 8.1. However, when I view the db2evmon output, the values in the queries have been replaced by question marks. For example:
65) Statement Event ... Appl Handle: 14 Appl Id: GA990C3C.B410.0 0F1C5212311 Appl Seq number: 0012
Record is the result of a flush: FALSE ------------------------------------------- Type : Dynamic Operation: Execute Section : 6 Creator : NULLID Package : SYSSN300 Consistency Token : SYSLVL01 Package Version ID :
Cursor : SQL_CURSN300C6 Cursor was blocking: FALSE Text : INSERT INTO GENERICEVENTLOG VALUES (?,?,?,?,?,?,?, ?,?,?,?,?,?,?,? ,?)
I would expect the question marks to be replaced by the actual values that were inserted at the time of the query. Is there any way to accomplish this?
Not in DB2 V8.2.1.
Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Hey Serge,
About UDB 8.2.2? :-) Or any higher release?
"Serge Rielau" <sr*****@ca.ibm .com> wrote in message
news:3a******** *****@individua l.net... brandon wrote: I've followed the instructions here
(http://groups-beta.google.com/group/...owse_frm/threa
d/1f69a5fecafba8d 8/c35658a24456ad8 7?tvc=1&q=db2+s tatement+event+ monitor#c356
58a24456ad87) to enable sql tracing w/ DB2 8.1. However, when I view the db2evmon output, the values in the queries have been replaced by question marks. For example:
65) Statement Event ... Appl Handle: 14 Appl Id: GA990C3C.B410.0 0F1C5212311 Appl Seq number: 0012
Record is the result of a flush: FALSE ------------------------------------------- Type : Dynamic Operation: Execute Section : 6 Creator : NULLID Package : SYSSN300 Consistency Token : SYSLVL01 Package Version ID :
Cursor : SQL_CURSN300C6 Cursor was blocking: FALSE Text : INSERT INTO GENERICEVENTLOG VALUES (?,?,?,?,?,?,?, ?,?,?,?,?,?,?,? ,?)
I would expect the question marks to be replaced by the actual values that were inserted at the time of the query. Is there any way to accomplish this? Not in DB2 V8.2.1.
Cheers Serge -- Serge Rielau DB2 SQL Compiler Development IBM Toronto Lab This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: dba2adm |
last post by:
The SNAPSHOT_STATEMENT table function gives the CPU used rows read etc
information. How do I know the total number of time the particular
statement was executed (as in snapshot_dyn_sql's num_executions)?
Also, is the value "STMT_USR_CPU_TIME_S" etc cumulative?
Thanks.
|
by: JS |
last post by:
I have v8.1 fix5 using Win2k AS on 7 node logical system.
I create event monitor writing to file and turn it on. Using
application, I connect to db and navigate from screen to screen,
generating reports using select sql. I flush the buffer, turn the
event monitor off and format the data with db2evom. But, the output
never contains the statement text. But, if I issue sql from the clp,
these statements appear in the output.
In addition,...
|
by: jbaker |
last post by:
I have run an statement event monitor and am digging through the data
it produced. Some of the rows in the stmt table have me perplexed.
These records have a stmt_text that is blank with a stmt_type of 1. I
understand that this means it is a static SQL statement and I can use
the creator, package_name, package_version_id and section_number to
look up the text in the syscat.statements table. In this case though,
these records have no...
|
by: yoyo |
last post by:
Is there any way in DB2 to get the exact command.
I have an event monitor I created for statments, and all the statment
values are filled with a question mark.
I was using this at another site (different application too) and the
values were filled in properly, but here it is not.
This is DB2 8.2 (8.1fp6) on AIX 5.3ml02
create event monitor LCACAPTURE for statements write to file
'/db2adm/mon' NONBLOCKED REPLACE ON NODE 1 LOCAL
|
by: mumtaz |
last post by:
I set up a few statement event monitors from CLP. How can I list all the
statement event monitors and remove them. They do not show up in control
centre, and I know they exist because when I try to set a new statement
event monitor with a name that I used before, it gives me an error
message saying that event monitor already exists.
Any ideas ?
thanks
| |
by: nekiv90 |
last post by:
Greetings,
How can 'rows read' from a DB2 CALL statement incur so many reads? I
would expect it to be zero.
Could someone enlighten me on this? Thanks!
Here is output from executing event monitor on STATEMENTS:
68) Statement Event ...
|
by: Anurag |
last post by:
Hi,
ENV: DB2 ESE 8.2.3 DPF (11 nodes) on AIX 5.x
====
SCENARIO / SETUP
======== ======
(1) I needed to find out CPU Time (User / System) of SQL queries for
benchmark testing.
(2) I setup an EVENT MONITOR WHERE AUTH_ID = 'ANURAG'
(write to table).
|
by: sethwai |
last post by:
Hi,
I've created a statement monitor with the table option on a
partitioned database. I have the table going to a partition group that
includes all partitions on the database. When I look at the monitor
results table there isn't any stmt_text output. Has anyone encountered
this problem? The monitor definition and table definition as defined
by db2 follows:
create event monitor stmts for statements write to table
|
by: vijay.db |
last post by:
Hi group,
Have a problem with event monitor so my db2diag.log is getting filled
like any thing..
Running DB2 V8.1 Fixpack 6 in AIX server.
Created a event monitor and redirecting it's output to a file..getting
error like
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |