Reading ClickHouse
MechanicsBuild the mental model of how ClickHouse presents itself — what it exposes to the operator, how data gets in, and what happens when a query runs. Read-along only; no setup required.
What this module covers
- The system database (system.tables, system.processes, system.query_log)
- INSERT mechanics and batching
- Input/output formats (CSV, JSONEachRow, Native, Parquet)
- Query execution lifecycle — parse, analyze, plan, execute
- Vectorized execution (block-based processing)
- MergeTree engine (first mention)
- Sparse primary index (first encounter)
- EXPLAIN as a diagnostic tool
- Approximate aggregate functions (uniq, quantile)