clickhouse-reference-architecture
Installation
SKILL.md
ClickHouse Reference Architecture
Overview
Production-grade architecture for ClickHouse analytics platforms covering project layout, data flow, multi-tenancy, and operational patterns. Work through the five steps below to get the high-level shape, then drill into the linked reference files for the full DDL, client code, and tenancy trade-offs.
Prerequisites
- Understanding of ClickHouse fundamentals — table engines,
ORDER BYsort keys, and partitioning. - A TypeScript/Node.js project (the client examples use
@clickhouse/client). - When reviewing an existing codebase,
GrepforcreateClient(to locate the current client module andReadthe SQL files underclickhouse/schemas/.