Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: select * from DBA_BLOCKERS is haging forever; V 8.1.7.3; Sun OS
In my experience, DBA_BLOCKERS is *quite* slow... especially if there are more than a handful of sessions holding locks. I often use the following query instead.
select /*+ RULE */ l.session_id, s.serial#, s.username, s.status from dba_locks l, v$session s where l.blocking_others = 'Blocking' and l.session_id = s.sid order by 1;
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Jay
Sent: Sunday, February 29, 2004 2:07 PM
To: oracle-l_at_freelists.org
Subject: select * from DBA_BLOCKERS is haging forever; V 8.1.7.3; Sun OS
Dear All,
Any idea why "select * from DBA_BLOCKERS;" is haging forever.
Thanks
Jay
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlput 'unsubscribe' in the subject line.
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
![]() |
![]() |