If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Help with event monitor data

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-19-08, 16:36
Yadrif Yadrif is offline
Registered User
 
Join Date: Sep 2008
Posts: 7
Help with event monitor data

Hi Everyone,
I have output from an event monitor that shows over 40,000 select statements being executed during an application startup.

Can someone tell me if I am doing this correctly as that seems very high?

I used the following to create an event monitor:
Code:
create event monitor mon1 for statements where auth_id='theuser' write to file '/home/theuser'
I then ran db2evmon to generate the file.

I see in the file over 40,000 entries for "Operation: Close". Also, the User CPU and System CPU are mostly at 0, there are only 9 entries total with either of these not 0.

Does each one of the "Operation: Close" lines represent an SQL statement finishing execution?

Also, can the CPU time of zero for most queries be correct? This time goes down to a fine precision so it seems weird.

Using DB2 v9.1 on Linux.

Thanks for the advice.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On