Skip to main content

table_engines

Contains description of table engines supported by server and their feature support information.

This table contains the following columns (the column type is shown in brackets):

  • name (String) β€” The name of table engine.
  • supports_settings (UInt8) β€” Flag that indicates if table engine supports SETTINGS clause.
  • supports_skipping_indices (UInt8) β€” Flag that indicates if table engine supports skipping indices.
  • supports_ttl (UInt8) β€” Flag that indicates if table engine supports TTL.
  • supports_sort_order (UInt8) β€” Flag that indicates if table engine supports clauses PARTITION_BY, PRIMARY_KEY, ORDER_BY and SAMPLE_BY.
  • supports_replication (UInt8) β€” Flag that indicates if table engine supports data replication.
  • supports_duduplication (UInt8) β€” Flag that indicates if table engine supports data deduplication.
  • supports_parallel_insert (UInt8) β€” Flag that indicates if table engine supports parallel insert (see max_insert_threads setting).

Example:

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 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

See also

Original article