Had a problem this morning where a package was invalid and it would hang
when we tried to recompile.

We assumed that some other session was trying to recompile it but was
hanging for some reason.

I have plenty of ways to look at table locks but don't have a query to show
locked packages.  Frantic searching through the index of the SQL & PL/SQL
Annotated Archives didn't help.  I ended up searching the Active sessions
that looked likely and killing them (and needing to do a kill -9 on the OS
level as well) until I was able to recompile the package.

Does anyone have a query that will save the random searching next time?


Thanks,
Jay Miller
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Miller, Jay
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to