Estimate flashback destination size
Sometimes we need to enable flashback for x number of days. In such case, we need to estimate the flashback space required for x number of days in order to
oracle configurationintermediate
by OracleDba
12 views
Sometimes we need to enable flashback for x number of days. In such case, we need to estimate the flashback space required for x number of days in order to
123456
select to_char(COMPLETION_TIME,'DD-MON-YYYY') Arch_Date,count(*) No#_Logs,
sum((BLOCKS*512)/1024/1024/1024) Arch_LogSize_GB
from v$archived_log
where to_char(COMPLETION_TIME,'DD-MON-YYYY')>=trunc(sysdate-7) and DEST_ID=1
group by to_char(COMPLETION_TIME,'DD-MON-YYYY')
order by to_char(COMPLETION_TIME,'DD-MON-YYYY');Please to add comments
No comments yet. Be the first to comment!