473,799 Members | 3,006 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Statement Event Monitor Data

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.statemen ts table. In this case though,
these records have no creator or package information and the
section_number is 0.

What is this telling me and how do I find out what the statement
actually is. Since I have 9000 occurances like this and 500 seconds of
run time for one program I consider this significant.
thanks for your help

Jack

Nov 12 '05 #1
1 2313
Hmm...section 0 for dynamic sql is a magic section used by DB2 for
internally driving SQL statements (an example is creating the tables
used by a write to table event monitor).

But what you're describing below sounds different (missing section
info?)...is there any way for you to narrow this down to a particular
sql statement? (yeah, I know, that's why you're running the evmon, but
if you could narrow it down we could collect a trace to see what's going
on)...

jb****@marketro n.com wrote:
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.statemen ts table. In this case though,
these records have no creator or package information and the
section_number is 0.

What is this telling me and how do I find out what the statement
actually is. Since I have 9000 occurances like this and 500 seconds of
run time for one program I consider this significant.
thanks for your help

Jack

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3061
by: hype | last post by:
Hi, 1) If I need to monitor a resource eg, bufferpools at the database level across all users, how can I do this ? If snapshot monitoring needs to be done wouldn't enabling the switch at the DBM level cause performance problems ? 2)How does one find the SQL statement that a particular user session is executing? TIA,
3
1926
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.
2
2652
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,...
2
2496
by: brandon | last post by:
I've followed the instructions here (http://groups-beta.google.com/group/comp.databases.ibm-db2/browse_frm/thread/1f69a5fecafba8d8/c35658a24456ad87?tvc=1&q=db2+statement+event+monitor#c35658a24456ad87) 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.00F1C5212311 Appl...
2
1467
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
2
3444
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 ...
1
1999
by: Jo | last post by:
Hi. I have a few questions regd event monitoring. Would appreciate some assistance with this. 1. Does the event monitor only insert data into the event monitoring tables once the connection has been disconnected? sometimes when i select from the tables the data does not show current connections, only when i use the FLUSH command the data is updated. so, is my understanding correct? thanks. 2. Can we activate and deactivate the event...
1
3337
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
1
6081
by: rjha94 | last post by:
$db2evmon -db DEV1926 -evm DB2DETAILDEADLOCK was showing data from all the runs whereas i want the data just for a single run. To capture fresh events, I deleted the old events file. caveat was, I deleted this event file while DB2DETAILDEADLOCK was still active (state 1). now when i Try to run the db2evmon command I get an error like Cannot open Event Monitor file "/home/db2inst1/db2inst1/NODE0000/...
0
9546
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,...
1
10243
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,...
0
10030
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9078
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7570
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
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();...
0
5467
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...
1
4146
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2941
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.