Fetch the repository succeeded.
--
-- Author: Prashant 'The FatDBA' Dixit
--
col objid format 99999999 head 'Object Id'
col obj format a70 head 'Owner.Object : SubObject'
col objid format 9999999
col cnt format 9,999,999
col event format a32
break on event skip 1
select event event
,count(*) cnt
,current_obj# objid
,o.owner||'.'||object_name||decode(subobject_name,null,' ',' : ')||subobject_name obj
from v$active_session_history h
,dba_objects o
where event like 'enq:%'
and current_obj# = o.object_id
group by current_obj#
,o.owner||'.'||object_name||decode(subobject_name,null,' ',' : ')||subobject_name
,event
having count(*) >20
order by event
,cnt
;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。