The following query returns the control file information about the online redo log for a database.

SELECT * FROM V$LOG;

GROUP#  THREAD#    SEQ    BYTES  MEMBERS  ARC STATUS     FIRST_CHANGE# FIRST_TIM
------  -------  -----  -------  -------  --- ---------  ------------- ---------
     1        1  10605  1048576        1  YES ACTIVE          11515628 16-APR-00
     2        1  10606  1048576        1  NO  CURRENT         11517595 16-APR-00
     3        1  10603  1048576        1  YES INACTIVE        11511666 16-APR-00
     4        1  10604  1048576        1  YES INACTIVE        11513647 16-APR-00

To see the names of all of the member of a group, use a query similar to the following:

SELECT * FROM V$LOGFILE;

GROUP#   STATUS  MEMBER
------  -------  ----------------------------------
     1           D:\ORANT\ORADATA\IDDB2\REDO04.LOG
     2           D:\ORANT\ORADATA\IDDB2\REDO03.LOG
     3           D:\ORANT\ORADATA\IDDB2\REDO02.LOG
     4           D:\ORANT\ORADATA\IDDB2\REDO01.LOG

If STATUS is blank for a member, then the file is in use.

For example, the following query displays which online redo log group requires archiving:

SELECT GROUP#, ARCHIVED
   FROM SYS.V$LOG;

GROUP#     ARC
--------   ---
       1   YES
       2   NO

To see the current archiving mode, query the V$DATABASE view:

SELECT LOG_MODE FROM SYS.V$DATABASE;

LOG_MODE
------------
NOARCHIVELOG
See Also:

Oracle9i Database Reference for detailed descriptions of data dictionary views

The ARCHIVE LOG LIST Command

The SQL*Plus command ARCHIVE LOG LIST can be used to show archiving information for the connected instance. For example:

SQL> ARCHIVE LOG LIST

Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            D:\ORANT\oradata\IDDB2\archive
Oldest online log sequence     11160
Next log sequence to archive   11163
Current log sequence           11163

This display tells you all the necessary information regarding the archived redo log settings for the current instance: