Return-Path: <root@fatcity.cts.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id gBQA1vD26393
 for <oracle-l@orafaq.net>; Thu, 26 Dec 2002 04:01:57 -0600
X-ClientAddr: 209.68.248.164
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id gBQA1uc26388
 for <oracle-l@orafaq.net>; Thu, 26 Dec 2002 04:01:57 -0600
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id WAA94593;
 Wed, 25 Dec 2002 22:44:08 -0800 (PST)
Received: by fatcity.com (26-Feb-2001/v1.0g-b72/bab) via UUCP id 00522144; Wed, 25 Dec 2002 22:18:42 -0800
Message-ID: <F001.00522144.20021225221842@fatcity.com>
Date: Wed, 25 Dec 2002 22:18:42 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Arup Nanda" <arupnanda@hotmail.com>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Arup Nanda" <arupnanda@hotmail.com>
Subject: Re: Killed status
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 72; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: multipart/alternative;	boundary="----=_NextPart_000_0010_01C2AC7C.609C1880"
------=_NextPart_000_0010_01C2AC7C.609C1880
Content-Type: text/plain;
 charset="big5"
Content-Transfer-Encoding: quoted-printable

This means the transaction issued by the session is still rolling back. =
The session is not killed completely or the table locks removed till the =
transaction completely rolls back.

So how do you know when it's going to be over? Just issue the following =
query

SELECT USED_UBLK
FROM V$TRANSACTION
WHERE ADDR =3D (SELECT TADDR FROM V$SESSION WHERE SID =3D yoursid)

The USED_BLK shows number of blocks used by this transaction in the UNDO =
segments and when this transaction rolls back, the blocks are released. =
Issue this query repeatedly and you sould see the USED_UBLK figure =
dropping and that will give you some indication how fast the roll back =
is taking place.

HTH

Arup Nanda
www.proligence.com
  ----- Original Message -----=20
  From: shuan.tay(PCI=BEG=B8R=B3=D4)=20
  To: Multiple recipients of list ORACLE-L=20
  Sent: Wednesday, December 25, 2002 10:48 PM
  Subject: Killed status


  Dear all DBAs,

  Is there any way to remove the lock of table which status is already =
marked as "killed"?
  No matter how many times i try to kill the session, it still marked as =
"killed",
  but it still won't release the lock.

  Thanks in advance.

------=_NextPart_000_0010_01C2AC7C.609C1880
Content-Type: text/html;
 charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2719.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>This means the transaction issued by =
the session is=20
still rolling back. The session is not killed completely or the table =
locks=20
removed till the transaction completely rolls back.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>So how do you know when it's going to =
be over? Just=20
issue the following query</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>SELECT USED_UBLK</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>FROM V$TRANSACTION</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>WHERE ADDR =3D (SELECT TADDR FROM =
V$SESSION WHERE SID=20
=3D yoursid)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The USED_BLK shows number of blocks =
used by this=20
transaction in the UNDO segments and when&nbsp;this transaction rolls =
back, the=20
blocks are released.&nbsp;Issue this query repeatedly and you sould see =
the=20
USED_UBLK figure dropping and that will give you some indication how =
fast the=20
roll back is taking place.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>HTH</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Arup Nanda</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>www.proligence.com</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dshuan.tay@pci.co.id=20
  href=3D"mailto:shuan.tay@pci.co.id">shuan.tay(PCI=BEG=B8R=B3=D4)</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3DORACLE-L@fatcity.com=20
  href=3D"mailto:ORACLE-L@fatcity.com">Multiple recipients of list =
ORACLE-L</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, December 25, =
2002 10:48=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Killed status</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DMingLiu size=3D2>Dear all DBAs,</FONT></DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>Is there any way to =
remove the lock of table which=20
  status is already marked as "killed"?</FONT></DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>No matter how many times =
i try to kill the session,=20
  it still marked as "killed",</FONT></DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>but it still won't =
release the lock.</FONT></DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>Thanks in=20
advance.</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0010_01C2AC7C.609C1880--
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Arup Nanda
  INET: arupnanda@hotmail.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

