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-03-05       - By Adams, Matthew (GE Consumer & Industrial)
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Oracle 9.2.0 on hp-ux 11

An attempt to truncate a table is hanging for a very long
time.

The processes is waiting over and over for 'library cache lock ' for
the same p1 and p2 (handle address and lock address respectively).

Shouldn 't the P2 value (lock_address) map to a KADDR in v$lock?


----
Matt Adams - GE Appliances - matt.adams@(protected)
Don 't ask a man what kind of computer he uses.
If it 's a Macintosh, he 'll tell you.
If not, why embarass him? -- Tom Clancy


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN " >
<HTML >
<HEAD >
<META HTTP-EQUIV= "Content-Type " CONTENT= "text/html; charset=iso-8859-1 " >
<META NAME= "Generator " CONTENT= "MS Exchange Server version 5.5.2655.35 " >
<TITLE >library cache lock </TITLE >
</HEAD >
<BODY >

<P > <FONT SIZE=2 >Oracle 9.2.0 on hp-ux 11 </FONT >
</P >

<P > <FONT SIZE=2 >An attempt to truncate a table is hanging for a very long </FONT >
<BR > <FONT SIZE=2 >time. </FONT >
</P >

<P > <FONT SIZE=2 >The processes is waiting over and over for 'library cache lock ' for </FONT >
<BR > <FONT SIZE=2 >the same p1 and p2 (handle address and lock address respectively). </FONT >
</P >

<P > <FONT SIZE=2 >Shouldn 't the P2 value (lock_address) map to a KADDR in v$lock? </FONT >
</P >
<BR >

<P > <FONT SIZE=2 >---- </FONT >
<BR > <FONT SIZE=2 >Matt Adams - GE Appliances - matt.adams@(protected) </FONT >
<BR > <FONT SIZE=2 >Don 't ask a man what kind of computer he uses. </FONT >
<BR > <FONT SIZE=2 >If it 's a Macintosh, he 'll tell you. </FONT >
<BR > <FONT SIZE=2 >If not, why embarass him? -- Tom Clancy </FONT >
</P >

</BODY >
</HTML >