cluster-operations

Official

Simplify ClickHouse cluster management and scaling.

Authorchmonitor
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Managing self-hosted ClickHouse clusters requires manual, error-prone work for distributed DDL propagation, node scaling, replication recovery, and infrastructure migrations, leading to downtime and data inconsistency if executed incorrectly.

Core Features & Use Cases

  • Distributed DDL & Table Management: Automate schema changes across all shards with ON CLUSTER commands, configure distributed table sharding and read routing for optimal query performance.
  • Node Lifecycle Operations: Safely add or remove cluster nodes, handle automatic data sync for replicated tables, and drain replication queues before decommissioning nodes to avoid data loss.
  • Cluster Recovery & Migration: Restart failed replicas, reshard data with minimal disruption, and migrate from ZooKeeper to ClickHouse Keeper without extended downtime. Use case: For example, when scaling a ClickHouse cluster to handle a 2x increase in query traffic, use this skill to add new nodes, rebalance distributed table shards, and verify replication health without interrupting active workloads.

Quick Start

Use the cluster-operations skill to add a new ClickHouse node to your existing cluster and rebalance distributed table shards to handle increased query load.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cluster-operations
Download link: https://github.com/chmonitor/chmonitor/archive/main.zip#cluster-operations

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.