通过很多字典可以查看那些过程是否在正在运行中,比如v$Access,dba_ddl_locks,v$db_object_cache等,当然通过v$session+v$sql/sqlarea等也是可以做到的,下面给大家介绍一下如何通过v$db_object_cache查看正在运行的过程?
col name format a56
select name
from v$db_object_cache
where locks > 0 and pins > 0 and type='PROCEDURE';