Lune

VLDB2026Top-tier venue

Hybrid Mixed Integer Linear Programming for Large-Scale Join Order Optimisation

Manuel Schönberger, Immanuel Trummer, Wolfgang Mauerer

Abstract

Finding optimal join orders is among the most crucial steps to be performed by query optimisers. Though extensively studied in data management research, the problem remains far from solved: While query optimisers rely on exhaustive search methods to determine ideal solutions for small problems, such methods reach their limits once queries grow in size. Yet, large queries become increasingly common in real-world scenarios, and require suitable methods to generate efficient execution plans. While a variety of heuristics have been proposed for large-scale query optimisation, they suffer from degrading solution quality as queries grow in size, or feature highly sub-optimal worst-case behavior, as we will show.

We propose a novel method based on the paradigm of mixed integer linear programming (MILP ): By deriving a novel MILP model capable of optimising arbitrary bushy tree structures, we address the limitations of existing MILP methods for join ordering, and can rely on highly optimised MILP solvers to derive efficient tree structures that elude competing methods. To ensure optimisation efficiency, we embed our MILP method into a hybrid framework , which applies MILP solvers precisely where they provide the greatest advantage over competitors, while relying on more efficient methods for less complex optimisation steps. Thereby, our approach gracefully scales to extremely large query sizes joining up to 100 relations, and consistently achieves the most robust plan quality among a large variety of competing join ordering methods.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Large-Scale Multiple Query Optimisation with Incremental Quantum(-Inspired) Annealing cites Quantum-Inspired Digital Annealing for Join Ordering
  • Large-Scale Multiple Query Optimisation with Incremental Quantum(-Inspired) Annealing cites Ready to Leap (by Co-Design)? Join Order Optimisation on Quantum Hardware
  • Quantum-Inspired Digital Annealing for Join Ordering cites Ready to Leap (by Co-Design)? Join Order Optimisation on Quantum Hardware
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on3

  1. Ready to Leap (by Co-Design)? Join Order Optimisation on Quantum HardwareManuel Schönberger, Stefanie Scherzinger, Wolfgang MauererSIGMOD 2023 · 47 citations
  2. Quantum-Inspired Digital Annealing for Join OrderingManuel Schönberger, Immanuel Trummer, Wolfgang MauererVLDB 2024 · 36 citations
  3. Large-Scale Multiple Query Optimisation with Incremental Quantum(-Inspired) AnnealingManuel Schönberger, Immanuel Trummer, Wolfgang MauererSIGMOD 2026 · 6 citations

Related papers

  1. Efficiently Computing Join Orders with Heuristic SearchImmanuel Haffner, Jens DittrichSIGMOD 2023 · 8 citations
  2. How to Optimize SQL Queries? A Comparison Between Split, Holistic, and Hybrid ApproachesLuca Gretscher, Jens DittrichVLDB 2025
  3. Succinct Structure Representations for Efficient Query OptimizationZhekai Jiang, Qichen Wang, Christoph KochSIGMOD 2026
  4. Adopting Worst-Case Optimal Joins in Relational Database SystemsMichael J. Freitag, Maximilian Bandle, Tobias Schmidt, Alfons Kemper et al.VLDB 2020 · 79 citations
  5. Query Refinement for Diverse Top-k SelectionFelix S. Campbell, Alon Silberstein, Julia Stoyanovich, Yuval MoskovitchSIGMOD 2024 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines