查看Oracle数据库每天产生归档日志的数据量:
select trunc(completion_time),
round(SUM(blocks * block_size/1024 /1024/1024),2) GB,
count(*) as Count
FROM v$archived_log
group by trunc(completion_time)
order by trunc(completion_time)
查看Oracle数据库每天产生归档日志的数据量:
select trunc(completion_time),
round(SUM(blocks * block_size/1024 /1024/1024),2) GB,
count(*) as Count
FROM v$archived_log
group by trunc(completion_time)
order by trunc(completion_time)