表扫描统计
select name , value from v$sysstat where name like '%table scan%'
说明:
table scans(long tables):指多于4个块的表
table scans(short tables):指<=4个块的表
如果table scans(long tables)的值比较大,则说明被访问的表中有很大比例不是按索引查找的
使用以下语句确定长时间操作运行的进度
select
sid , serial# , opname , to_char(start_time,'hh24:mi:ss') as start_time ,
(sofar/totalwork)*100 as percent_complete
from v$session_longops;
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15720542/viewspace-622748/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/15720542/viewspace-622748/