plausible-hosting/clickhouse/clickhouse-user-config.xml
Pierre Couy 5d21be20d5 Disable resource-hungry clickhouse logging & metrics
Also includes a bunch of smaller optimizations
2024-12-04 17:14:16 +01:00

18 lines
654 B
XML

<clickhouse>
<profiles>
<default>
<log_queries>0</log_queries>
<log_query_threads>0</log_query_threads>
<max_block_size>1024</max_block_size>
<max_download_threads>1</max_download_threads>
<input_format_parallel_parsing>0</input_format_parallel_parsing>
<output_format_parallel_formatting>0</output_format_parallel_formatting>
</default>
</profiles>
<asynchronous_metrics_update_period_s>60</asynchronous_metrics_update_period_s>
<dns_cache_update_period>90</dns_cache_update_period>
<mark_cache_size>524288000</mark_cache_size>
</clickhouse>