split des requetes 1 par fichier

This commit is contained in:
Yacine31
2023-12-15 18:01:57 +01:00
parent f8b5fa8974
commit b9a21f055c
18 changed files with 153 additions and 158 deletions

View File

@@ -0,0 +1,10 @@
prompt <h2>Taille des redolog par jour :</h2>
select
to_char(first_time, 'YYYY/MM/dd') "Jour",
count(*) "Nbr de fichiers",
ROUND(sum(BLOCKS*BLOCK_SIZE)/1024/1024, 0) "Taille_Mo"
from v$archived_log
where first_time > systimestamp - 30
group by to_char(first_time, 'YYYY/MM/dd')
order by to_char(first_time, 'YYYY/MM/dd')
;