DB Scripts 5
DB Scripts 5
from v$datafile
union all
select bytes
from v$tempfile
union all
select bytes
, (select sum(bytes) as p
group by free.p
)D
used_mb,
ORDER BY file_name;
space required for x number of days in order to store the Tashback logs.
The flashback log size is same as archive log size generated in a database.
Ask storage team to add the required space for flashback file system
sum((BLOCKS*512)/1024/1024/1024) Arch_LogSize_GB
from v$archived_log
group by to_char(COMPLETION_TIME,'DD-MON-YYYY')
order by to_char(COMPLETION_TIME,'DD-MON-YYYY');
Note: Take average size * 30 days to get 1 month flashback space size.