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

ClickHouse ® JOINs... 100x faster

Blog post from Tinybird

Post Details
Company
Date Published
Author
Maksim Kita
Word Count
1,095
Company Posts That Month
159
Language
English
Hacker News Points
-
Post removed?
No
Summary

The recent introduction of two pull requests in ClickHouse® 24.4 has significantly enhanced the performance of JOIN operations, with some queries experiencing speed increases by multiple orders of magnitude. The first pull request implemented a more sophisticated predicate pushdown technique using equivalence classes, which allows predicates to be applied to both sides of a JOIN operation, enhancing query performance by reducing the data processed. This technique leverages the equivalence of JOINed columns to optimize the logical query plan, improving the execution of INNER, LEFT, and RIGHT JOINs. The second pull request introduced a mechanism for automatically converting OUTER JOINs to INNER JOINs when predicates filter out non-joined rows with default values, further optimizing query execution by enabling more scenarios for predicate pushdown. These optimizations have resolved preexisting issues within ClickHouse® and have resulted in substantial improvements in query performance, making data processing more efficient for users.

Trends Found in this Post

No tracked trend matches for this post yet.

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.