What problem does it solve?
Provides practical guidance and patterns to design ClickHouse schemas, ingestion pipelines, and queries to achieve low-latency, high-throughput analytical workloads while avoiding common performance pitfalls.
Core Features & Use Cases
- Schema & Engine Guidance: Advice on choosing MergeTree variants, partitioning strategies, ordering keys, and appropriate data types to improve compression and query performance.
- Query Optimization: Patterns for efficient filtering, aggregations, window functions, and use of ClickHouse-specific functions to reduce read volume and latency.
- Ingestion & Pipelines: Recommendations for batch and streaming inserts, CDC patterns, materialized views for real-time aggregation, and monitoring queries and table statistics for operational observability.
- Use Case: Migrate analytics from PostgreSQL, build hourly aggregated dashboards with materialized views, and tune slow queries by reworking partitions and order keys.
Quick Start
Use the clickhouse-io skill to review a slow analytics query and recommend schema changes, partitioning, materialized views, and ingestion best practices to improve performance.