From 52fa23dfffed1d68a13f235f9016d9bfe077039b Mon Sep 17 00:00:00 2001 From: Yacine31 Date: Tue, 14 Nov 2023 13:22:04 +0100 Subject: [PATCH] Update 23_archive_log_per_day.sql --- sql/23_archive_log_per_day.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sql/23_archive_log_per_day.sql b/sql/23_archive_log_per_day.sql index 40ce7ed..f3973d9 100644 --- a/sql/23_archive_log_per_day.sql +++ b/sql/23_archive_log_per_day.sql @@ -66,9 +66,10 @@ order by to_char(first_time, 'YYYY/MM/dd') prompt

Taille des redolog par jour :

select to_char(first_time, 'YYYY/MM/dd') "Jour", - count(*) "Nbr de fichiers", + count(*) "Nbr de fichiers", ROUND(sum(BLOCKS*BLOCK_SIZE)/1024/1024, 0) "Taille_Mo" from v$archived_log +where rownum<=30 group by to_char(first_time, 'YYYY/MM/dd') order by to_char(first_time, 'YYYY/MM/dd') ;