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 > capturing sql execution times within stored procedures

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-30-05, 10:36
ranga_1 ranga_1 is offline
Registered User
 
Join Date: Dec 2005
Posts: 1
Question capturing sql execution times within stored procedures

Env:
DB2 UDB 8.1 on AIX

We are executing a db2 sql stored procedure which is invoked from a java client.
The stored procedure contains few select, insert and update statements.
Using the DB2 snapshot and event monitor we are able to find the time taken for the stored procedure execution.
We want to find what is the execution time for each select,insert,update statement within the stored procedure? We were not able to find a way to do the same? Any ideas on this will be very helpful
Reply With Quote
  #2 (permalink)  
Old 12-31-05, 04:52
grahammartin grahammartin is offline
Registered User
 
Join Date: Apr 2005
Posts: 41
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