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 > Impact of Running EventMonitors

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-17-05, 13:53
rajym rajym is offline
Registered User
 
Join Date: Oct 2004
Posts: 29
Impact of Running EventMonitors

I was wondering if there is any negative impact on the DB if we are running the eventmonitors continuously.

We have setup the eventmonitors to run everyhour during peak business hours which collects all the sqls that were being processed by the DB. The idea had been to collect top rated sqls.

Till now we didn't encounter any problems. But now we have a new database on the same server under the same instance and I have to enable the eventmonitors for collecting sql statements. I was worried about any negative impacts because of this. We are using "NONBLOCKED" evmon type and collects the information into a file.

Please advice.

Thanks

- Raja
Reply With Quote
  #2 (permalink)  
Old 11-22-05, 12:21
sharrisdb2 sharrisdb2 is offline
Registered User
 
Join Date: Jul 2005
Location: Irvine, CA
Posts: 23
Raja,

As you have now experienced, yes... In general, event monitors should only be run on a production systems as a last resort. An exception can be made for the deadlock monitor on V8. There are other exceptions, but they are on a case by case basis.

This is one selling point that Oracle people love to bring up. The event monitor is one of the weak points of DB2 in my opinion. I've had it slow my dev and QA systems to a crawl during tests. You have to be very careful what you monitor, how much you monitor, and when.

Unless you really need all SQL, a snapshot is usually enough for a decent picture of what is going on.

-- Steve
DB2 UDB DBA
Reply With Quote
  #3 (permalink)  
Old 11-28-05, 13:38
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
IIRC, I have heard that the impact is in the order of 2-5% depending on your workload .. Do not quote me on this, though ...

the impact is much higher if you are writing monitor output to a table especially in a high transaction environment ...

If you are writing to a file, make sure the IO of the event monitor file does not impact the IO of the database.. I mean at the IO System level ..

Writing to a pipe may decrease the impact though you may be loosing a bit more monitor information than you do now ..

HTH

Sathyaram
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