Oracle 视图 DBA_LOGSTDBY_EVENTS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle的视图是一种快速查询数据的方法,DBA_LOGSTDBY_EVENTS视图是维护特定事件的位置,每个事件有一个全局位置和属性,可以查看特定日志位置的特定事件的信息,通常用于创建和维护日志传递任务。
使用DBA_LOGSTDBY_EVENTS视图,可以查看在激活日志传递任务时可用的事件。可以使用下面的SQL语句来列出特定位置及其特定事件的信息:
select *
from dba_logstdby_events
where logstdby_applied_sequence = ‘&input’
and logstdby_applied_branch = ‘&branch’;
官方英文解释
DBA_LOGSTDBY_EVENTS
displays information about the activity of the logical standby database system.
It can be used to determine the cause of failures that occur when applying redo data to logical standby databases. This view is for logical standby databases only.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Time when the event was logged |
|
|
|
|
Timestamp when the event was logged |
|
|
The SCN at which the associated transaction started at the primary database. This SCN refers to the system change number at the primary database. |
|
|
|
SCN associated with the change at the primary database. If a failure occurred, then examine this column to determine which archived log file contains the source of the failure (for example, an unsupported record). |
|
|
|
SCN value on which the change was committed at the primary database |
|
|
|
Transaction ID undo segment number at the primary database of the associated transaction |
|
|
|
Transaction ID slot number at the primary database of the associated transaction |
|
|
|
Transaction ID sequence number at the primary database of the associated transaction |
|
|
|
Statement that was being processed when the failure occurred |
|
|
|
Status (or Oracle error code) belonging to the STATUS message |
|
|
|
Description of the current activity of the process or the reason why the apply operation stopped |
|
|
|
Identifies the PDB name at the primary database where the transaction was executed |
|
|
|
Contains the PDB ID (the |
Note:
In a CDB, this view shows data only when queried in the root.