Description
Contains a list of transactions and their state. Availabilitysystem.transactions is created only when the allow_experimental_transactions server configuration option is enabled. By default, the table does not exist and queries against it will fail with UNKNOWN_TABLE. Enable it in the server configuration with:
Columns
tid(Tuple(UInt64, UInt64, UUID, Int64)) โ The identifier of the transaction.tid_hash(UInt64) โ The hash of the identifier.elapsed(Float64) โ The amount of time the transaction being processed.is_readonly(UInt8) โ The flag which shows whether the transaction has executed any write operation.state(Enum8(โRUNNINGโ = 0, โCOMMITTINGโ = 1, โCOMMITTEDโ = 2, โROLLED_BACKโ = 3)) โ The state of the transaction. Possible values: RUNNING, COMMITTING, COMMITTED, ROLLED_BACK.