The principle
In a row store, every row carries its own overhead — a header, a null bitmap, alignment — and a value that repeats in a column is stored again and again. In a column store, the repetition is exactly what the compressor eats.
That advantage only exists for data that is append-only. An event table never updates a row and never deletes one (the cold tier takes the old ones away wholesale). So the shape of our data is the shape a column store is built for.
The number
| the store | on the disk | per view |
|---|---|---|
| our DuckDB + cold tier | 50.8 MB | 21 B |
| our ClickHouse | 65.7 MB | 27 B |
| our PostgreSQL | 1 110.6 MB | 455 B |
| umami v3 (PostgreSQL) | 3 406.0 MB | 1 396 B |
Same rows, same machine, one round. And we are not wasting anything on a general-purpose engine's flexibility — we are paying for the flexibility we do not use.
The experiment report has the comparison, including the write times that PostgreSQL wins.