Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
Library Cache Lock

Library Cache Lock

2004-06-02       - By Khedr, Waleed
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

The metalink has answers for similar issues.


-- --Original Message-- --
From: David Sharples [mailto:dsharples@(protected)]
Sent: Wednesday, June 02, 2004 8:44 AM
To: oracle-l@(protected)
Subject: library cache lock



Hi, got a strange problem. I am trying to truncate a partition in a table, but it just hangs forever, it is waiting on a library cache lock. Anyone know why and how I can clear it - flushing the shared pool didn 't help and there are no other sessions touching that table.

Thanks

Dave


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN " >
<HTML > <HEAD >
<META HTTP-EQUIV= "Content-Type " CONTENT= "text/html; charset=iso-8859-1 " >
<TITLE >library cache lock </TITLE >

<META content= "MSHTML 6.00.2800.1400 " name=GENERATOR > </HEAD >
<BODY >
<DIV > <SPAN class=508460813-02062004 > <FONT color=#0000ff size=2 >The metalink has
answers for similar issues. </FONT > </SPAN > </DIV >
<DIV > <SPAN class=508460813-02062004 > <FONT color=#0000ff
size=2 > </FONT > </SPAN >  </DIV >
<BLOCKQUOTE dir=ltr style= "MARGIN-RIGHT: 0px " >
<DIV class=OutlookMessageHeader dir=ltr align=left > <FONT face=Tahoma
size=2 >-- --Original Message-- -- <BR > <B >From: </B > David Sharples
[mailto:dsharples@(protected)] <BR > <B >Sent: </B > Wednesday, June 02,
2004 8:44 AM <BR > <B >To: </B > oracle-l@(protected) <BR > <B >Subject: </B > library
cache lock <BR > <BR > </FONT > </DIV > <!-- Converted from text/rtf format -- >
<P align=left > <SPAN lang=en-gb > <FONT face=Arial size=2 >Hi, got a strange
problem.  I am trying to truncate a partition in a table, but it just
hangs forever, it is waiting on a library cache lock </FONT > </SPAN > <SPAN
lang=en-us > </SPAN > <SPAN lang=en-us > </SPAN > <SPAN lang=en-gb > <FONT face=Arial
size=2 >.  Anyone know why and how I can clear it </FONT > </SPAN > <SPAN
lang=en-us > </SPAN > <SPAN lang=en-us > </SPAN > <SPAN lang=en-gb > <FONT face=Arial
size=2 >– </FONT > </SPAN > <SPAN lang=en-us > </SPAN > <SPAN lang=en-us > </SPAN > <SPAN
lang=en-gb > <FONT face=Arial size=2 > </FONT > </SPAN > <SPAN lang=en-us > </SPAN > <SPAN
lang=en-us > </SPAN > <SPAN lang=en-gb > <FONT face=Arial
size=2 >flushing </FONT > </SPAN > <SPAN lang=en-us > </SPAN > <SPAN
lang=en-us > </SPAN > <SPAN lang=en-gb > <FONT face=Arial size=2 > the
sh </FONT > </SPAN > <SPAN lang=en-us > </SPAN > <SPAN lang=en-us > </SPAN > <SPAN
lang=en-gb > <FONT face=Arial size=2 >a </FONT > </SPAN > <SPAN
lang=en-us > </SPAN > <SPAN lang=en-us > </SPAN > <SPAN lang=en-gb > <FONT face=Arial
size=2 >red pool </FONT > </SPAN > <SPAN lang=en-us > </SPAN > <SPAN
lang=en-us > </SPAN > <SPAN lang=en-gb > <FONT face=Arial
size=2 >didn’t </FONT > </SPAN > <SPAN lang=en-us > </SPAN > <SPAN
lang=en-us > </SPAN > <SPAN lang=en-gb > <FONT face=Arial size=2 > help and there are
no other sessions touching that table. </FONT > </SPAN > </P >
<P align=left > <SPAN lang=en-gb > <FONT face=Arial
size=2 >Thanks </FONT > </SPAN > </P >
<P align=left > <SPAN lang=en-gb > <FONT face=Arial size=2 >Dave </FONT > </SPAN > <SPAN
lang=en-us > </SPAN > <SPAN lang=en-us > </SPAN > <SPAN
lang=en-gb > </SPAN > </P > </BLOCKQUOTE > </BODY > </HTML >