ClickHouse MergeTree: ORDER BY, Partitioning, and the Sparse Index
MergeTree is the engine behind almost every ClickHouse table. A close look at what ORDER BY actually does, how PRIMARY KEY differs from it, how the sparse index turns range scans into fast lookups, and where partitioning fits in.
ClickHouse MergeTree: ORDER BY, Partitioning, and the Sparse Index Read More »