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 > Alert for no database activity

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-11-04, 16:34
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
Alert for no database activity

Hi guys,

On a V8 database I want to put an alert if there is no DML activity i.e. insert/update/delete for a specified period of time; let's say 10 minutes.Any idea what can be done to achieve this?

Thanks in advance.

Paul
Reply With Quote
  #2 (permalink)  
Old 11-12-04, 08:11
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Quote:
Originally Posted by dollar489
Hi guys,

On a V8 database I want to put an alert if there is no DML activity i.e. insert/update/delete for a specified period of time; let's say 10 minutes.Any idea what can be done to achieve this?

Thanks in advance.

Paul
You could probably use a statement event monitor, see the System Monitor Guide.

Would slow things down a bit, though.
__________________
--
Jonathan Petruk
DB2 Database Consultant
Reply With Quote
  #3 (permalink)  
Old 11-12-04, 14:26
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
Thanks Jonathan.

I made use of the Rows deleted/Rows inserted and Rows updated to track the activity within the database. Thanks.

Paul
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