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 > Frequency of Stored Procedure Execution

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-16-04, 05:12
spgreenw spgreenw is offline
Registered User
 
Join Date: Dec 2003
Posts: 4
Frequency of Stored Procedure Execution

DB2 Version 8.1 (FP 4) on AIX 5.2.0.0
I am trying to find out the easiest way of calculating the usage and frequency of stored procedures.
I can take a snapshot of the Dynamic SQL and it will show the stored proc and the number of times it's been executed but this is all the while the call fits in the SQL cache.
Another method would be to capture the SQL through event monitors over a certain period, but this is tiresome and would take such a long time to pull out the information I need.
I was hoping there would be something in the catalog tables (last execution time) or some command I could use to make my life easier. Unfortunately, I haven't found anything like this.
Any ideas?
Many thanks.
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