SummingMergeTree and AggregatingMergeTree Collapse Groups in the Merge: No Hash Table, No Second Table
SummingMergeTree and AggregatingMergeTree combine rows inside the merge algorithm, group by group, as the sorted streams are walked.
All posts published on this site.
Everything published here, newest first.
SummingMergeTree and AggregatingMergeTree combine rows inside the merge algorithm, group by group, as the sorted streams are walked.
Incremental backups reuse the base backup’s bytes: only the suffix after a verified shared prefix is uploaded, and the restore concatenates the two halves.
A cluster-wide backup is a ZooKeeper-coordinated election: one owner per data file, a stage barrier between phases, and a consensus loop over metadata.
formatDateTime compiles its format string into an instruction vector and a byte template.
ClickHouse analyses a regexp before running it, and often never runs RE2 at all.