PK
"8Aoa, mimetypeapplication/epub+zipPK "8A iTunesMetadata.plistC
This part contains descriptions of the data dictionary views related to XStream. This part contains the following chapters:
This chapter describes the dynamic performance (V$) views related to XStream. In an XStream configuration, an apply process can function as an XStream outbound server or inbound server.
This chapter contains these topics:
V$STREAMS_APPLY_COORDINATOR
displays information about each 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, outbound server, or inbound server.
Column | Data Type | Description |
---|---|---|
SID | NUMBER | Session ID of the coordinator's session |
SERIAL# | NUMBER | Serial number of the coordinator's session |
STATE | VARCHAR2(21) | State of the coordinator:
|
APPLY# | NUMBER | Apply process number
An apply process coordinator is an Oracle background process, prefixed by |
APPLY_NAME | VARCHAR2(30) | Name of the apply process |
TOTAL_APPLIED | NUMBER | Total number of transactions applied by the apply process since the apply process was last started |
TOTAL_WAIT_DEPS | NUMBER | 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 |
TOTAL_WAIT_COMMITS | NUMBER | 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 |
TOTAL_ADMIN | NUMBER | Number of administrative jobs issued since the apply process was last started |
TOTAL_ASSIGNED | NUMBER | Number of transactions assigned to apply servers since the apply process was last started |
TOTAL_RECEIVED | NUMBER | Total number of transactions received by the coordinator process since the apply process was last started |
TOTAL_IGNORED | NUMBER | Number of transactions which were received by the coordinator but were ignored because they had been previously applied |
TOTAL_ROLLBACKS | NUMBER | Number of transactions which were rolled back due to unexpected contention |
TOTAL_ERRORS | NUMBER | Number of transactions applied by the apply process that resulted in an apply error since the apply process was last started |
UNASSIGNED_COMPLETE_TXNS | NUMBER | Total number of complete transactions that the coordinator has not assigned to any apply servers |
AUTO_TXN_BUFFER_SIZE | NUMBER | Current value of transaction buffer size
Transaction buffer size refers to the number of transactions that the apply reader can assemble ahead of apply servers. The apply process periodically adjusts the transaction buffer size. |
LWM_TIME | DATE | 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. |
LWM_MESSAGE_NUMBER | NUMBER | 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. |
LWM_MESSAGE_CREATE_TIME | DATE | 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. |
HWM_TIME | DATE | 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. |
HWM_MESSAGE_NUMBER | NUMBER | 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. |
HWM_MESSAGE_CREATE_TIME | DATE | 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. |
STARTUP_TIME | DATE | Time when the apply process was last started |
ELAPSED_SCHEDULE_TIME | NUMBER | Time elapsed (in hundredths of a second) scheduling messages since the apply process was last started |
ELAPSED_IDLE_TIME | NUMBER | Elapsed idle time |
LWM_POSITION | RAW(64) | Position of the low-watermark LCR |
HWM_POSITION | RAW(64) | Position of the high-watermark LCR |
PROCESSED_MESSAGE_NUMBER | NUMBER | Message number currently processed by the apply coordinator |
Note: TheELAPSED_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 . |
V$STREAMS_APPLY_READER
displays information about each apply reader. The apply reader is a process which reads (dequeues) messages from the queue, computes message dependencies, and builds transactions. It passes the transactions on to the coordinator in commit order for assignment to the apply servers. An apply reader is a subcomponent of an apply process, outbound server, or inbound server.
Column | Data Type | Description |
---|---|---|
SID | NUMBER | Session ID of the reader's session |
SERIAL# | NUMBER | Serial number of the reader's session |
APPLY# | NUMBER | Apply process number
An apply process is an Oracle background process prefixed by |
APPLY_NAME | VARCHAR2(30) | Name of the apply process |
STATE | VARCHAR2(36) | State of the reader:
|
TOTAL_MESSAGES_DEQUEUED | NUMBER | Total number of messages dequeued since the apply process was last started |
TOTAL_MESSAGES_SPILLED | NUMBER | Number of messages spilled by the reader since the apply process was last started |
DEQUEUE_TIME | DATE | Time when the last message was received |
DEQUEUED_MESSAGE_NUMBER | NUMBER | Number of the last message received |
DEQUEUED_MESSAGE_CREATE_TIME | DATE | For captured messages, creation time at the source database of the last message received. For user-enqueued messages, time when the message was enqueued into the queue at the local database. |
SGA_USED | NUMBER | Amount (in bytes) of SGA memory used by the apply process since it was last started |
ELAPSED_DEQUEUE_TIME | NUMBER | Time elapsed (in hundredths of a second) dequeuing messages since the apply process was last started |
ELAPSED_SCHEDULE_TIME | NUMBER | Time elapsed (in hundredths of a second) scheduling messages since the apply process was last started. Scheduling includes computing dependencies between messages and assembling messages into transactions. |
ELAPSED_SPILL_TIME | NUMBER | Elapsed time (in hundredths of a second) spent spilling messages since the apply process was last started |
LAST_BROWSE_NUM | NUMBER | Reserved for internal use |
OLDEST_SCN_NUM | NUMBER | Oldest SCN |
LAST_BROWSE_SEQ | NUMBER | Reserved for internal use |
LAST_DEQ_SEQ | NUMBER | Last dequeue sequence number |
OLDEST_XIDUSN | NUMBER | Transaction ID undo segment number of the oldest transaction that either has been applied or is being applied |
OLDEST_XIDSLT | NUMBER | Transaction ID slot number of the oldest transaction that either has been applied or is being applied |
OLDEST_XIDSQN | NUMBER | Transaction ID sequence number of the oldest transaction that either has been applied or is being applied |
SPILL_LWM_SCN | NUMBER | Spill low-watermark SCN |
PROXY_SID | NUMBER | When the apply process uses combined capture and apply, the session ID of the propagation receiver that is responsible for direct communication between capture and apply. If the apply process does not use combined capture and apply, then this column is 0 . |
PROXY_SERIAL | NUMBER | When the apply process uses combined capture and apply, the serial number of the propagation receiver that is responsible for direct communication between capture and apply. If the apply process does not use combined capture and apply, then this column is 0 . |
PROXY_SPID | VARCHAR2(12) | When the apply process uses combined capture and apply, the process identification number of the propagation receiver that is responsible for direct communication between capture and apply. If the apply process does not use combined capture and apply, then this column is 0 . |
CAPTURE_BYTES_RECEIVED | NUMBER | When the apply process uses combined capture and apply, the number of bytes received by the apply process from the capture process since the apply process last started. If the apply process does not use combined capture and apply, then this column is not populated. |
DEQUEUED_POSITION | RAW(64) | Dequeued position
This column is populated only for an apply process that is functioning as an XStream inbound server. |
LAST_BROWSE_POSITION | RAW(64) | Reserved for internal use |
OLDEST_POSITION | RAW(64) | The earliest position of the transactions currently being dequeued and applied
This column is populated only for an apply process that is functioning as an XStream inbound server. |
SPILL_LWM_POSITION | RAW(64) | Spill low-watermark position
This column is populated only for an apply process that is functioning as an XStream inbound server. |
OLDEST_TRANSACTION_ID | VARCHAR2(128) | Oldest transaction ID |
TOTAL_LCRS_WITH_DEP | NUMBER | Total number of LCRs with row-level dependencies since the apply process last started |
TOTAL_LCRS_WITH_WMDEP | NUMBER | Total number of LCRs with watermark dependencies since the apply process last started
A watermark dependency occurs when an apply process must wait until the apply process's low-watermark reaches a particular threshold. |
TOTAL_IN_MEMORY_LCRS | NUMBER | Total number of LCRs currently in memory |
SGA_ALLOCATED | NUMBER | The total amount of shared memory (in bytes) allocated from the Streams pool for the apply process since the apply process last started |