Skip to main content
Edit this page

table_engines

サーバーでサポートされているテーブルエンジンの説明と、その機能サポート情報を含んでいます。

このテーブルには次のカラム(カラムタイプが括弧内に示されています)が含まれています:

  • name (String) — テーブルエンジンの名前。
  • supports_settings (UInt8) — テーブルエンジンがSETTINGS句をサポートするかを示すフラグ。
  • supports_skipping_indices (UInt8) — テーブルエンジンがスキッピングインデックスをサポートするかを示すフラグ。
  • supports_ttl (UInt8) — テーブルエンジンが有効期限 (TTL)をサポートするかを示すフラグ。
  • supports_sort_order (UInt8) — テーブルエンジンがPARTITION_BYPRIMARY_KEYORDER_BY、およびSAMPLE_BY句をサポートするかを示すフラグ。
  • supports_replication (UInt8) — テーブルエンジンがデータレプリケーションをサポートするかを示すフラグ。
  • supports_deduplication (UInt8) — テーブルエンジンがデータの重複除去をサポートするかを示すフラグ。
  • supports_parallel_insert (UInt8) — テーブルエンジンが並列挿入をサポートするかを示すフラグ(max_insert_threads設定を参照)。

例:

SELECT *
FROM system.table_engines
WHERE name in ('Kafka', 'MergeTree', 'ReplicatedCollapsingMergeTree')
┌─name──────────────────────────┬─supports_settings─┬─supports_skipping_indices─┬─supports_sort_order─┬─supports_ttl─┬─supports_replication─┬─supports_deduplication─┬─supports_parallel_insert─┐
│ MergeTree │ 1 │ 1 │ 1 │ 1 │ 0 │ 0 │ 1 │
│ Kafka │ 1 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
│ ReplicatedCollapsingMergeTree │ 1 │ 1 │ 1 │ 1 │ 1 │ 1 │ 1 │
└───────────────────────────────┴───────────────────┴───────────────────────────┴─────────────────────┴──────────────┴──────────────────────┴────────────────────────┴──────────────────────────┘

関連項目