Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: table locked from n minutes
> Is there a way to know that a table has been locked for n minutes ?
Reports session(s) which have held an exclusive lock more than 10 minutes.
(sysdate-(10/1440))
and locked_mode in (3,5,6)
and session_id = sid
and saddr = ses_addr
and lo.object_id = do.object_id
order by start_time desc
/
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Fri Apr 02 2004 - 09:06:38 CST
![]() |
![]() |