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

Home -> Community -> Mailing Lists -> Oracle-L -> Recompiling blocked package - locating blocking session

Recompiling blocked package - locating blocking session

From: Miller, Jay <JayMiller_at_TDWaterhouse.com>
Date: Tue, 23 Jul 2002 07:23:30 -0800
Message-ID: <F001.0049F680.20020723072330@fatcity.com>


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: JayMiller_at_TDWaterhouse.com

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 Tue Jul 23 2002 - 10:23:30 CDT

Original text of this message

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