How to find the runtime for a Stored Proc
- From: "nsuleman" <nsuleman@xxxxxxxxx>
- Date: 30 Mar 2006 12:50:35 -0800
I am not an Oracle Developer so please bare with me n the terminology.
I am a Crystal Reports Developer and I was told to create Stored Procs
instead of SQL Queries for the report. Everything is working great. Now
my manager and the Business Users wants to know how much time does each
Proc take. And the time that they want is only for Execution time.
What I mean is, they just want the time from the sec I start the Proc
execution, till its complete (not including the time it takes to return
data). I hope I made it clear.
As an example... Say I start the Proc at 10:00:00 AM.... at 10:00:05 AM
I start getting records and the Proc is complete at 10:01:03 AM... Out
of this... I would like to know the time difference between 10:00:00 AM
and 10:00:05 AM which would be 5 secs.
I would really really appreciate if someone could help me figure that
out. By the way, another important thing... ALL my Stored Procs have an
OUT parameter of type... REF CURSOR. Crystal will only understand a
Proc with that return type.
Thanks again to everyone for all your help.
.
- Follow-Ups:
- Re: How to find the runtime for a Stored Proc
- From: DA Morgan
- Re: How to find the runtime for a Stored Proc
- Prev by Date: Re: sqlldr : How to upload records where all columns are null
- Next by Date: interview today - urgent req. //// BEA weblogic portal developer
- Previous by thread: Oracle connection
- Next by thread: Re: How to find the runtime for a Stored Proc
- Index(es):
Relevant Pages
|