Oracle 视图 V$LOGSTDBY_PROGRESS 官方解释,作用,如何使用详细说明
本站中文解释
V$LOGSTDBY_PROGRESS视图显示Streams应用程序当前进度百分比和其他参数,用于展示日志传播的进度。
1. 使用V$LOGSTDBY_PROGRESS视图:
假设您正在使用Oracle Streams来建立和维护一个数据库standby,那么您可以使用此视图来跟进复制和应用过程的进度。
例如,您可以使用以下查询检查standby实例是否已经准备就绪:
SELECT PROCESS, PARAMETER, TOTAL_AMOUNT, PROGRESS, NEWEST_TIME
FROM V$LOGSTDBY_PROGRESS
WHERE PROCESS IN (‘Analzye’,’Apply’,’Replicate’)
AND PARAMETER IN (‘REDO_LOGFILES’,’REDO_CHANGES’);
上述查询可以更好地展示分析,应用和复制过程的进度,以便您可以更有效地监控日志同步复制过程。
官方英文解释
V$LOGSTDBY_PROGRESS
displays the progress of log apply services on the logical standby database. This view is for logical standby databases only.
Column | Datatype | Description |
---|---|---|
|
|
All the transactions with COMMIT SCN lower than or equal to this SCN have been applied |
|
|
The time and date of |
|
|
During an apply restart, LogMiner does not read any log file with a |
|
|
The time and date of |
|
|
The highest SCN of all redo records that Logical Standby has encountered |
|
|
The time and date of |
|
|
The SCN of the latest redo record processed by the builder process |
|
|
The time and date of |
|
|
A redo branch is identified by resetlogs SCN and resetlogs timestamp. The |
|
|
The ID of the container to which the data pertains. Possible values include:
|