select * from v$db_object_cache where locks > 0 and pins > 0 and type='PROCEDURE';
select b.sid,b.SERIAL#,a.OBJECT,b.SQL_ADDRESS from SYS.V_$ACCESS a, SYS.V_$session b where a.type ='PROCEDURE'-- and (a.OBJECT like upper('%EXPORT_DAILY%') or -- a.OBJECT like lower('%EXPORT_DAILY%')) and a.sid=b.sid and b.status = 'ACTIVE';
-- alter system kill session '191,340';-- alter system kill session '191,340';
tablespace users pctfree 10 initrans 2 maxtrans 255 storage ( initial 64k next 1m minextents 1 maxextents unlimited )
tablespace users pctfree 10 initrans 2 maxtrans 255 storage ( initial 192k next 1m minextents 1 maxextents unlimited )
ORACLE强制停止存储过程
最新推荐文章于 2021-04-14 20:59:33 发布