Update 1_get_db_size.sql

This commit is contained in:
Yacine31
2023-11-06 16:41:55 +01:00
parent 0955dc88e0
commit 119ccb7d14

View File

@@ -1,4 +1,4 @@
set head off
-- set head off
col TOTAL_SIZE_GB format 99,999.99
SELECT ROUND(SUM(TAILLE_BYTES)/1024/1024/1024,2) TOTAL_SIZE_GB FROM
(
@@ -12,5 +12,5 @@ SELECT ROUND(SUM(TAILLE_BYTES)/1024/1024/1024,2) TOTAL_SIZE_GB FROM
UNION ALL
SELECT BYTES FROM V$STANDBY_LOG SL, V$LOGFILE LF WHERE SL.GROUP# = LF.GROUP#
);
set head on
-- set head on
exit