メインコンテンツへスキップ
メインコンテンツへスキップ

system.transactions_info_log

現在のサーバーで実行されたすべてのトランザクションに関する情報が含まれます。

このテーブルは、いつでも truncate または drop しても問題ありません。

カラム:

  • hostname (LowCardinality(String)) — トランザクションが実行されたホスト名。
  • type (Enum8('Begin' = 1, 'Commit' = 2, 'Rollback' = 3, 'AddPart' = 10, 'LockPart' = 11, 'UnlockPart' = 12)) — トランザクションの種類。設定可能な値: Begin, Commit, Rollback, AddPart, LockPart, UnlockPart。
  • event_date (Date) — エントリの日付。
  • event_time (DateTime64(6)) — エントリの時刻。
  • thread_id (UInt64) — スレッドの識別子。
  • query_id (String) — トランザクションのスコープ内で実行されたクエリの ID。
  • tid (Tuple(UInt64, UInt64, UUID)) — トランザクションの識別子。
  • tid_hash (UInt64) — 識別子のハッシュ値。
  • csn (UInt64) — Commit Sequence Number。
  • database (String) — トランザクションの実行対象のデータベース名。
  • table (String) — トランザクションの実行対象のテーブル名。
  • uuid (UUID) — トランザクションの実行対象のテーブルの UUID。
  • part (String) — トランザクションに含まれるパートの名前。