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.