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: Locks modes

Re: Locks modes

From: Mark Powell <Mark.Powell_at_eds.com>
Date: 19 May 1998 18:46:09 GMT
Message-ID: <01bd8357$2c010660$a12c6394@J00679271.ddc.eds.com>

Rick Hanks <hanksr_at_logica.com> wrote in article <01bd832c$273ab340$8011ea9e_at_ukp01221.logica.co.uk>...
> While investigating a locking problem the following info was retrieved
from
> dba_locks
>
> session_id 8
> lock_type DML
> mode_held Row-X (SX)
> mode requested None
> lock_id1 1161
> lock_id2 0
> last_convert 4480
> Blocking_others Blocking
>
> Coluld anyone explain why this is flagged as Blocking when mode_requested
> is None (v$lock.lmode = 0)., or have i mis-interpreted something?
>

The process is marked as blocking because it has the lock and someone else wants it. It's mode requested is none, because it has the lock so mode held has a value equal to the type of lock held. The wanting process has mode held of none while their mode requested has a value equal to the lock mode they want. Received on Tue May 19 1998 - 13:46:09 CDT

Original text of this message

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