What problem does it solve? Designing efficient ClickHouse schemas and writing performant analytical queries requires deep knowledge of MergeTree engines, partitioning, and aggregation functions that most developers lack when migrating from row-oriented databases like PostgreSQL or MySQL. ## Core Features & Use Cases - Table Design Patterns: Provides templates for MergeTree, ReplacingMergeTree, and AggregatingMergeTree engines with correct partitioning and ordering keys. - Query Optimization: Covers efficient filtering, ClickHouse-specific aggregation functions like quantile and uniq, window functions, and materialized views for real-time rollups. - Data Engineering Pipelines: Includes bulk insert, streaming insert, ETL, and change data capture patterns from PostgreSQL to ClickHouse. - Use Case: When migrating analytics from PostgreSQL to ClickHouse, use this Skill to design a partitioned MergeTree table, build a materialized view for hourly stats, and write batch inserts that avoid the performance pitfalls of row-by-row ingestion. ## Quick Start Ask the AI to design a ClickHouse table schema and optimized aggregation query for your time-series analytics workload.