knaxuslearn · build · ship

Projects / Web analytics / Before you start

Before you start

You need Docker. ClickHouse runs in a container, and its command line client is in the same image:

docker run --name events-ch -d --ulimit nofile=262144:262144 clickhouse/clickhouse-server
docker exec -it events-ch clickhouse-client

At the :) prompt, you can paste SQL. Each statement ends with a semicolon. Keep the same client open for the whole project.

The outputs on this page were produced with:

ClickHouse 26.11.1.1 (embedded, chdb 4.5.1)

The row counts, sizes and plans below come from a real run. Your timings, part names and exact sizes will differ a little. Numbers that come from our own generated data, such as the two million rows, should match.