Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion concepts/best-practices/minimize-optimize-joins.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ ClickHouse supports several JOIN algorithms that trade off between speed and mem
Each algorithm has varying support for JOIN types. A full list of supported join types for each algorithm can be found [here](/concepts/features/operations/select/joining-tables#choosing-a-join-algorithm).
</Note>

You can let ClickHouse choose the best algorithm by setting `join_algorithm = 'auto'` (the default), or explicitly control it based on your workload. If you need to select a join algorithm to optimize for performance or memory overhead, we recommend [this guide](/concepts/features/operations/select/joining-tables#choosing-a-join-algorithm).
You can let ClickHouse choose the best algorithm by setting `join_algorithm = 'auto'`, or explicitly control it based on your workload. The default value is `direct,parallel_hash,hash`, so ClickHouse uses a direct join when the right-hand side is a dictionary or key-value engine and otherwise falls back to parallel hash, then hash. If you need to select a join algorithm to optimize for performance or memory overhead, we recommend [this guide](/concepts/features/operations/select/joining-tables#choosing-a-join-algorithm).

For optimal performance:

Expand Down