ITeye博客

TOPSQL查询

hotjava · 2008-05-06 11:06 · 数据库 · Markdown

select rownum as rank, a.*
from (
   select elapsed_Time,
       executions,
       buffer_gets,
       disk_reads,
       cpu_time
       hash_value,
      sql_text
   from  v$sqlarea
   where elapsed_time > 20000
   order by elapsed_time desc) a
where rownum < 11

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。