Oracle Database / Storage, Undo & Redo
Inspect redo groups before planning a log maintenance change
Redo groups have lifecycle states that determine whether a change is safe. Inspect group status, size and archival state before touching files.
Environment and inputs: Oracle Database 19c baseline · SQL*Plus-compatible SQL unless RMAN, DGMGRL, ADRCI or a host shell is specified. Check release, patch level, edition and container first.
Start with this diagnostic
Run each example in the tool named in the guide: SQL, RMAN, DGMGRL or the host command shell. Replace example names with approved values. To query DBA and V$ views, use authorized catalog access in the correct database container. Do not add broad permissions just to run an example.
SELECT group#, thread#, bytes, members, archived, status FROM v$log ORDER BY thread#, group#;
What the results mean
CURRENT, ACTIVE and INACTIVE have different recovery implications. ARCHIVED status must be interpreted with database mode and checkpoint progress.
Fix the cause and check again
Compare groups with switch frequency and recovery requirements. Plan any resize or replacement using the documented add-and-switch maintenance procedure.
Before you make a change
Never delete online redo files at the OS level or clear a group needed for recovery.