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 can I tell if a procedure/package is running?

Re: How can I tell if a procedure/package is running?

From: Connor McDonald <hamcdc_at_yahoo.co.uk>
Date: Thu, 25 Oct 2001 01:47:28 -0700
Message-ID: <F001.003B3DDE.20011025014517@fatcity.com>

I would say that the best way is in its coding typically by adding calls to dbms_application_info - which is great way of tying SQL to its owning PL/SQL as well.

You might be lucky to catch it in sql_address in v$session (depending on what its actually doing at the time). Similarly, you could possibly glean some info from V$SQL via USERS_EXECUTING

You could always try modify the proc which would probably hang on library cache pin or similar - hardly a recommended way of course :-)

hth
connor


Connor McDonald
http://www.oracledba.co.uk (mirrored at http://www.oradba.freeserve.co.uk)

"Some days you're the pigeon, some days you're the statue"



Nokia Game is on again.
Go to http://uk.yahoo.com/nokiagame/ and join the new all media adventure before November 3rd.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-1?q?Connor=20McDonald?=
  INET: hamcdc_at_yahoo.co.uk

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Oct 25 2001 - 03:47:28 CDT

Original text of this message

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