ClickHouse is a column-oriented database built for OLAP: aggregating and scanning huge tables fast, not updating single rows fast. This module covers the setup you're running locally and the internals that make it behave the way it does.
33 lessons across 10 sections
avg(amount) still touches every full row on disk — all four columns come along for free whether you asked for them or not.
avg(amount) reads and decompresses only the amount column — the other three never leave disk.