修改并优化配置到新 ip 段
This commit is contained in:
11
clickhouse/configs/docker.xml
Normal file
11
clickhouse/configs/docker.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<clickhouse>
|
||||
<!-- Listen wildcard address to allow accepting connections from other containers and host network. -->
|
||||
<listen_host>::</listen_host>
|
||||
<listen_host>0.0.0.0</listen_host>
|
||||
<listen_try>1</listen_try>
|
||||
|
||||
<logger>
|
||||
<level>notice</level>
|
||||
<console>1</console>
|
||||
</logger>
|
||||
</clickhouse>
|
||||
8
clickhouse/configs/low-memory.xml
Normal file
8
clickhouse/configs/low-memory.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<clickhouse>
|
||||
<!-- <mark_cache_size>4294967296</mark_cache_size> -->
|
||||
<!-- no metrics, thus no more disk write -->
|
||||
<metric_log remove="1" />
|
||||
<asynchronous_metric_log remove="1" />
|
||||
<text_log remove="1" />
|
||||
<trace_log remove="1" />
|
||||
</clickhouse>
|
||||
10
clickhouse/configs/ttl.xml
Normal file
10
clickhouse/configs/ttl.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<clickhouse>
|
||||
<!--
|
||||
<trace_log>
|
||||
<ttl>event_date + INTERVAL 30 DAY DELETE</ttl>
|
||||
</trace_log>
|
||||
<text_log>
|
||||
<ttl>event_date + INTERVAL 30 DAY DELETE</ttl>
|
||||
</text_log>
|
||||
-->
|
||||
</clickhouse>
|
||||
Reference in New Issue
Block a user