Oct 19, 2026
15 min read
Jay Hubbert
Ctrl-C only flips an atomic counter in the client; the receive loop notices, writes a Cancel packet, and keeps draining packets so the connection stays in sync.
Clickhouse Networking Protocol Internals CLI
Read more →
Oct 19, 2026
17 min read
Jay Hubbert
ClickHouse’s JSON type splits a document into per-path subcolumns, with typed paths, bounded dynamic paths, and a shared-data spill.
Clickhouse Internals JSON Types Storage
Read more →
Oct 19, 2026
14 min read
Jay Hubbert
BuzzHouse pairs every random query with an oracle query and compares the two result files by MD5 to catch wrong answers, not just crashes.
Clickhouse Testing Fuzzing Internals
Read more →
Oct 19, 2026
17 min read
Jay Hubbert
ClickHouse moves WHERE conditions into PREWHERE by cost per rejected row, and reads PREWHERE columns in separate read steps.
Clickhouse Mergetree Prewhere Query planning Performance
Read more →
Oct 19, 2026
15 min read
Jay Hubbert
ClickHouse flattens the join tree into a graph, searches it for a cheaper order, and rebuilds the plan.
Clickhouse Query planning Joins Optimizer Internals
Read more →