您的位置:首页 > 数据库 > Oracle

【oracle】查看oracle 执行计划

2012-10-22 15:59 423 查看
select timestamp,id,lpad(' ', depth * 4) || operation operation,options,object_owner,object_name,optimizer,

cost, cardinality, bytes, cpu_cost, io_cost, temp_space, access_predicates

from dba_hist_sql_plan

where plan_hash_value='3530185607' -- sql_id='90bu5gk069js1' --and

ORDER BY timestamp,ID;

select timestamp,id,lpad(' ', depth * 4) || operation operation,options,object_owner,object_name,optimizer,

cost, cardinality, bytes, cpu_cost, io_cost, temp_space, access_predicates

from v$sql_plan

where sql_id='994f3dnk69v3h';
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: