Oracle® Database Reference 11g Release 2 (11.2) Part Number E25513-03 |
|
|
PDF · Mobi · ePub |
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 |
---|---|---|
SID |
NUMBER |
Session ID of the apply server's session |
SERIAL# |
NUMBER |
Serial number of the apply server's session |
APPLY# |
NUMBER |
Apply process number. An apply process is an Oracle background process, prefixed by ap . |
APPLY_NAME |
VARCHAR2(30) |
Name of the apply process |
SERVER_ID |
NUMBER |
Parallel execution server number of the apply server |
STATE |
VARCHAR2(20) |
State of the apply server:
|
XIDUSN |
NUMBER |
Transaction ID undo segment number of the transaction currently being applied |
XIDSLT |
NUMBER |
Transaction ID slot number of the transaction currently being applied |
XIDSQN |
NUMBER |
Transaction ID sequence number of the transaction currently being applied |
COMMITSCN |
NUMBER |
Commit system change number (SCN) of the transaction currently being applied |
DEP_XIDUSN |
NUMBER |
Transaction ID undo segment number of a transaction on which the transaction being applied by this apply server depends |
DEP_XIDSLT |
NUMBER |
Transaction ID slot number of a transaction on which the transaction being applied by this apply server depends |
DEP_XIDSQN |
NUMBER |
Transaction ID sequence number of a transaction on which the transaction being applied by this apply server depends |
DEP_COMMITSCN |
NUMBER |
Commit system change number (SCN) of the transaction on which this apply server depends |
MESSAGE_SEQUENCE |
NUMBER |
Number of the current message being applied by the apply server. This value is reset to 1 at the beginning of each transaction. |
TOTAL_ASSIGNED |
NUMBER |
Total number of transactions assigned to the apply server since the apply process was last started |
TOTAL_ADMIN |
NUMBER |
Total number of administrative jobs done by the apply server since the apply process was last started. See the STATE information in this view for the types of administrative jobs. |
TOTAL_ROLLBACKS |
NUMBER |
Number of transactions assigned to this server which were rolled back |
TOTAL_MESSAGES_APPLIED |
NUMBER |
Total number of messages applied by this apply server since the apply process was last started |
APPLY_TIME |
DATE |
Time the last message was applied |
APPLIED_MESSAGE_NUMBER |
NUMBER |
Number of the last message applied |
APPLIED_MESSAGE_CREATE_TIME |
DATE |
Creation time at the source database of the last captured message applied. No information about user-enqueued messages is recorded in this column. |
ELAPSED_DEQUEUE_TIME |
NUMBER |
Time elapsed (in hundredths of a second) dequeuing messages since the apply process was last started |
ELAPSED_APPLY_TIME |
NUMBER |
Time elapsed (in hundredths of a second) applying messages since the apply process was last started |
COMMIT_POSITION |
RAW(64) |
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. |
DEP_COMMIT_POSITION |
RAW(64) |
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. |
LAST_APPLY_POSITION |
RAW(64) |
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 |
VARCHAR2(128) |
Transaction ID that the slave is applying
This column is populated only for an apply process that is functioning as an XStream inbound server. |
DEP_TRANSACTION_ID |
VARCHAR2(128) |
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. |
Footnote 1 This state is available starting with Oracle Database 11g Release 2 (11.2.0.2).
Note:
TheELAPSED_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
.