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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Unlocking a table.

RE: Unlocking a table.

From: Terrian, Thomas <Thomas.Terrian_at_standardregister.com>
Date: Fri, 12 Jan 2001 16:21:21 -0500
Message-Id: <10739.126573@fatcity.com>


If you are on UNIX, you may be able to kill the OS process:

select a.spid (which is the OS process id) from v$process a, v$session b
where b.paddr = a.addr
and b.sid = <the sid>
and b.serial# = <the serial#>;

Then kill -9 the process id.

Tom

-----Original Message-----
From: Anindya, Roy (GEAE, Foreign National) [mailto:Roy.Anindya_at_ae.ge.com]
Sent: Friday, January 12, 2001 3:53 PM
To: Multiple recipients of list ORACLE-L Subject: Unlocking a table.

Hi Gurus,
  Is there any other way of unlocking an oracle table apart from   "Alter system Kill session....."

I have tried the above command and got back the message saying that the session has been killed,but V$Lock and V$Locked_Object still shows the same Sid locking a particular table.Now the Alter system command gives a response as "session does not exist"

Any ideas?? can't shut down the database now,but need to free this table for insert and updates. The lock mode is 3 (row)

thanks in advance,
Anindya.



To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Anindya, Roy (GEAE, Foreign National)
  INET: Roy.Anindya_at_ae.ge.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_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).
Received on Fri Jan 12 2001 - 15:21:21 CST

Original text of this message

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