altinity-expert-clickhouse-merges

Diagnose ClickHouse merge performance, part backlog, and related errors.

42|7|Updated Dec 26, 2025
Ready to run
npx skills add https://github.com/ntk148v/clicklens --skill altinity-expert-clickhouse-merges
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: altinity-expert-clickhouse-merges
Source: https://github.com/ntk148v/clicklens/tree/main/.agent/skills/altinity-expert-clickhouse-merges
Command: npx skills add https://github.com/ntk148v/clicklens --skill altinity-expert-clickhouse-merges

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnostically identifies ClickHouse merge performance bottlenecks, part backlog growth, and related merge errors to help DBAs stabilize storage and improve query speed.

Core Features & Use Cases

  • Quick diagnostics: surface current merges status, part counts, and recent mutations with deterministic queries.
  • Result interpretation: guidance to translate metrics like backlog size, elapsed time, and mutation merges into actionable bottlenecks.
  • Actionable triage: a step-by-step plan for investigating "Too Many Parts" conditions, slow merges, and failed merges.
  • Cross-module guidance: recommended follow-ons to deeper contexts such as schema, storage, and mutations.

Quick Start

Run the diagnostic queries provided to identify current merge bottlenecks and part backlogs.

Frequently Asked Questions about altinity-expert-clickhouse-merges

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose ClickHouse merge bottlenecks and part backlog growth?▼

To diagnose ClickHouse merge bottlenecks and part backlog growth, run deterministic diagnostic queries to surface current merge status, part counts, and recent mutations, then translate metrics like backlog size and elapsed time into actionable resolutions.

What is the best way to resolve the "Too Many Parts" condition in ClickHouse?▼

Resolving the "Too Many Parts" condition in ClickHouse requires a structured triage workflow that investigates slow merges, failed merges, and TTL-driven parts to stabilize storage and improve query throughput.

How do I interpret ClickHouse merge metrics like elapsed time and mutation merges?▼

Interpreting ClickHouse merge metrics like elapsed time and mutation merges involves using specific guidelines to translate these measurements into actionable bottlenecks for targeted maintenance and tuning.

Can I use this diagnostic workflow for ClickHouse clusters with frequent TTL-driven parts and mutations?▼

Yes, this diagnostic workflow is specifically designed for operational ClickHouse clusters with frequent merges, TTL-driven parts, and mutations to guide targeted maintenance and stabilize query throughput.

What should I do after identifying slow or failed ClickHouse merges?▼

After identifying slow or failed ClickHouse merges, follow the provided step-by-step triage plan to investigate the root cause and explore deeper contexts such as schema, storage, and mutations for targeted tuning.

Why does ClickHouse merge performance degrade over time and how can I triage it?▼

ClickHouse merge performance degrades when part backlogs grow and mutations accumulate, requiring deterministic diagnostic queries to surface current status and a structured triage workflow to stabilize storage and query speed.