Clickhouse io

From cloudnative-co/claude-code-starter-kit · View interactive version

Clickhouse io is an AI agent skill from the GitHub repository cloudnative-co/claude-code-starter-kit. ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.

How to use this skill

Skill file

ClickHouse Analytics Patterns

ClickHouse is a column-oriented DBMS for OLAP, optimized for fast analytical queries on large datasets. Key strengths: columnar storage, compression, parallel execution, distributed queries, real-time analytics.

Reference Files

| File | Contents |

|------|----------|

| references/table-design.md | MergeTree engine types, table creation patterns, partitioning, ordering keys, data type selection |

| references/query-optimization.md | Filtering best practices, aggregations, window functions, materialized views, performance monitoring |

| references/data-pipeline.md | Bulk/streaming insert, ETL/CDC patterns, time series, funnel, cohort, and retention query templates |

Engine Selection Guide

| Engine | Use When | Trade-off |

|--------|----------|-----------|

| MergeTree | Default for most tables | No dedup or pre-aggregation |

| ReplacingMergeTree | Data has duplicates from multiple sources | Dedup only on merge, not query time |

| AggregatingMergeTree | Pre-computed rollups (hourly/daily stats) | Requires *State/*Merge function pairs |

Core Rules

ClickHouse excels at analytical workloads. Design tables for your query patterns, batch inserts, and leverage materialized views for real-time aggregations.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.