Database Administration (MOSC)

MOSC Banner

Finding daily REDO

edited Nov 14, 2018 9:31AM in Database Administration (MOSC) 2 commentsAnswered

Script To Find Redolog Switch History And Find Archivelog Size For Each Instances In RAC (Doc ID 2373477.1).

Looking at the above document, it says to use FIRST_TIME only. The output has major difference also while we use FIRST_TIME compared to COMPLETION_TIME.

Why there is a difference please?

SQL> select count  (*) "Redo Count",

   trunc(completion_time) "Date",

   round(sum(blocks*block_size)/1024/1024/1024,2) "Amount of Redo in Gb"

   from ( select distinct name, blocks, block_size, completion_time from v$archived_log )

   where trunc(completion_time) > sysdate - 20

   group by trunc(completion_time)

   order by 2 desc;

Redo Count Date      Amount of Redo in Gb

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center