Oracle 视图 V$STREAMS_APPLY_SERVER 官方解释,作用,如何使用详细说明
本站中文解释
和V$STREAMS_APPLY_COORDINATOR
Oracle视图V$STREAMS_APPLY_SERVER用来检索当前正在运行的应用程序服务器的名称和信息。它使用户能够检查正在运行的应用程序服务器的配置参数,以及它们相关联的数据库和实体。这些信息以及一个服务器的状态信息,可用于诊断、监视和优化流应用程序的性能。
V$STREAMS_APPLY_COORDINATOR视图用来检索当前准备协调应用程序服务器的信息,提供用于诊断和监视流应用程序的性能的信息,以及可用于查看定义的的简单的但有力的性能度量的信息。它包括已被活跃的应用程序服务器订阅过的消息总数和累计消息量,以及它们在整个发布/订阅架构中当前处理活动负载等信息。
要使用这两个视图,您可以从sqlplus或plsql开发环境中执行一个“select”语句。例如,可以执行下面的语句以检索V$STREAMS_APPLY_SERVER视图中所有字段的值:
SELECT * FROM V$STREAMS_APPLY_SERVER;
官方英文解释
V$STREAMS_APPLY_SERVER
displays information about each apply server and its activities. An apply server receives messages from the apply coordinator for an apply process. For each message received, an apply server either applies the message or sends the message to the appropriate apply handler. An apply server is a subcomponent of an apply process, outbound server, or inbound server.
Column | Datatype | Description |
---|---|---|
|
|
Session ID of the apply server’s session |
|
|
Serial number of the apply server’s session |
|
|
Apply process number. An apply process is an Oracle background process, prefixed by |
|
|
Name of the apply process |
|
|
Parallel execution server number of the apply server |
|
|
State of the apply server:
|
|
|
Transaction ID undo segment number of the transaction currently being applied |
|
|
Transaction ID slot number of the transaction currently being applied |
|
|
Transaction ID sequence number of the transaction currently being applied |
|
|
Commit system change number (SCN) of the transaction currently being applied |
|
|
Transaction ID undo segment number of a transaction on which the transaction being applied by this apply server depends |
|
|
Transaction ID slot number of a transaction on which the transaction being applied by this apply server depends |
|
|
Transaction ID sequence number of a transaction on which the transaction being applied by this apply server depends |
|
|
Commit system change number (SCN) of the transaction on which this apply server depends |
|
|
Number of the current message being applied by the apply server. This value is reset to |
|
|
Total number of transactions assigned to the apply server since the apply process was last started |
|
|
Total number of administrative jobs done by the apply server since the apply process was last started. See the |
|
|
Number of transactions assigned to this server which were rolled back |
|
|
Total number of messages applied by this apply server since the apply process was last started |
|
|
Time the last message was applied |
|
|
Number of the last message applied |
|
|
Creation time at the source database of the last captured message applied. No information about user-enqueued messages is recorded in this column. |
|
|
Time elapsed (in hundredths of a second) dequeuing messages since the apply process was last started |
|
|
Time elapsed (in hundredths of a second) applying messages since the apply process was last started |
|
|
Commit position of the transaction. This column is populated only for an apply process that is functioning as an XStream outbound server or inbound server. |
|
|
Commit position of the transaction the slave depends on. This column is populated only for an apply process that is functioning as an XStream inbound server. |
|
|
For inbound servers, the position of the last message applied; for outbound servers, the position of the last message sent to the XStream client application. This column is populated only for an apply process that is functioning as an XStream outbound server or inbound server. |
|
|
Transaction ID that the slave is applying. This column is populated only for an apply process that is functioning as an XStream inbound server. |
|
|
Transaction ID of the transaction the slave depends on. This column is populated only for an apply process that is functioning as an XStream inbound server. |
|
|
The ID of the container to which the data pertains. Possible values include:
|
|
|
Total number of LCRs retried by this server |
|
|
Retry iteration for this transaction by this server |
|
|
Total transactions retried by this server |
|
|
Total retry iterations by this server |
|
|
Total transactions recorded in error queue by this server |
Note:
The ELAPSED_DEQUEUE_TIME
and ELAPSED_APPLY_TIME
columns are 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”