> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-parallel-read-in-order-multi-part.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> トランザクションとその状態の一覧を含みます。

# system.transactions

## Description

トランザクションとその状態の一覧が格納されます。

**Availability**

`system.transactions` は、`allow_experimental_transactions` サーバー設定オプションが有効な場合にのみ作成されます。デフォルトではこのテーブルは存在せず、このテーブルに対するクエリは `UNKNOWN_TABLE` エラーで失敗します。サーバー設定で次のように有効化してください:

```xml theme={null}
<clickhouse>
    <allow_experimental_transactions>1</allow_experimental_transactions>
</clickhouse>
```

## カラム

* `tid` ([Tuple(UInt64, UInt64, UUID, Int64)](/ja/reference/data-types/tuple)) — トランザクションの識別子。
* `tid_hash` ([UInt64](/ja/reference/data-types/int-uint)) — 識別子のハッシュ値。
* `elapsed` ([Float64](/ja/reference/data-types/float)) — トランザクションの処理にかかる時間。
* `is_readonly` ([UInt8](/ja/reference/data-types/int-uint)) — トランザクションで書き込み操作が実行されていないかどうかを示すフラグ。
* `state` ([Enum8('RUNNING' = 0, 'COMMITTING' = 1, 'COMMITTED' = 2, 'ROLLED\_BACK' = 3)](/ja/reference/data-types/enum)) — トランザクションの状態。設定可能な値: RUNNING, COMMITTING, COMMITTED, ROLLED\_BACK.
