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. ## Core Features & Use Cases - Table Design Patterns: Guidance on MergeTree, ReplacingMergeTree, and AggregatingMergeTree engines with partitioning and ordering key strategies. - Query Optimization: Patterns for efficient filtering, aggregations with quantile functions, window functions, and materialized views for real-time rollups. - Data Ingestion & Pipelines: Batch insert patterns in TypeScript, streaming inserts, ETL workflows, and change data capture from PostgreSQL. - Use Case: When migrating analytics from PostgreSQL to ClickHouse, use this Skill to design a partitioned MergeTree table, build materialized views for hourly stats, and write funnel or cohort analysis queries. ## Quick Start Ask the AI to design a ClickHouse table schema and optimized aggregation query for your time-series analytics dataset.