Oracle® Database Reference 11g Release 2 (11.2) Part Number E25513-03 |
|
|
PDF · Mobi · ePub |
V$ARCHIVED_LOG
displays archived log information from the control file, including archive log names. An archive log record is inserted after the online redo log is successfully archived or cleared (name column is NULL
if the log was cleared). If the log is archived twice, there will be two archived log records with the same THREAD#
, SEQUENCE#
, and FIRST_CHANGE#
, but with a different name. An archive log record is also inserted when an archive log is restored from a backup set or a copy and whenever a copy of a log is made with the RMAN COPY
command.
Column | Datatype | Description |
---|---|---|
RECID |
NUMBER |
Archived log record ID |
STAMP |
NUMBER |
Archived log record stamp |
NAME |
VARCHAR2(513) |
Archived log file name. If set to NULL , either the log file was cleared before it was archived or an RMAN backup command with the "delete input" option was executed to back up archivelog all (RMAN> backup archivelog all delete input; ). |
DEST_ID |
NUMBER |
Original destination from which the archive log was generated. The value is 0 if the destination identifier is not available. |
THREAD# |
NUMBER |
Redo thread number |
SEQUENCE# |
NUMBER |
Redo log sequence number |
RESETLOGS_CHANGE# |
NUMBER |
Resetlogs change number of the database when the log was written |
RESETLOGS_TIME |
DATE |
Resetlogs time of the database when the log was written |
RESETLOGS_ID |
NUMBER |
Resetlogs identifier associated with the archived redo log |
FIRST_CHANGE# |
NUMBER |
First change number in the archived log |
FIRST_TIME |
DATE |
Timestamp of the first change |
NEXT_CHANGE# |
NUMBER |
First change in the next log |
NEXT_TIME |
DATE |
Timestamp of the next change |
BLOCKS |
NUMBER |
Size of the archived log (in blocks) |
BLOCK_SIZE |
NUMBER |
Redo log block size. This is the logical block size of the archived log, which is the same as the logical block size of the online log from which the archived log was copied. The online log logical block size is a platform-specific value that is not adjustable by the user. |
CREATOR |
VARCHAR2(7) |
Creator of the archivelog:
|
REGISTRAR |
VARCHAR2(7) |
Registrar of the entry:
|
STANDBY_DEST |
VARCHAR2(3) |
Indicates whether the entry is an archivelog destination (YES ) or not (NO ) |
ARCHIVED |
VARCHAR2(3) |
Indicates whether the online redo log was archived (YES ) or whether RMAN only inspected the log and created a record for future application of redo logs during recovery (NO ).
|
APPLIED |
VARCHAR2(9) |
Indicates whether an archived redo log file has been applied to the corresponding physical standby database. The value is always NO for local destinations.
This column is meaningful on a physical standby database for rows where
This column can be used to identify log files that can be backed up and deleted. When used for this purpose, the value |
DELETED |
VARCHAR2(3) |
Indicates whether an RMAN DELETE command has physically deleted the archived log file from disk, as well as logically removing it from the control file of the target database and from the recovery catalog (YES ) or not (NO ) |
STATUS |
VARCHAR2(1) |
Status of the archived log:
|
COMPLETION_TIME |
DATE |
Time when the archiving completed |
DICTIONARY_BEGIN |
VARCHAR2(3) |
Indicates whether the log contains the start of a LogMiner dictionary (YES ) or not (NO ) |
DICTIONARY_END |
VARCHAR2(3) |
Indicates whether the log contains the end of a LogMiner dictionary (YES ) or not (NO ) |
END_OF_REDO |
VARCHAR2(3) |
Indicates whether the archived redo log contains the end of all redo information from the primary database (YES ) or not (NO ) |
BACKUP_COUNT |
NUMBER |
Indicates the number of times this file has been backed up. Values range from 0-15. If the file has been backed up more than 15 times, the value remains 15. |
ARCHIVAL_THREAD# |
NUMBER |
Redo thread number of the instance that performed the archival operation. This column differs from the THREAD# column only when a closed thread is archived by another instance. |
ACTIVATION# |
NUMBER |
Number assigned to the database instantiation |
IS_RECOVERY_DEST_FILE |
VARCHAR2(3) |
Indicates whether the file was created in the fast recovery area (YES ) or not (NO ) |
COMPRESSED |
VARCHAR2(3) |
Reserved for internal use |
FAL |
VARCHAR2(3) |
Indicates whether the archive log was generated as the result of a FAL request (YES ) or not (NO ) |
END_OF_REDO_TYPE |
VARCHAR2(10) |
Possible values are as follows:
|
BACKED_BY_VSS |
VARCHAR2(3) |
Whether or not the file has been backed up by Volume Shadow Copy Service (VSS). This column is reserved for internal use. |