MON$TRANSACTIONS
MON$TRANSACTIONS
reports started transactions.
Column Name | Data Type | Description |
---|---|---|
|
|
Transaction identifier (number) |
|
|
Connection identifier |
|
|
Transaction state:
|
|
|
The date and time when the transaction was started |
|
|
Top-level transaction identifier (number) |
|
|
Transaction ID of the oldest [interesting] transaction (OIT) |
|
|
Transaction ID of the oldest active transaction (OAT) |
|
|
Isolation mode (level):
|
|
|
Lock timeout:
|
|
|
Flag indicating whether the transaction is read-only (value 1) or read-write (value 0) |
|
|
Flag indicating whether automatic commit is used for the transaction (value 1) or not (value 0) |
|
|
Flag indicating whether the logging mechanism automatic undo is used for the transaction (value 1) or not (value 0) |
|
|
Statistics identifier |
SELECT DISTINCT a. *
FROM mon$attachments a
JOIN mon$transactions t ON a.mon$attachment_id = t.mon$attachment_id
WHERE NOT (t.mon$read_only = 1 AND t.mon$isolation_mode >= 2)