Results 1 to 2 of 2
  1. #1
    Join Date
    May 2004
    Posts
    10

    Unanswered: 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.

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •