The New Home of Oracle-wiki.net
All things oracle...
A website for IT Professionals involved with Oracle database.
Show REDO Log Information
--
-- Show REDO Log Information.
--
SET PAUSE ON
SET PAUSE 'Press Return to Continue'
SET PAGESIZE 60
SET LINESIZE 300
SET VERIFY OFF
COL group# HEA " Group " FOR 99
COL sequence# HEA " Sequence " FOR 9,999,999,999
COL bytes HEA " Datafile Size (bytes) " FOR 999,999,999,999,999
COL members HEA " Member " FOR 999
COL member HEA " Datafile Name " FOR a44
COL archived HEA " Arc? " FOR a4
COL status HEA " Status " FOR a16
COL first_changed# HEA " First Changed No. " FOR 999,999,999,999
COL first_time HEA " First Time " FOR a20
SELECT l.group#, l.members, l.sequence#, lf.member, l.bytes,
l.status, l.archived, l.first_change#, To_Char(l.first_time,'DD-Mon-YYYY HH24:MI:SS') as first_time
FROM v$log l,v$logfile lf
WHERE l.group# = lf.group#
/
Notes
Redo Log Information. Use this script to review the configuration and current status of the online redo logs. It reports each redo log group, its member files, size, sequence number, status, archive status, and the SCN and timestamp at which the log became active.
This report is useful for verifying redo log configuration and monitoring log activity. It can be used to confirm log group membership and sizing, identify the current and active redo logs, verify that logs are being archived correctly, and assist in troubleshooting log switch, archiving, or recovery-related issues.
Published on
Published 9th July 2026