Oracle查看历史执行计划
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Oracle查看历史执行计划相关的知识,希望对你有一定的参考价值。
select b.instance_number,
b.snap_id,
a.begin_interval_time,
a.end_interval_time,
b.sql_id,
b.plan_hash_value,
b.parsing_schema_name,
b.executions_delta,
b.rows_processed_delta,
round(b.elapsed_time_delta / decode(b.executions_delta,0,1,b.executions_delta),0) as avg_elapsed_time,
round(b.cpu_time_delta / decode(b.executions_delta,0,1,b.executions_delta),0) as avg_cpu_time,
round(b.buffer_gets_delta / decode(b.executions_delta,0,1,b.executions_delta),0) as avg_buffer_gets,
round(b.iowait_delta/decode(b.executions_delta,0,1,b.executions_delta),0) as avg_iowait,
round(b.disk_reads_delta/decode(b.executions_delta,0,1,b.executions_delta),0) as avg_disk_reads,
round(b.ccwait_delta/decod
以上是关于Oracle查看历史执行计划的主要内容,如果未能解决你的问题,请参考以下文章