本站中文解释
Oracle视图V$ARCHIVE_DEST_STATUS存储归档位置状态信息,这些信息是未从当前节点读取,而是从归档日志文件中收集而来的,可显示指定归档注册组或归档位置的归档日志的当前位置、传输状态等信息。其结构如下:
OBJECT | DESCRIPTION
——– | ————-
DEST_ID | 归档位置ID
DESTINATION | 归档位置名称
STATUS | 归档位置的状态
THREAD# | 针对该归档位置的归档线程编号
SEQUENCE# | 归档位置当前应归档的日志序列号
BLOCK# | 归档位置当前应归档的块序列号
BYTES | 归档日志文件当前应归档的字节数
APPLIED | 不可用
DELAYED | 实际推迟的状态
使用该视图主要用于以下功能:
1. 确定归档是否暂停(STATUS为STOPPED时表示暂停)。
2. 确定当前应归档的日志SEQUENCE#和BLOCK#,及每块应归档的大小BYTES。
3. 监控事务推迟(DELAYED > 0时,表示存在受影响的事务)。
使用方式如下:
SELECT * FROM v$ARCHIVE_DEST_STATUS;
官方英文解释
V$ARCHIVE_DEST_STATUS
displays run time and configuration information for the archived redo log destinations.
The information in this view does not persist across an instance shutdown.
Column | Datatype | Description |
---|---|---|
|
|
Identifies the log archive destination parameter (1 to 31) |
|
|
Log archive destination parameter name |
|
|
Current status of the destination:
|
|
|
Type of archival destination database:
|
|
|
Current mode of the archival destination database:
|
|
|
Current apply mode at the archival destination:
|
|
|
Indicates whether the database is protected:
|
|
|
Specifies the location where the redo data is to be archived |
|
|
Indicates the total number of standby redo logs created on the standby database |
|
|
Indicates the total number of standby redo logs on the standby database that are active and contain primary database online redo log information |
|
|
Identifies the thread number of the most recent archived redo log received at the destination |
|
|
Identifies the log sequence number of the most recent archived redo log received at the destination |
|
|
Identifies the thread number of the most recent applied redo log received at the destination |
|
|
Identifies the log sequence number of the most recent applied redo log received at the destination |
|
|
Displays the error text |
|
|
Indicates whether standby redo logfiles are used on the standby database ( |
|
|
Specifies the unique database name of the current instance that was defined with the |
|
|
Possible values for this column are as follows:
See Also: Oracle Data Guard Concepts |
|
|
Possible values are:
|
|
|
Redo gap status:
|
|
|
The ID of the container to which the data pertains. Possible values include:
|