Lune

SIGMOD2023Top-tier venue

Ready to Leap (by Co-Design)? Join Order Optimisation on Quantum Hardware

Manuel Schönberger, Stefanie Scherzinger, Wolfgang Mauerer

Abstract

The prospect of achieving computational speedups by exploiting quantum phenomena makes the use of quantum processing units (QPUs) attractive for many algorithmic database problems. Query optimisation, which concerns problems that typically need to explore large search spaces, seems like an ideal match for quantum algorithms. We present the first quantum implementation of join ordering, one of the most investigated and fundamental query optimisation problems, based on a reformulation to quadratic binary unconstrained optimisation problems. We empirically characterise our method on two state-of-the-art approaches (gate-based quantum computing and quantum annealing), and identify speed-ups compared to the best know classical join ordering approaches for input sizes conforming to current quantum annealers. Yet, we also confirm that limits of early-stage technology are quickly reached.

Current QPUs are classified as noisy, intermediate scale quantum computers (NISQ), and are restricted by a variety of limitations that reduce their capabilities as compared to ideal future QPUs, which prevents us from scaling up problem dimensions and reaching practical utility. To overcome these challenges, our formulation accounts for specific QPU properties and limitations, and allows us to trade between achievable solution quality and problem size.

In contrast to all prior work on quantum computing for query optimisation and database-related challenges, we go beyond currently available QPUs, and explicitly target the scalability limitations: Using insights gained from numerical simulations and our experimental analysis, we identify key criteria for co-designing QPUs to improve their usefulness for join ordering, and show how even relatively minor physical architectural improvements can result in substantial enhancements. Finally, we outline a path towards practical utility of custom-designed QPUs.

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.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Large-Scale Multiple Query Optimisation with Incremental Quantum(-Inspired) Annealing cites Opportunities for Quantum Acceleration of Databases: Optimization of Queries and Transaction Schedules
  • Large-Scale Multiple Query Optimisation with Incremental Quantum(-Inspired) Annealing cites Quantum-Inspired Digital Annealing for Join Ordering
  • Opportunities for Quantum Acceleration of Databases: Optimization of Queries and Transaction Schedules cites Reinforcement Learning with Tree-LSTM for Join Order Selection
  • Quantum-Inspired Digital Annealing for Join Ordering cites Opportunities for Quantum Acceleration of Databases: Optimization of Queries and Transaction Schedules
  • Quantum-Inspired Digital Annealing for Join Ordering cites Reinforcement Learning with Tree-LSTM for Join Order Selection
  • Index Advisors on Quantum Platforms cites Opportunities for Quantum Acceleration of Databases: Optimization of Queries and Transaction Schedules
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Opportunities for Quantum Acceleration of Databases: Optimization of Queries and Transaction SchedulesUmut Çalikyilmaz, Sven Groppe, Jinghua Groppe, Tobias Winker et al.VLDB 2023 · 38 citations
  2. Quantum-Inspired Digital Annealing for Join OrderingManuel Schönberger, Immanuel Trummer, Wolfgang MauererVLDB 2024 · 36 citations
  3. Index Advisors on Quantum PlatformsManish Kesarwani, Jayant R. HaritsaVLDB 2024 · 9 citations
  4. Large-Scale Multiple Query Optimisation with Incremental Quantum(-Inspired) AnnealingManuel Schönberger, Immanuel Trummer, Wolfgang MauererSIGMOD 2026 · 6 citations
  5. DPconv: Super-Polynomially Faster Join OrderingMihail Stoian, Andreas KipfSIGMOD 2025 · 5 citations

Builds on3

  1. Reinforcement Learning with Tree-LSTM for Join Order SelectionXiang Yu, Guoliang Li, Chengliang Chai, Nan TangICDE 2020 · 168 citations
  2. Efficient Massively Parallel Join Optimization for Large QueriesRiccardo Mancini, Srinivas Karthik, Bikash Chandra, Vasilis Mageirakos et al.SIGMOD 2022 · 21 citations
  3. Empirical evaluation of circuit approximations on noisy quantum devicesEllis Wilson, Frank Mueller, Lindsay Bassman, Costin IancuSC 2021 · 6 citations

Related papers

  1. QDBO: A Real-time Quantum-augmented Database System OptimizerHanwen Liu, Abhishek Kumar, Federico M. Spedalieri, Ibrahim SabekVLDB 2026 · 3 citations
  2. Efficiently Computing Join Orders with Heuristic SearchImmanuel Haffner, Jens DittrichSIGMOD 2023 · 8 citations
  3. Hybrid Mixed Integer Linear Programming for Large-Scale Join Order OptimisationManuel Schönberger, Immanuel Trummer, Wolfgang MauererVLDB 2026
  4. Efficient Query Re-optimization with Judicious Subquery SelectionsJunyi Zhao, Huanchen Zhang, Yihan GaoSIGMOD 2023 · 12 citations
  5. FOSS: A Self-Learned Doctor for Query OptimizerKai Zhong, Luming Sun, Tao Ji, Cuiping Li et al.ICDE 2024 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines