1
0
mirror of https://github.com/plausible/hosting.git synced 2025-06-19 20:07:30 -05:00

Add clickhouse configuration to disable logging tables.

These tables aren't appropriate for small-scale installations, especially for single home use.

See https://theorangeone.net/posts/calming-down-clickhouse/ and https://github.com/plausible/analytics/issues/301
This commit is contained in:
Jake Howard
2020-11-14 14:20:13 +00:00
parent 5b9e8c9e8d
commit 1c2004fce7
3 changed files with 24 additions and 0 deletions

@ -0,0 +1,14 @@
<yandex>
<logger>
<level>warning</level>
<console>true</console>
</logger>
<!-- Stop all the unnecessary logging -->
<query_thread_log remove="remove"/>
<query_log remove="remove"/>
<text_log remove="remove"/>
<trace_log remove="remove"/>
<metric_log remove="remove"/>
<asynchronous_metric_log remove="remove"/>
</yandex>