system.merge_tree_settings

包含 MergeTree 表的设置 (Setting) 信息。

列:

  • name (String) — 设置名称。
  • value (String) — 设置的值。
  • description (String) — 设置描述。
  • type (String) — 设置类型 (执行特定的字符串值)。
  • changed (UInt8) — 该设置是否在配置中明确定义或是明确改变。

示例

  1. :) SELECT * FROM system.merge_tree_settings LIMIT 4 FORMAT Vertical;
  1. Row 1:
  2. ──────
  3. name: index_granularity
  4. value: 8192
  5. changed: 0
  6. description: How many rows correspond to one primary key value.
  7. type: SettingUInt64
  8. Row 2:
  9. ──────
  10. name: min_bytes_for_wide_part
  11. value: 0
  12. changed: 0
  13. description: Minimal uncompressed size in bytes to create part in wide format instead of compact
  14. type: SettingUInt64
  15. Row 3:
  16. ──────
  17. name: min_rows_for_wide_part
  18. value: 0
  19. changed: 0
  20. description: Minimal number of rows to create part in wide format instead of compact
  21. type: SettingUInt64
  22. Row 4:
  23. ──────
  24. name: merge_max_block_size
  25. value: 8192
  26. changed: 0
  27. description: How many rows in blocks should be formed for merge operations.
  28. type: SettingUInt64
  29. 4 rows in set. Elapsed: 0.001 sec.

原文