473,386 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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.statements 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 2266
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****@marketron.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.statements 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
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...
3
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...
2
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...
2
by: brandon | last post by:
I've followed the instructions here...
2
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...
2
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...
1
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...
1
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...
1
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
jinu1996
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...

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.