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

説明

サーバーでサポートされているテーブルエンジンと、その機能サポート情報について説明します。 このテーブルには、次のカラムが含まれています (カラムの型は括弧内に示されています) :
  • name (String) — テーブルエンジンの名前。
  • supports_settings (UInt8) — テーブルエンジンが SETTINGS 句をサポートしているかどうかを示すフラグ。
  • supports_skipping_indices (UInt8) — テーブルエンジンがスキッピング索引をサポートしているかどうかを示すフラグ。
  • supports_projections (UInt8) — テーブルエンジンがプロジェクションをサポートしているかどうかを示すフラグ。
  • supports_sort_order (UInt8) — テーブルエンジンが PARTITION_BY、PRIMARY_KEY、ORDER_BY、SAMPLE_BY の各句をサポートしているかどうかを示すフラグ。
  • supports_ttl (UInt8) — テーブルエンジンが有効期限 (TTL) をサポートしているかどうかを示すフラグ。
  • supports_replication (UInt8) — テーブルエンジンがデータのレプリケーションをサポートしているかどうかを示すフラグ。
  • supports_deduplication (UInt8) — テーブルエンジンがデータの重複排除をサポートしているかどうかを示すフラグ。
  • supports_parallel_insert (UInt8) — テーブルエンジンが並列 insert をサポートしているかどうかを示すフラグ (max_insert_threads 設定を参照) 。
  • description (String) — テーブルエンジンの説明。専用のドキュメントページがあるエンジンでは、そのページの Markdown 本文全体が含まれます。それ以外のエンジンでは、簡潔な要約が含まれます。
  • syntax (String) — テーブル作成時にそのテーブルエンジンをどのように使用するか。ほとんどのエンジンでは、これは CREATE TABLE クエリの ENGINE 句ですが、一部のエンジン (各種 VIEW や Loop エンジンなど) では、CREATE VIEW やテーブル関数からの SELECT など、別の形式で使用されます。
  • examples (String) — 使用例。
  • introduced_in (String) — そのテーブルエンジンが最初に導入された ClickHouse のバージョン。形式は major.minor です。
  • related (Array(String)) — 関連するテーブルエンジンの名前。

Query
SELECT
    name,
    supports_settings,
    supports_skipping_indices,
    supports_sort_order,
    supports_ttl,
    supports_replication,
    supports_deduplication,
    supports_parallel_insert
FROM system.table_engines
WHERE name IN ('Kafka', 'MergeTree', 'ReplicatedCollapsingMergeTree')
Response
┌─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 │
└───────────────────────────────┴───────────────────┴───────────────────────────┴─────────────────────┴──────────────┴──────────────────────┴────────────────────────┴──────────────────────────┘

関連項目

最終更新日 2026年6月25日