Home / Companies / ClickHouse / Blog / Post Details
Content Deep Dive

ClickHouse Joins Under the Hood - Full Sorting Merge Join, Partial Merge Join - MergingSortedTransform

Blog post from ClickHouse

Post Details
Company
Date Published
Author
Tom Schreiber
Word Count
7,058
Company Posts That Month
12
Language
English
Hacker News Points
-
Post removed?
No
Summary

The Full sorting merge join algorithm is non-memory bound and can take advantage of the physical row order of the joined tables, skipping the sorting phase in such cases. It generally requires less memory than hash join algorithms but may have reduced execution speed if the data blocks are not already sorted by the join key. The partial merge join algorithm is optimized for minimizing memory usage when large tables are joined and always fully sorts the right table first via external sorting. This optimization allows it to skip the need for in-memory sorting, reducing memory consumption at the expense of relatively slower execution speed.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 3 1,875 540 158 +10%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.