diverse màj

This commit is contained in:
Yacine31
2021-11-25 03:24:35 +01:00
parent 51d4a081bd
commit 3f414bc1f2
3 changed files with 24 additions and 11 deletions

11
redolog_size_per_days.sql Normal file
View File

@@ -0,0 +1,11 @@
REM
REM Tailes des redoslog par jour
REM
select
to_char(first_time, 'YYYY/MM/dd'),
ROUND(sum(BLOCKS*BLOCK_SIZE)/1024/1024, 0) "Taille_Mo"
from v$archived_log
group by to_char(first_time, 'YYYY/MM/dd')
order by to_char(first_time, 'YYYY/MM/dd')
;