What problem does it solve?
ClickHouse schema and data migrations carry significant risk of downtime, data inconsistency, and performance degradation when executed without proven, safe patterns. This Skill eliminates those risks by providing vetted, production-ready guidance for all common ClickHouse migration scenarios.
Core Features & Use Cases
- ALTER TABLE Operation Patterns: Safe syntax and best practices for adding, dropping, modifying, and renaming columns without unintended side effects.
- Zero-Downtime Migration Workflows: Step-by-step processes for engine changes, large table swaps, and schema updates that avoid service disruption for active workloads.
- Data Management Strategies: Guidance for batch backfills, lightweight UPDATE/DELETE mutations, cross-server transfers, and offline migrations using clickhouse-local.
- Use Case: A team running a 10TB MergeTree table can use this Skill to switch to a ReplacingMergeTree engine, backfill historical data in batches, and redirect application traffic with zero downtime to end users.
Quick Start
Use the migration-patterns skill to design a zero-downtime migration plan to change your large ClickHouse table's engine and backfill historical data without impacting active query performance.