统计在线日志(online redo log)切换时间
可以通过以下sql来查询,你系统的日志切换的频率,从而确定是否需要加大redo log size
select b.recid,
to_char(b.first_time,'dd-mon-yy hh:mi:ss') start_time, a.recid,
to_char(a.first_time,'dd-mon-yy hh:mi:ss') end_time,
round(((a.first_time-b.first_time)*25)*60,2) minutes
from v$log_history a, v$log_history b
where a.recid = b.recid+1
order by a.first_time asc
/
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8111049/viewspace-622057/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/8111049/viewspace-622057/
在线日志切换时间统计
本文提供了一种通过SQL查询在线日志(redolog)切换时间的方法,帮助确定系统日志切换频率,以此评估是否需要调整redolog大小。
1617

被折叠的 条评论
为什么被折叠?



