Share
A Level 1 technical workshop from ChistaDATA on how ClickHouse works underneath: how it executes a query, writes and merges parts, prunes data, compresses columns and serves dictionaries. Behaviour and defaults were checked against ClickHouse 26.3 and 26.8 LTS, and every claim on the slides is backed by a query you can run on your own cluster.
Five modules, about 15 hours, instructor-led and hands-on:
CH-101 Architecture and execution: query lifecycle, vectorised block processing, the MergeTree family and the settings hierarchy.
CH-102 Parts and on-disk layout: part anatomy, the insert path and backpressure, merge selection, mutations as rewrites, granules and part states.
CH-103 Keys, indexes and projections: partition pruning and lifecycle, sort-key engineering with EXPLAIN indexes = 1, skip indexes, projections, and default changes between versions.
CH-104 Compression codecs: LZ4 and ZSTD trade-offs, Delta, DoubleDelta, Gorilla, T64, codec chaining rules, and a measurement loop over system.columns.
CH-105 Dictionaries: source wiring, layout selection and memory profile, lifetime and refresh, dictGet against JOIN, and operating through system.dictionaries.
Written for CTOs, architects, analytics engineers, data scientists, DBAs and data engineers.
Presented by Shiv Iyer, Founder and CEO, ChistaDATA Inc.
https://chistadata.com
Defaults change between releases, so read them from your own server and test on your own workload before applying anything to production.
ClickHouse is a registered trademark of ClickHouse, Inc. ChistaDATA Inc. is independent of ClickHouse, Inc., and this workshop is not endorsed by it.