标签:lock and 生成 bsp sysdate blocks 归档 查看 oracl
1.查看每周生成的归档量
select logtime,
count(*),
round(sum(blocks * block_size) / 1024 / 1024) mbsize
from (select trunc(first_time, ‘dd‘) as logtime, a.BLOCKS, a.BLOCK_SIZE
from v$archived_log a
where a.DEST_ID = 1
and a.FIRST_TIME > trunc(sysdate - 7))
group by logtime
order by logtime desc;
LOGTIME COUNT(*) MBSIZE
--------- ---------- ----------
05-NOV-18 225 11465
04-NOV-18 516 26211
03-NOV-18 510 25946
02-NOV-18 508 25606
01-NOV-18 497 25330
31-OCT-18 495 25095
30-OCT-18 488 24781
29-OCT-18 483 24568
标签:lock and 生成 bsp sysdate blocks 归档 查看 oracl
原文地址:https://www.cnblogs.com/dayu-liu/p/9908717.html