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: RE: package compilation hangs

RE: RE: package compilation hangs

From: Mohan, Ross <RMohan_at_arbinet.com>
Date: Tue, 31 Aug 2004 16:10:04 -0400
Message-ID: <CC74E7E10A8A054798B6611BD1FEF4D306330D5C@vamail01.thexchange.com>


do it again, next time, see if the sid is a job. dbms_job.broken....kill, rinse, repeat.

-----Original Message-----
From: jaysingh1_at_optonline.net [mailto:jaysingh1_at_optonline.net] Sent: Tuesday, August 31, 2004 4:02 PM
To: oracle-l_at_freelists.org
Subject: Re: RE: package compilation hangs

Gogala,

Thanks for your immediate response.

<<SELECT * FROM V$SESSION_WAIT where sid= 667 >>

If I kill sid 667, some other session appears in DBA_DDL_LOCKS table for that package.

V$SESSION_WAIT says that it is waiting fro "library cache pin"

We cannot restart the db. It is 24/7 but OPS environment.

Thanks
Jay

> Did you check V$SESSION_WAIT to see what is it waiting for? It will
> give you exactly the lock you are waiting for. Kill the session
> holding the lock and re-try. If that doesn't help, connect as sysdba
> and type the following:
> STARTUP FORCE RESTRICT
> That will almost guarantee that you can recompile the package.



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------


----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Tue Aug 31 2004 - 15:05:59 CDT

Original text of this message

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