ClickHouse Analytics

Designs ClickHouse schemas and queries for fast analytics - MergeTree engine selection, ORDER BY key design, partitioning, materialized views, and projections. Use when someone asks "why is my ClickHouse query slow", "how should I order my sorting key", "should I use a materialized view or projection", "how do I deduplicate events", or is modeling an event or metrics table for OLAP. Do NOT use for tuning row-store OLTP databases like Postgres or MySQL - use sql-query-optimizer instead; for general relational schema design use database-schema; for reading query plans on traditional databases use explain-plan-reader; for the streaming ingestion side use kafka-pipelines.

SkillMedev 84afb61 7.3 KB Updated

File contents

SkillMedev/data-engineering-pipeline/tree/main/skills/clickhouse-analytics commit 84afb61a3b

Frequently asked questions

npx skillmds@latest add skillmedev/clickhouse-analytics