Oracle8i Recovery Manager User's Guide and Reference
Release 2 (8.1.6)

Part Number A76990-01

Library

Product

Contents

Index

Go to previous page Go to beginning of chapter Go to next page

Recovery Catalog Views, 2 of 25


RC_ARCHIVED_LOG

This view lists historical information about all archived redo logs. It corresponds to the V$ARCHIVED_LOG view.

Oracle inserts an archived redo log record after the online redo log is successfully archived or cleared (NAME column is NULL if the log was cleared). If the log is archived multiple times (the maximum is 5), then there will be multiple archived log records with the same THREAD#, SEQUENCE#, and FIRST_CHANGE#, but with a different name. An archived log record is also inserted when an archived log is restored from a backup set or a copy.

Note that an archived redo log can have no log history record if its log history record is written over in the control file or after a RESETLOGS operation.

Column  Datatype  NULL  Description 

DB_KEY 

NUMBER 

NOT NULL 

The primary key for the target database. Use this column to form a join with almost any other catalog view. 

DBINC_KEY 

NUMBER 

NOT NULL 

The primary key for the incarnation of the target database. Use this column to form a join with RC_DATABASE_INCARNATION. 

DB_NAME 

VARCHAR2(8) 

NOT NULL 

The DB_NAME of the database incarnation to which this record belongs. 

AL_KEY 

NUMBER 

NOT NULL 

The primary key of the archived redo log in the recovery catalog. If you issue the list command while connected to the recovery catalog, this value appears in the KEY column of the output. 

RECID 

NUMBER 

NOT NULL 

The archived redo log RECID from V$ARCHIVED_LOG. RECID and STAMP form a concatenated primary key that uniquely identifies this record in the target database control file. 

STAMP 

NUMBER 

NOT NULL 

The archived redo log stamp from V$ARCHIVED_LOG. RECID and STAMP form a concatenated primary key that uniquely identifies this record in the target database control file. 

THREAD# 

NUMBER 

NOT NULL 

The number of the redo thread. 

SEQUENCE# 

NUMBER 

NOT NULL 

The log sequence number. 

RESETLOGS_CHANGE# 

NUMBER 

NOT NULL 

The SCN of the most recent RESETLOGS when the record was created. 

RESETLOGS_TIME 

DATE 

NOT NULL 

The timestamp of the most recent RESETLOGS when the record was created. 

FIRST_CHANGE# 

NUMBER 

NOT NULL 

The SCN generated when Oracle switched into the redo log. 

FIRST_TIME 

DATE 

NOT NULL 

The time when Oracle switched into the redo log. 

NEXT_CHANGE# 

NUMBER 

NOT NULL 

The first SCN of the next redo log in the thread. 

NEXT_TIME 

DATE 

 

The first timestamp of the next redo log in the thread. 

BLOCKS 

NUMBER 

NOT NULL 

The number of operating system blocks written (also the size of the archived log when the copy was made). 

BLOCK_SIZE 

NUMBER 

NOT NULL 

The size of the block in bytes. 

COMPLETION_TIME 

DATE 

NOT NULL 

The time when the redo log was archived or copied. 

ARCHIVED 

VARCHAR2(3) 

 

Indicates whether the log was archived: YES (archived redo log) or NO (inspected file header of online redo log and added record to V$ARCHIVED_LOG). Inspecting the online logs creates archived log records for them, which allows them to be applied during RMAN recovery. Oracle sets ARCHIVED to NO to prevent online logs from being backed up. 

STATUS 

VARCHAR2(1) 

NOT NULL 

The status of the archived redo log: A (available), U (unavailable), or D (deleted). 


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index