Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Tracking Procedures
On May 15, 12:37 pm, "ame..._at_iwc.net" <ame..._at_iwc.net> wrote:
> Hi,
>
> We have a database with over 2000 stored procedures. We're pretty
> sure not all of them are used. Short of turning on tracing for a few
> weeks, or trying to use TOAD or something to piecemeal everything
> together, does Oracle have any way of storing the last time a
> procedure was executed??
>
> Thanks!
Not directly. You might feel energetic and decide to wade through the entries in V$SQL or V$SQLAREA to find calls to said procedures. You could also modify each and every one of them to write to a usage table so you could query the results. Then, you've already mentioned using 10046 trace output to discover this. That is probably your best bet.
David Fitzjarrell Received on Tue May 15 2007 - 13:51:06 CDT
![]() |
![]() |