Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

system.table_engines

説明

サーバーでサポートされるテーブルエンジンの説明と、各機能のサポート状況を示します。

このテーブルには、次のカラムが含まれます (カラム型は角括弧内に示されています) 。

  • 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 句ですが、各種ビューや Loop エンジンなど、一部のエンジンは CREATE VIEW やテーブル関数からの SELECT など、別の形式で使用されます。
  • examples (String) — 使用例。
  • introduced_in (String) — テーブルエンジンが最初に導入された ClickHouse のバージョン。形式は major.minor。
  • related (Array(String)) — 関連するテーブルエンジンの名前。

Querysql
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')
Responsetext
┌─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 │
└───────────────────────────────┴───────────────────┴───────────────────────────┴─────────────────────┴──────────────┴──────────────────────┴────────────────────────┴──────────────────────────┘

関連項目

Navigation