Clickhouse Conventions

Use when designing or reviewing a ClickHouse MergeTree table or the code that writes to it: choosing ORDER BY (the ordering key), PARTITION BY and its cardinality, avoiding Nullable, LowCardinality and narrow numeric types, batch size and async_insert for inserts, the too-many-parts error, why ALTER TABLE UPDATE and DELETE mutations hurt, lightweight DELETE, ReplacingMergeTree duplicates, OPTIMIZE FINAL, and data skipping indexes.

techmefr Updated

File contents

techmefr/mentis commit 29053a2b1b

Frequently asked questions

npx get-skill add techmefr/clickhouse-conventions