Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/clickhouse-prod-checklist

@0d57af8
Run it yourself

Production readiness checklist for ClickHouse — server tuning, backup, monitoring, and deployment verification. Use when launching a ClickHouse deployment, doing a go-live review, or auditing production readiness before flipping traffic. Trigger with "clickhouse production", "clickhouse go-live", "clickhouse launch checklist", "production clickhouse", "clickhouse prod ready".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/clickhouse-prod-checklist

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesserver-config.md

≈429 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Server Configuration (Self-Hosted)

Key production settings for config.xml / users.xml. On ClickHouse Cloud these are managed for you — this section applies only to self-hosted deployments.

<!-- Key production settings in config.xml / users.xml -->

<!-- Memory: set to ~80% of available RAM -->
<max_server_memory_usage_to_ram_ratio>0.8</max_server_memory_usage_to_ram_ratio>

<!-- Query limits -->
<max_concurrent_queries>150</max_concurrent_queries>
<max_memory_usage>10000000000</max_memory_usage>  <!-- 10GB per query -->
<max_execution_time>300</max_execution_time>       <!-- 5 min timeout: cap runaway analytical scans -->

<!-- Merge settings -->
<background_pool_size>16</background_pool_size>
<background_schedule_pool_size>16</background_schedule_pool_size>

<!-- Logging -->
<query_log>
    <database>system</database>
    <table>query_log</table>
    <flush_interval_milliseconds>7500</flush_interval_milliseconds>
</query_log>

Tuning notes

  • max_server_memory_usage_to_ram_ratio — 0.8 leaves headroom for the OS page cache and merge buffers. Lower it to 0.6–0.7 on hosts that also run other services.
  • max_concurrent_queries — 150 is a safe default for a single node; raise only after confirming CPU and memory headroom under load test.
  • max_memory_usage — the per-query cap (10 GB here). Set below max_server_memory_usage divided by expected concurrency to avoid OOM.
  • max_execution_time — 300 s bounds runaway analytical scans so one query cannot monopolize the pool.
  • background_pool_size — controls merge parallelism. Match it roughly to the core count; too low starves merges and grows the active-parts count.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides a production readiness checklist and configuration guidance for ClickHouse deployments. It includes best practices for schema design, server tuning, monitoring, and backups without any malicious code or hidden behaviors.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 4 months ago
What it can do
Reads files Runs commands
version
1.7.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "saas",
  "database",
  "analytics",
  "clickhouse",
  "olap"
]
All 3 allowed tools
ReadBash(clickhouse-client:*)Bash(curl:*)
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/clickhouse-prod-checklist