Oracle 视图 V$GG_APPLY_COORDINATOR 官方解释,作用,如何使用详细说明
本站中文解释
V$GG_APPLY_COORDINATOR是一个Oracle数据库视图,用于查询使用 GoldenGate 进行数据捕获和应用时当前正在运行的Apply服务器程序的信息。
该视图包括如下信息:
– SourceID:运行中Apply服务器的唯一标识;
– GroupID:用于组织Apply的一组配置信息的标识;
– Status:Apply服务器的运行状态;
– Timestamp:服务器上次改变状态的时间;
– ProcessID:服务器进程的进程ID。
可以使用V$GG_APPLY_COORDINATOR视图来检查Apply服务正在正确运行,执行如下SQL查询:
SELECT processid, status
FROM v$gg_apply_coordinator;
若查询结果中有STATUS列的内容为APPLYING,则表明Apply服务正在运行。
官方英文解释
V$GG_APPLY_COORDINATOR
displays information about each GoldenGate apply process coordinator.
The coordinator for an apply process gets transactions from the apply process reader and passes them to apply servers. An apply process coordinator is a subcomponent of an apply process used by Oracle GoldenGate Integrated Replicat.
Column | Datatype | Description |
---|---|---|
|
|
Session ID of the coordinator’s session |
|
|
Serial number of the coordinator’s session |
|
|
State of the coordinator:
|
|
|
Apply process number. An apply process coordinator is an Oracle background process, prefixed by |
|
|
Name of the apply process |
|
|
Total number of transactions applied by the apply process since the apply process was last started |
|
|
Number of times since the apply process was last started that an apply server waited to apply a logical change record (LCR) in a transaction until another apply server applied a transaction because of a dependency between the transactions |
|
|
Number of times since the apply process was last started that an apply server waited to commit a transaction until another apply server committed a transaction to serialize commits |
|
|
Number of administrative jobs issued since the apply process was last started |
|
|
Number of transactions assigned to apply servers since the apply process was last started |
|
|
Total number of transactions received by the coordinator process since the apply process was last started |
|
|
Number of transactions which were received by the coordinator but were ignored because they had been previously applied |
|
|
Number of transactions which were rolled back due to unexpected contention |
|
|
Number of transactions applied by the apply process that resulted in an apply error since the apply process was last started |
|
|
Total number of complete transactions that the coordinator has not assigned to any apply servers |
|
|
Time when the message with the lowest message number was recorded. The creation time of the message with the lowest message number was also recorded at this time. |
|
|
Number of the message corresponding to the low watermark. That is, messages with a commit message number less than or equal to this message number have definitely been applied, but some messages with a higher commit message number also may have been applied. |
|
|
For captured messages, creation time at the source database of the message corresponding to the low watermark. For user-enqueued messages, time when the message corresponding to the low watermark was enqueued into the queue at the local database. |
|
|
Time when the message with the highest message number was recorded. The creation time of the message with the highest message number was also recorded at this time. |
|
|
Number of the message corresponding to the high watermark. That is, no messages with a commit message number greater than this message number have been applied. |
|
|
For captured messages, creation time at the source database of the message corresponding to the high watermark. For user-enqueued messages, time when the message corresponding to the high watermark was enqueued into the queue at the local database. |
|
|
Time when the apply process was last started |
|
|
Time elapsed (in hundredths of a second) scheduling messages since the apply process was last started |
|
|
Elapsed idle time |
|
|
Position of the low-watermark LCR |
|
|
Position of the high-watermark LCR |
|
|
Message number currently processed by the apply coordinator |
|
|
The ID of the container to which the data pertains. Possible values include:
|
|
|
Active server count |
Note:
The ELAPSED_SCHEDULE_TIME
column is only populated if the TIMED_STATISTICS
initialization parameter is set to true
, or if the STATISTICS_LEVEL
initialization parameter is set to TYPICAL
or ALL
.
See Also:
-
“TIMED_STATISTICS”
-
“STATISTICS_LEVEL”