# Probe-Based Routing for Join Optimizer Selection

DevFeed: [Probe-Based Routing for Join Optimizer Selection](<https://devfeed.tech/articles/probe-based-routing-for-join-optimizer-selection-132693.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.15263>)

Author: Vladimir Burlakov, Alena Rybakina, Sergey Kudashev, Ilgam Latypov, Konstantin Gilev, Alexander Demin, Denis Ponomaryov, Yuriy Dorn

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [JOIN](<https://devfeed.tech/topics/join.md>), [monte carlo tree search](<https://devfeed.tech/topics/monte-carlo-tree-search.md>), [Query (disambiguation)](<https://devfeed.tech/topics/query.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [alpha](<https://devfeed.tech/tags/alpha.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [dynamic-programming](<https://devfeed.tech/tags/dynamic-programming.md>), [features](<https://devfeed.tech/tags/features.md>), [information](<https://devfeed.tech/tags/information.md>), [job](<https://devfeed.tech/tags/job.md>), [join](<https://devfeed.tech/tags/join.md>), [monte-carlo](<https://devfeed.tech/tags/monte-carlo.md>), [monte-carlo-tree-search](<https://devfeed.tech/tags/monte-carlo-tree-search.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [random](<https://devfeed.tech/tags/random.md>), [router](<https://devfeed.tech/tags/router.md>), [routing](<https://devfeed.tech/tags/routing.md>), [selection](<https://devfeed.tech/tags/selection.md>), [size](<https://devfeed.tech/tags/size.md>), [spacing](<https://devfeed.tech/tags/spacing.md>), [time](<https://devfeed.tech/tags/time.md>)

## AI overview

The paper reports that routing join queries using probe-derived landscape features improves mean end-to-end time over PostgreSQL's relation-count rule on JOB and IMDb-CEB. The probe estimates tail spacing (α), describing gaps among the best sampled join orders, and crossover surprise (θ), measuring how a crossover child's cost differs from its parents' mean; it takes microseconds per query. The router clusters training queries by these features and relation count, assigns a solver only where it wins total end-to-end time by a margin, and otherwise keeps PostgreSQL's default choice. On IMDb-CEB, adding probe features nearly doubles the gain from relation count alone. The excerpt does not provide absolute timings or further benchmark details.

## Source excerpt

arXiv:2611.15263v1 Announce Type: new Abstract: In optimizers that choose a join-order solver by a size rule, join ordering is an algorithm-selection problem, because dynamic programming (DP), genetic search (GEQO), and Monte Carlo tree search (MCTS) each win on different queries. PostgreSQL nevertheless chooses among them by relation count alone, although queries with the same relation count can favor different solvers. This paper introduces two landscape features that a probe computes from random join orders in microseconds per query. The tail spacing $\alpha$ describes how the costs of the best sampled orders are spaced, and the crossover surprise $\theta$ describes how far the cost of a crossover child deviates from the mean cost of its parents. The router clusters training queries by these features and the relation count, assigns a solver to every cluster that this solver wins in total end-to-end time by a margin, and leaves all other queries to PostgreSQL's default rule. On JOB and IMDb-CEB, the router lowers mean end-to-end time relative to the default rule, and on IMDb-CEB the probe features nearly double the gain obtained from the relation count alone, so they carry information about the queries that the relation count lacks.