V$STREAMS_TRANSACTION
displays information about transactions that are being processed by capture processes or apply processes. 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 capture processes, 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 |
---|---|---|
|
|
Name of the Streams process |
|
|
Type of the Streams process:
|
|
|
Transaction ID undo segment number of the transaction |
|
|
Transaction ID slot number of the transaction |
|
|
Transaction ID sequence number of the transaction |
|
|
Number of LCRs processed in the transaction. If the Streams process is restarted while the transaction is being processed, then this column shows the number of LCRs processed in the transaction since the Streams process was started. |
|
|
Total Number of LCRs processed in the transaction by an apply process. This column does not pertain to capture processes. |
|
|
Timestamp of the first LCR processed in the transaction. If a capture process is restarted while the transaction is being processed, then this column shows the timestamp of the first LCR processed after the capture process was started. |
|
|
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 column shows the SCN of the first message processed after the capture process was started. |
|
|
Timestamp of the last LCR processed in the transaction |
|
|
SCN of the most recent message encountered for the transaction |
|
|
Reserved for internal use |
|
|
Reserved for internal use |
|
|
Transaction ID |
|
|
Purpose of the components that are processing the transaction:
|
|
|
The ID of the container to which the data pertains. Possible values include:
|