Skip Headers
Oracle® Database Reference
10g Release 2 (10.2)

Part Number B14237-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

V$STREAMS_TRANSACTION

V$STREAMS_TRANSACTION provides information about transactions that are being processed by a Streams capture process or apply process. This view can be used to identify long running transactions and to determine how many logical change records (LCRs) are being processed in each transaction.

This view only contains information about captured LCRs. It does not contain information about user-enqueued LCRs or user messages.

This view only shows information about LCRs that are being processed because they satisfied the rule sets for the Streams process at the time of the query. For a capture process, this view only shows information about changes in transactions that the capture process has converted to LCRs. It does not show information about all the active transactions present in the redo log. For apply processes, this view only shows information about LCRs that the apply process has dequeued. It does not show information about LCRs in the apply process's queue.

Information about a transaction remains in the view until the transaction commits or until the entire transaction is rolled back.

Column Datatype Description
STREAMS_NAME VARCHAR2(30) Streams process name
STREAMS_TYPE VARCHAR2(10) Streams process type, either CAPTURE or APPLY
XIDUSN NUMBER Transaction ID undo segment number of the transaction
XIDSLT NUMBER Transaction ID slot number of the transaction
XIDSQN NUMBER Transaction ID sequence number of the transaction
CUMULATIVE_MESSAGE_COUNT NUMBER Number of LCRs processed in the transaction. If the Streams capture process or apply process is restarted while the transaction is being processed, then this field shows the number of LCRs processed in the transaction since the Streams process was started.
TOTAL_MESSAGE_COUNT NUMBER Total Number of LCRs processed in the transaction by an apply process. This field does not pertain to capture processes.
FIRST_MESSAGE_TIME DATE Timestamp of the first LCR processed in the transaction. If a capture process is restarted while the transaction is being processed, then this field shows the timestamp of the first LCR processed after the capture process was started.
FIRST_MESSAGE_NUMBER NUMBER System change number (SCN) of the first message in the transaction. If a capture process is restarted while the transaction is being processed, then this field shows the SCN of the first message processed after the capture process was started.
LAST_MESSAGE_TIME DATE Timestamp of the last LCR processed in the transaction.
LAST_MESSAGE_NUMBER NUMBER SCN of the most recent message encountered for the transaction.