啥都不说了,见下面的语句:
点击(此处)折叠或打开
- 首先要确认一下每个归档日志(redo日志)文件的大小,通过下面的SQL:
-
- select bytes/1024/1024 MB from v$log;
其次以下SQL可以完成每天归档情况的统计:
- select max (first_time) max_first_time,
- to_char (first_time, 'yyyy-mm-dd') day,
- count (recid) count_number,
- count (recid) * 200 size_mb
- from v$log_history
- group by to_char (first_time, 'yyyy-mm-dd')
- order by 1;
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22878696/viewspace-1790225/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22878696/viewspace-1790225/