mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-28 05:46:36 +08:00
4b83f91b31
Move performance.xml to config/clickhouse and mount the directory to /etc/clickhouse-server/config.d; update docs and compose paths.
26 lines
1.4 KiB
XML
26 lines
1.4 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
Tuned for small control-plane hosts (e.g. 3c6g).
|
|
|
|
background_pool_size * background_merges_mutations_concurrency_ratio must stay
|
|
greater than merge_tree number_of_free_entries_in_pool_to_execute_mutation
|
|
(ClickHouse 25.x refuses to start otherwise). Keep the merge free-entry
|
|
thresholds low so a small pool remains valid.
|
|
-->
|
|
<clickhouse>
|
|
<max_concurrent_queries>20</max_concurrent_queries>
|
|
<background_pool_size>4</background_pool_size>
|
|
<background_merges_mutations_concurrency_ratio>2</background_merges_mutations_concurrency_ratio>
|
|
<background_schedule_pool_size>4</background_schedule_pool_size>
|
|
<background_common_pool_size>2</background_common_pool_size>
|
|
<background_fetches_pool_size>2</background_fetches_pool_size>
|
|
<background_move_pool_size>1</background_move_pool_size>
|
|
<mark_cache_size>268435456</mark_cache_size>
|
|
<uncompressed_cache_size>0</uncompressed_cache_size>
|
|
<merge_tree>
|
|
<number_of_free_entries_in_pool_to_execute_mutation>2</number_of_free_entries_in_pool_to_execute_mutation>
|
|
<number_of_free_entries_in_pool_to_lower_max_size_of_merge>2</number_of_free_entries_in_pool_to_lower_max_size_of_merge>
|
|
<number_of_free_entries_in_pool_to_execute_optimize_entire_partition>2</number_of_free_entries_in_pool_to_execute_optimize_entire_partition>
|
|
</merge_tree>
|
|
</clickhouse>
|