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" <[EMAIL PROTECTED]>     11/02/2002 03:33 AM
Sent by: [EMAIL PROTECTED]

Please respond to ORACLE-L
                                                                                       
                        
             To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>           
                        
             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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to