What problem does it solve?
This skill eliminates the risk of poor ClickHouse performance and cluster instability caused by applying general database best practices that fail to account for ClickHouse's unique columnar storage, sparse primary indexes, and merge tree architecture. It ensures all schema designs, queries, and data ingestion workflows follow ClickHouse-specific validated rules to avoid costly performance pitfalls.
Core Features & Use Cases
- 28 Prioritized Rules: Covers schema design, query optimization, and insert strategy with clear impact ratings (CRITICAL/HIGH/MEDIUM) and concrete incorrect/correct SQL examples.
- Formal Review Workflows: Structured procedures for schema reviews, query reviews, and insert strategy reviews with checklists to ensure no critical rules are missed.
- Use Cases: Ideal for reviewing CREATE TABLE statements, troubleshooting slow observability queries, optimizing data ingestion pipelines for logging and metrics workloads, and tuning JOIN performance for large-scale analytics.
Quick Start
Use the clickhouse-best-practices skill to audit your existing ClickHouse table schema for primary key ordering, data type, and partitioning rule violations.