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 > Monitoring table scans by user

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-12-04, 07:33
mjbullen mjbullen is offline
Registered User
 
Join Date: May 2004
Posts: 10
Monitoring table scans by user

Hi,

I need to monitor which database users select's data from an individual table. There is a vast anmount of SQL hitting the database, so capturing all SQL is not practical. Anybody know if/how I could achieve this ? This is a DB2 UDB v7.2 database running on windows 2000.

Any help appreciated.

Mike.
Reply With Quote
  #2 (permalink)  
Old 05-12-04, 09:08
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
If you create a CONNECTION EVENT MONITOR , information about all applications will be captured at connect and disconnect time ...

If you parse it and load into a table , you can then get information at application level(including number of rows read) ... This may give a fair idea of what you want ...

Another option is to use db2 auditing, and capture data as and when connections happen ... This data can be loaded into a table using db2 facilites itself

HTH

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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