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

Home -> Community -> Usenet -> c.d.o.misc -> Re: How to delete a lock

Re: How to delete a lock

From: <dn.perl_at_gmail.com>
Date: 8 Aug 2006 11:46:09 -0700
Message-ID: <1155062769.789980.69540@p79g2000cwp.googlegroups.com>

DA Morgan wrote:
>
>
> Go to www.psoug.org and click on Morgan's Library.
> Scroll down to Killing Sessions.
>
> But before you do anything else run this:
>
> SELECT status
> FROM gv$session
> WHERE sid = <sid>
> AND serial# = <serial#>;
>
> What is the status?
>

status = 'ACTIVE' .

I tried to drop the user which was locking the table to see what message I get. One function, which looks pretty harmless, was supposed to be the culprit. IIRC the message talked about a locked function, but I am/was not sure whether a function can be locked.

At any rate, I needed to kill the session quickly, and move on, since I had got badly stuck. I will revisit the thread later to study it in greater detail.

Thanks to everybody who responded to my query. Received on Tue Aug 08 2006 - 13:46:09 CDT

Original text of this message

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