Oracle 视图 V$MANAGED_STANDBY 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$MANAGED_STANDBY是用于管理和监控数据库和实例中可用于热备份的延迟重放日志状态的信息的视图。查看这种V$MANAGED_STANDBY视图可以帮助数据库开发人员检测是否有延迟重放日志无法正确传输的问题。V$MANAGED_STANDBY视图的查询显示的状态及其解释如下:
OPEN说明延迟重放日志文件已成功打开;
CLOSED说明延迟重放日志文件已成功关闭;
UNSUPPORTED说明延迟重放日志的格式不支持;
RECEIVING说明延迟重放日志三网络消息正在接收;
NEED ARCHIVE说明延迟重放日志正在等待归档日志备份;
NEED RECOVER说明延迟重放日志正在等待日志恢复请求;
NEED TO CLOSE说明延迟重放日志正在关闭;
ERROR说明延迟重放日志发生错误。
要使用V$MANAGED_STANDBY视图,需要运行一个查询语句像下面这样:
SELECT * FROM V$MANAGED_STANDBY;
官方英文解释
V$MANAGED_STANDBY
displays current status information for some Oracle Database processes related to physical standby databases in the Data Guard environment. This view does not persist after an instance shutdown.
Column | Datatype | Description |
---|---|---|
|
|
Type of the process whose information is being reported:
|
|
|
Operating system process identifier of the process |
|
|
Current process status:
|
|
|
Identifies the corresponding primary database process:
|
|
|
Operating system process identifier of the client process |
|
|
Database identifier of the primary database |
|
|
Standby redo log group |
|
|
Resetlogs identifier of the archived redo log |
|
|
Archived redo log thread number |
|
|
Archived redo log sequence number |
|
|
Last processed archived redo log block number |
|
|
Count (in 512-byte blocks) of the last write to a redo log, or for a recovery process, the expected final read count |
|
|
Archived redo log delay interval in minutes |
|
|
Total number of standby database agents processing an archived redo log |
|
|
Number of standby database agents actively processing an archived redo log |
|
|
The ID of the container to which the data pertains. Possible values include:
|
Note:
This view is deprecated in Oracle Database 12c Release 2 (12.2.0.1) and may be desupported in a future release. The V$DATAGUARD_PROCESS
view should be used, instead.
See Also:
“V$DATAGUARD_PROCESS”