merge_tree_settings
包含关于 MergeTree
表设置的信息。
列
name
(String) — 设置名称。value
(String) — 设置值。changed
(UInt8) — 设置是否在配置中显式定义或显式更改。description
(String) — 设置描述。min
(Nullable(String)) — 设置的最小值(如果通过约束设置)。如果设置没有最小值,则包含 NULL。max
(Nullable(String)) — 设置的最大值(如果通过约束设置)。如果设置没有最大值,则包含 NULL。readonly
(UInt8) — 显示当前用户是否可以更改设置0
— 当前用户可以更改设置。1
— 当前用户无法更改设置。
type
(String) — 设置类型(实现特定的字符串值)。is_obsolete
(UInt8) - 显示设置是否已过时。tier
(Enum8) — 此功能的支持级别。ClickHouse 功能按层级组织,层级根据其当前开发状态和使用时的预期而变化。值'Production'
— 该功能稳定、使用安全,并且与其他生产功能交互时没有问题。'Beta'
— 该功能稳定且安全。与其他功能一起使用的结果未知,并且不保证正确性。欢迎测试和报告。'Experimental'
— 该功能正在开发中。仅供开发人员和 ClickHouse 爱好者使用。该功能可能有效也可能无效,并且可能随时删除。'Obsolete'
— 不再支持。它可能已被删除,或者将在未来的版本中删除。
示例
SELECT * FROM system.merge_tree_settings LIMIT 4 FORMAT Vertical;
Row 1:
──────
name: min_compress_block_size
value: 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
Row 2:
──────
name: max_compress_block_size
value: 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
Row 3:
──────
name: index_granularity
value: 8192
changed: 0
description: How many rows correspond to one primary key value.
min: ____
max: ____
readonly: 0
type: UInt64
is_obsolete: 0
Row 4:
──────
name: max_digestion_size_per_segment
value: 268435456
changed: 0
description: Max number of bytes to digest per segment to build GIN index.
min: ____
max: ____
readonly: 0
type: UInt64
is_obsolete: 0
4 rows in set. Elapsed: 0.009 sec.