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

Home -> Community -> Usenet -> c.d.o.server -> Re: table locked

Re: table locked

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Sat, 09 Mar 2002 12:18:33 +0100
Message-ID: <tnrj8u045jphqh610jfpj0q32k0hl5qjt6@4ax.com>


On Sat, 9 Mar 2002 11:07:34 +0100, "Titi" <thierry.constant2_at_wanadoo.fr> wrote:

>Hi,
>
>I have the following problem:
>
>because the application dead, a table is locked,
>I do a "alter system kill session '22,33'"
> the status of the lock changed to "killed", but the lock still exists.
>The only solution I found is to shutdown abort /startup
>
>Is there a better solution for this problem ???
>
>Thanks for your answer ...
>
>
>

select s.sid, s.serial#, p.spid
from v$session s, v$process p
where p.addr = s.paddr
and <any extra parameters>

now issue a
host kill -9 <spid> -- Unix
or
host orakill <spid> -- NT

and in a few secs........presto.

Hth

Sybrand Bakker, Senior Oracle DBA

To reply remove -verwijderdit from my e-mail address Received on Sat Mar 09 2002 - 05:18:33 CST

Original text of this message

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