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

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.