Using Data Dictionary Views

USER     Views
ALL     Views
DBA    Views

Parameter Settings
Online Redo Log Information
archived redo logs
Job Queue Information
Tablespace Information
Datafile Information
Rollback Segment Information
Information about Tables
Index Information
Partitioned Tables and Indexes
Views, Synonyms, and Sequences
Constraint Information
Database Users and Profiles
Privilege and Role Information

Viewing Parameter Settings

You have several options for viewing parameter settings.
Method Description

SHOW PARAMETERS

This command is used in sql*plus

CREATE PFILE

This SQL statement creates a text initialization parameter file from the binary server parameter file.

V$PARAMETER

This view displays the currently in effect parameter values.

V$PARAMETER2

This view displays the currently in effect parameter values. It is easier to distinguish list parameter values in this view because each list parameter value appears as a row.

V$SPPARAMETER

This view displays the current contents of the server parameter file. The view returns NULL values if a server parameter file is not being used by the instance.

Viewing Online Redo Log Information

Use the following views to display online redo log information. See Example

View Description

V$LOG

Displays the redo log file information from the control file

V$LOGFILE

Identifies redo log groups and members and member status

V$LOG_HISTORY

Contains log history information

Viewing information about archived redo logs

There are several dynamic performance views that contain useful information about archived redo logs. See Example

Dynamic Performance View Description

V$DATABASE

Identifies whether the database is in ARCHIVELOG or NOARCHIVELOG mode.

V$ARCHIVED_LOG

Displays historical archived log information from the control file. If you use a recovery catalog, the RC_ARCHIVED_LOG view contains similar information.

V$ARCHIVE_DEST

Describes the current instance, all archive destinations, and the current value, mode, and status of these destinations.

V$ARCHIVE_PROCESSES

Displays information about the state of the various archive processes for an instance.

V$BACKUP_REDOLOG

Contains information about any backups of archived logs. If you use a recovery catalog, the RC_BACKUP_REDOLOG contains similar information.

V$LOG

Displays all online redo log groups for the database and indicates which need to be archived.

V$LOG_HISTORY

Contains log history information such as which logs have been archived and the SCN range for each archived log.

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: