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

説明

MergeTree テーブルの設定に関する情報が含まれます。

カラム

  • name (String) — 設定名。
  • value (String) — 設定値。
  • default (String) — 設定のデフォルト値。
  • changed (UInt8) — 設定が config で明示的に定義されている、または明示的に変更されている場合は 1。
  • description (String) — 設定の説明。
  • min (Nullable(String)) — 制約によって設定された最小値 (設定されている場合) 。設定に最小値がない場合は NULL が格納されます。
  • max (Nullable(String)) — 制約によって設定された最大値 (設定されている場合) 。設定に最大値がない場合は NULL が格納されます。
  • disallowed_values (Array(String)) — 許可されていない値の一覧
  • readonly (UInt8) — 現在のユーザーがこの設定を変更できるかどうかを示します: 0 — 現在のユーザーはこの設定を変更できます、1 — 現在のユーザーはこの設定を変更できません。
  • type (String) — 設定の型 (実装固有の文字列値) 。
  • is_obsolete (UInt8) — 設定が廃止されているかどうかを示します。
  • tier (Enum8(‘Production’ = 0, ‘Obsolete’ = 4, ‘Experimental’ = 8, ‘Beta’ = 12)) — この機能のサポートレベルです。ClickHouse の機能はティアごとに整理されており、その違いは現在の 開発状況と、使用時に期待できる内容によって決まります:
  • PRODUCTION: この機能は安定しており、安全に使用できます。また、他の PRODUCTION 機能と組み合わせても問題はありません。
  • BETA: この機能は安定しており、安全に使用できます。他の機能と組み合わせた場合の結果は不明であり、正しさは保証されません。テストと報告を歓迎します。
  • EXPERIMENTAL: この機能は開発中です。開発者および ClickHouse 愛好家向けです。この機能は動作する場合もしない場合もあり、いつでも削除される可能性があります。
  • OBSOLETE: すでにサポートされていません。すでに削除されているか、今後のリリースで削除される予定です。

SELECT * FROM system.merge_tree_settings LIMIT 3 FORMAT Vertical;
SELECT *
FROM system.merge_tree_settings
LIMIT 3
FORMAT Vertical

Query id: 2580779c-776e-465f-a90c-4b7630d0bb70

Row 1:
──────
name:        min_compress_block_size
value:       0
default:     0
changed:     0
description: When granule is written, compress the data in buffer if the size of pending uncompressed data is larger or equal than the specified threshold. If this setting is not set, the corresponding global setting is used.
min:         ᴺᵁᴸᴸ
max:         ᴺᵁᴸᴸ
readonly:    0
type:        UInt64
is_obsolete: 0
tier:        Production

Row 2:
──────
name:        max_compress_block_size
value:       0
default:     0
changed:     0
description: Compress the pending uncompressed data in buffer if its size is larger or equal than the specified threshold. Block of data will be compressed even if the current granule is not finished. If this setting is not set, the corresponding global setting is used.
min:         ᴺᵁᴸᴸ
max:         ᴺᵁᴸᴸ
readonly:    0
type:        UInt64
is_obsolete: 0
tier:        Production

Row 3:
──────
name:        index_granularity
value:       8192
default:     8192
changed:     0
description: How many rows correspond to one primary key value.
min:         ᴺᵁᴸᴸ
max:         ᴺᵁᴸᴸ
readonly:    0
type:        UInt64
is_obsolete: 0
tier:        Production

3 rows in set. Elapsed: 0.001 sec. 
最終更新日 2026年6月10日