2023-12-04 22:35:54 +01:00
|
|
|
{%- from "clickhouse/map.jinja" import clickhouse with context %}
|
|
|
|
<clickhouse>
|
|
|
|
<listen_host>::</listen_host>
|
|
|
|
<default_replica_name>{replica}</default_replica_name>
|
|
|
|
<default_replica_path>/clickhouse/{cluster}/tables/{uuid}/{database}/{table}-{shard}</default_replica_path>
|
|
|
|
<logger>
|
2024-02-25 21:46:28 +01:00
|
|
|
<level>warning</level>
|
2024-03-01 17:40:19 +01:00
|
|
|
<log>/var/log/clickhouse-server/clickhouse-server.log</log>
|
|
|
|
<errorlog>/var/log/clickhouse-server/clickhouse-server.err.log</errorlog>
|
2024-02-25 21:46:28 +01:00
|
|
|
<count>10</count>
|
2023-12-18 19:30:19 +01:00
|
|
|
<size>100M</size>
|
2024-02-25 21:46:28 +01:00
|
|
|
<stream_compress>1</stream_compress>
|
2023-12-04 22:35:54 +01:00
|
|
|
</logger>
|
2024-01-03 13:29:10 +01:00
|
|
|
<max_server_memory_usage_to_ram_ratio>0.3</max_server_memory_usage_to_ram_ratio>
|
2023-12-04 22:35:54 +01:00
|
|
|
<tcp_port_secure>9440</tcp_port_secure>
|
|
|
|
<https_port>8443</https_port>
|
|
|
|
<interserver_http_port remove="true"></interserver_http_port>
|
|
|
|
<interserver_https_port>9010</interserver_https_port>
|
2024-02-25 21:42:40 +01:00
|
|
|
<merge_tree>
|
2024-02-25 21:47:55 +01:00
|
|
|
<merge_tree_clear_old_broken_detached_parts_ttl_timeout_seconds>604800</merge_tree_clear_old_broken_detached_parts_ttl_timeout_seconds>
|
2024-02-25 21:42:40 +01:00
|
|
|
<merge_tree_enable_clear_old_broken_detached>1</merge_tree_enable_clear_old_broken_detached>
|
|
|
|
<clean_deleted_rows>Always</clean_deleted_rows>
|
2024-04-18 08:49:38 +02:00
|
|
|
<max_suspicious_broken_parts>100</max_suspicious_broken_parts>
|
2024-02-25 21:42:40 +01:00
|
|
|
</merge_tree>
|
2023-12-04 22:35:54 +01:00
|
|
|
</clickhouse>
|