---
title: "Join Reordering"
description: "1 posts about Join Reordering, summarised, each linking to the original."
---

# Join Reordering
> 1 posts about Join Reordering, summarised, each linking to the original.

## Articles

### [The new cost-based join optimizer with reordering support for non-inner joins](https://yomu.fyi/post/the-new-cost-based-join-optimizer-with-reordering-support-for-non-inne.md)
- Company: [Clickhouse](https://yomu.fyi/company/clickhouse.md)
- Published: Oct 28, 2026
- Type: Announcement

ClickHouse introduces a new cost-based join optimizer (CBO) based on DPsub, an exhaustive dynamic-programming algorithm that finds the cheapest join order for queries with up to 12 tables. The optimizer is enabled by default in the upcoming 26.10 release. Unlike the previous greedy optimizer that only reordered inner joins, the new optimizer supports reordering of LEFT, RIGHT, FULL outer joins, as well as SEMI and ANTI joins, using a conflict detector to ensure correctness. The conflict detector admits only reorderings that preserve the query result and finds every valid plan in the search space, with testing on over 90,000 join trees and 2.8 million candidate plans. Performance tests show significant speedups, for example TPC-H Q2 improved by 55% and TPC-DS Q73 by 45% compared to the greedy default.
