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

system.merge_tree_settings

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

列:

  • name (String) — 設定名。
  • value (String) — 設定値。
  • default (String) — 設定のデフォルト値。
  • changed (UInt8) — 設定が設定ファイルで明示的に定義されたか、または明示的に変更された場合は 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.