v.22.12New Feature
Add grace_hash JOIN algorithm support to ClickHouse
Addgrace_hashJOIN algorithm, it can be enabled withSET join_algorithm = 'grace_hash'. #38191 (BigRedEye, Vladimir C).
Why it matters
Thegrace_hash join algorithm addresses limitations in existing join methods by providing a more efficient join strategy for large datasets or specific workload patterns, enhancing query execution speed and resource utilization.How to use it
Enable the new join algorithm by setting the join algorithm parameter in your query with:SET join_algorithm = 'grace_hash'This setting activates the
grace_hash join for the duration of the session or query.