How to query the redo log file information from an Oracle Database
Wednesday, May 17 2006 @ 10:31 AM CDT
Contributed by: sv800
Views: 7,267
Find the status and location of the redo log files
To query the redo logs groups and members information including the status of the redo log file:
SQL> select group#, sequence#, bytes, members, status from v$log;
GROUP# SEQUENCE# BYTES MEMBERS STATUS
---------- ---------- ---------- ---------- ----------------
5 74704 10485760 1 CURRENT
6 74702 10485760 1 INACTIVE
7 74703 10485760 1 INACTIVE
To query the redo log file member location of files
SQL> select member from V$LOGFILE;
MEMBER
--------------------------------------------------------------------------------
E:ORACLEORADATAJDELOG5.ORA
E:ORACLEORADATAJDELOG6.ORA
E:ORACLEORADATAJDELOG7.ORA