Skip to content
Opensource internals
  • Posts

Joins

ClickHouse's Hash Join Stores the Right Table as 64-bit Row Words

Oct 22, 2026 19 min read Jay Hubbert

The ClickHouse hash join keeps the right table as blocks and stores one tagged 64-bit row word per hash-table cell.

ClickhousePerformanceInternalsJoinsHash tables

Read more →

ClickHouse's Merge Join Walks Two Sorted Streams and Skips Whole Runs

Oct 22, 2026 19 min read Jay Hubbert

ClickHouse’s merge join advances two sorted cursors in lockstep and uses a fused compare-and-run-search to skip whole equal-key runs.

ClickhousePerformanceInternalsJoinsMerge join

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·