Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to determine if a stored procedure is used (executed) in the database?

Re: How to determine if a stored procedure is used (executed) in the database?

From: Maimon Oded <oded.maimon_at_gmail.com>
Date: Thu, 10 Nov 2005 14:14:53 +0200
Message-ID: <afc75c420511100414g7dcaa9d3o6f10dc08f4aa983f@mail.gmail.com>


i think this is a bit dangerous..
invalidating code can invalidate lot more things.. and create latches when trying to compile, and locks..
 Oded.

 On 11/10/05, malcolm arnold <malcolmarnold_at_gmail.com> wrote:
>
> > For index we can monitor the index and find out if it's been used.
> >
> > Other than adding custom code to the stored procedure to track it's
> > execution, is there any other way to do it without modifying it?
>
> You can make it invalid. If someone executes it, Oracle will
> automatically recompile it, turning it valid. If it stays invalid,
> no-one has executed it...
>
> Malcolm.
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Nov 10 2005 - 06:17:18 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US