View redo log status
OracleRedo & ArchiveCommand
SELECT l.group#, l.thread#, l.sequence#,
ROUND(l.bytes/1024/1024) AS mb,
l.members, l.archived, l.status,
lf.member AS file_path
FROM v$log l
JOIN v$logfile lf ON lf.group# = l.group#
ORDER BY l.group#, lf.member;What it does
Shows the status of redo log groups (CURRENT/ACTIVE/INACTIVE), their sizes, member files and archive status.
When to use it
When reviewing the redo configuration, or to see which group is active before a resize.
Caution
Query only; no risk.