Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: lock problem
What sort of a "terminal" is "TERMINAL A". Does the server-side process get killed when you "power off" the "terminal" ? Or is it just the "display" that on the "TERMINAL" that goes ?
If the server side process is still hanging around, it wouldn't release
the locks until it is killed or dies (e.g. by sqlnet Dead Connection
Detection
for a SQLNet connection or SIGHUP-kill -1 -- for a serial port terminal).
Another i
Hemant K Chitale
Principal DBA
Chartered Semiconductor Manufacturing Ltd
"Ali TOYGAR" <ali.toygar_at_emu.edu.tr> 11/02/2002 03:33 AM Sent by: root_at_fatcity.com
Please respond to ORACLE-L
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> cc: (bcc: CHITALE Hemant Krishnarao/IT/CHRT/ST Group) Subject: lock problem
Hi ,
I have a problem.
I wrote an sql : in TERMINAL A
select col1,col2 from tableX where col1 = ... for update
I wrot same sql , in other terminal TERMINAL B
select col1,col2 from tableX where col1 = ... for update
Then , I immidiately power off Terminal A. In other words connection is closed without rollback or commit.
But , terminal B waits.. !!!! what is the problem ? TABLE ROW LOCK is not AUTOMATICALLY killed.
I used , KILL SESSION to kill session. But in my oppinion ORACLE must do it. Because connection is closed.
I want , oracle kill this type of lock. How can I set Oracle to kill this
kind of LOCK problems ?
please help me..
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: hemantchitale_at_charteredsemi.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 Mon Feb 11 2002 - 02:35:22 CST
![]() |
![]() |