标签:application database dba oracle sql
打开SQL执行时间统计
set timing on;
查询是否有执行时间较长的SQL存在
select a.sid, b.sql_text
from v$session a, v$sqlarea b
where a.sql_hash_value = b.hash_value
and a.sid in
(SELECT SID from GV$Session_longops where TIME_REMAINING > 0);
标签:application database dba oracle sql
原文地址:http://blog.csdn.net/jenya007/article/details/40391825