system.merge_tree_settings

Contains information about settings for MergeTree tables.

Columns:

  • name (String) — Setting name.
  • value (String) — Setting value.
  • description (String) — Setting description.
  • type (String) — Setting type (implementation specific string value).
  • changed (UInt8) — Whether the setting was explicitly defined in the config or explicitly changed.

Example

  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.

Original article