From 371a0a82b669a8f4edf7449e1921a80ef2584a50 Mon Sep 17 00:00:00 2001 From: nicktrn <55853254+nicktrn@users.noreply.github.com> Date: Mon, 24 Aug 2026 11:15:24 +0100 Subject: [PATCH] chore(hosting): trim clickhouse config comments Rationale for the config belongs in the PR, not the artifact. The one claim kept was also inaccurate: processors_profile_log and asynchronous_insert_log already ship TTLs in the pinned image, so the tables are not all unbounded. Drops the .server-changes entry: hosting-only changes are not covered by the webapp/supervisor areas, and a docker vs helm split is a separate discussion. --- .../hosting-clickhouse-system-logs.md | 6 ------ hosting/docker/clickhouse/override.xml | 17 +++-------------- hosting/docker/clickhouse/users-override.xml | 8 +------- 3 files changed, 4 insertions(+), 27 deletions(-) delete mode 100644 .server-changes/hosting-clickhouse-system-logs.md diff --git a/.server-changes/hosting-clickhouse-system-logs.md b/.server-changes/hosting-clickhouse-system-logs.md deleted file mode 100644 index dc6724232..000000000 --- a/.server-changes/hosting-clickhouse-system-logs.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -area: hosting -type: fix ---- - -Self-hosted ClickHouse now disables its unbounded internal telemetry tables and keeps query/error logs on a bounded retention, fixing runaway CPU and memory usage on the recommended machine size. Existing self-hosted deployments must drop the previously written disabled log tables separately to reclaim disk. diff --git a/hosting/docker/clickhouse/override.xml b/hosting/docker/clickhouse/override.xml index f9088054a..967426d47 100644 --- a/hosting/docker/clickhouse/override.xml +++ b/hosting/docker/clickhouse/override.xml @@ -10,14 +10,7 @@ 524288000 1 - + @@ -34,10 +27,7 @@ - + event_date + INTERVAL 7 DAY DELETE @@ -45,6 +35,5 @@ event_date + INTERVAL 30 DAY DELETE - + diff --git a/hosting/docker/clickhouse/users-override.xml b/hosting/docker/clickhouse/users-override.xml index a3964125b..13bcb2aec 100644 --- a/hosting/docker/clickhouse/users-override.xml +++ b/hosting/docker/clickhouse/users-override.xml @@ -1,17 +1,11 @@ - 8192 1 0 0 - + 0 0 0