Library Cache Lock 2004-06-02 - By David Sharples
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 3.2//EN " >
<HTML >
<HEAD >
<META HTTP-EQUIV= "Content-Type " CONTENT= "text/html; charset=us-ascii " >
<META NAME= "Generator " CONTENT= "MS Exchange Server version 6.5.6944.0 " >
<TITLE >library cache lock </TITLE >
</HEAD >
<BODY >
<!-- Converted from text/rtf format -- >
<P ALIGN=LEFT > <SPAN LANG= "en-gb " > <FONT SIZE=2 FACE= "Arial " >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 SIZE=2 FACE= "Arial " >. 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 SIZE=2 FACE= "Arial " >– </FONT > </SPAN > <SPAN LANG= "en-us " > </SPAN > <SPAN LANG= "en-us " > </SPAN > <SPAN LANG= "en-gb " > <FONT SIZE=2 FACE= "Arial " > </FONT > </SPAN > <SPAN LANG= "en-us " > </SPAN > <SPAN LANG= "en-us " > </SPAN > <SPAN LANG= "en-gb " > <FONT SIZE=2 FACE= "Arial " >flushing </FONT > </SPAN > <SPAN LANG= "en-us " > </SPAN > <SPAN LANG= "en-us " > </SPAN > <SPAN LANG= "en-gb " > <FONT SIZE=2 FACE= "Arial " > the sh </FONT > </SPAN > <SPAN LANG= "en-us " > </SPAN > <SPAN LANG= "en-us " > </SPAN > <SPAN LANG= "en-gb " > <FONT SIZE=2 FACE= "Arial " >a </FONT > </SPAN > <SPAN LANG= "en-us " > </SPAN > <SPAN LANG= "en-us " > </SPAN > <SPAN LANG= "en-gb " > <FONT SIZE=2 FACE= "Arial " >red pool </FONT > </SPAN > <SPAN LANG= "en-us " > </SPAN > <SPAN LANG= "en-us " > </SPAN > <SPAN LANG= "en-gb " > <FONT SIZE=2 FACE= "Arial " >didn’t </FONT > </SPAN > <SPAN LANG= "en-us " > </SPAN > <SPAN LANG= "en-us " > </SPAN > <SPAN LANG= "en-gb " > <FONT SIZE=2 FACE= "Arial " > help and there are no other sessions touching that table. </FONT > </SPAN > </P >
<P ALIGN=LEFT > <SPAN LANG= "en-gb " > <FONT SIZE=2 FACE= "Arial " >Thanks </FONT > </SPAN > </P >
<P ALIGN=LEFT > <SPAN LANG= "en-gb " > <FONT SIZE=2 FACE= "Arial " >Dave </FONT > </SPAN > <SPAN LANG= "en-us " > </SPAN > <SPAN LANG= "en-us " > </SPAN > <SPAN LANG= "en-gb " > </SPAN > </P >
</BODY >
</HTML >