ClickHouse Best Practices

Optimizes ClickHouse performance through expert schema design, query tuning, and high-efficiency data ingestion strategies.

This skill provides comprehensive, validated guidance for ClickHouse developers and AI agents, covering everything from initial schema creation to advanced query optimization. It integrates 31 specific rules that govern primary key selection, data type minimization, JOIN algorithms, and batching strategies, ensuring that users avoid common pitfalls like improper column ordering or inefficient mutations. By following a structured discovery and execution workflow, the skill empowers Claude to act as a specialized ClickHouse DBA, capable of reviewing CREATE TABLE statements, troubleshooting slow queries, and designing robust data pipelines based on official ClickHouse engineering standards.

Características Principales

014 GitHub stars
02Automated schema review against 31 ClickHouse-specific performance rules
03Advanced data ingestion strategies for batching and mutation avoidance
04Expert guidance on data type selection and cardinality-based indexing
05Optimized query execution with progressive discovery and safety limits
06Performance-focused JOIN algorithm selection and filter placement

Casos de Uso

01Designing high-performance schemas for real-time analytics and OLAP workloads
02Implementing efficient data ingestion pipelines using best-practice batching techniques
03Troubleshooting and optimizing slow-running SQL queries using EXPLAIN analysis