learning.lab
Module 01

ClickHouse

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

Why column-oriented, in one picture
SELECT
Row-orientede.g. Postgres/MySQL
1IN42.1010:01
2US18.5010:02
3DE91.0010:02
4IN12.7510:03

avg(amount) still touches every full row on disk — all four columns come along for free whether you asked for them or not.

Column-orientedClickHouse

avg(amount) reads and decompresses only the amount column — the other three never leave disk.

01

Why ClickHouse

02

Foundations

03

Data Types

04

Storage Engine

05

SQL & Querying

06

Query Speed

07

Ingestion & Other Engines

08

Security & Backup

09

Scale & Ops

10

Monitoring & Operations