diff --git a/content/nim/fundamentals/tech-specs.md b/content/nim/fundamentals/tech-specs.md index 700048bb1..c0a381915 100644 --- a/content/nim/fundamentals/tech-specs.md +++ b/content/nim/fundamentals/tech-specs.md @@ -133,8 +133,7 @@ The table below shows the estimated storage requirements for **NGINX OSS**, base {{}} ## ClickHouse tuning {#clickhouse-tuning} -The default ClickHouse configuration works efficiently with NGINX Instance Manager. -If you change the configuration and ClickHouse runs out of memory, see the [ClickHouse configuration guide]({{< ref "/nim/system-configuration/configure-clickhouse.md#clickhouse-tuning" >}}) to adjust the settings. +The default ClickHouse configuration works efficiently with NGINX Instance Manager. If you change the configuration and ClickHouse runs out of memory, see the [ClickHouse configuration guide]({{< ref "/nim/system-configuration/configure-clickhouse.md#clickhouse-tuning" >}}) to adjust the settings. ## Firewall ports {#firewall} diff --git a/content/nim/system-configuration/configure-clickhouse.md b/content/nim/system-configuration/configure-clickhouse.md index a07930f74..26d263f00 100644 --- a/content/nim/system-configuration/configure-clickhouse.md +++ b/content/nim/system-configuration/configure-clickhouse.md @@ -76,11 +76,15 @@ The default ClickHouse configuration works efficiently with NGINX Instance Manag ClickHouse has system tables that provide logs and telemetry for monitoring and debugging. These are not user activity logs but internal diagnostic logs. The following tables can cause memory issues if not managed: +### trace_log + Records detailed execution traces and profiling data. Useful for query debugging and performance analysis. You can change the settings for `trace_log` in `/etc/clickhouse-server/config.xml` under the `` section. The `flush_interval_milliseconds` setting controls how often data is flushed from memory to the table. The default is `7500`. Lowering this value can increase captured rows and use more memory. -Default settings for trace_log is as follows +### trace_log + +Default settings: ```xml