ClickHouse projection: full copy vs _part_offset index, and when each one pays off
A lightweight ClickHouse projection finds 10,000 matching rows in a billion, then still reads 7.9% of the table. A full copy reads 3 granules. The math.
Tag
A lightweight ClickHouse projection finds 10,000 matching rows in a billion, then still reads 7.9% of the table. A full copy reads 3 granules. The math.
A value in just 1 of every 10,000 rows still lands in 56% of 8,192-row blocks. Why ClickHouse skip indexes read almost everything, and what fixes them.