The Case for Deep Query Optimisation
Jens Dittrich, Joris Nix

TL;DR
This paper introduces Deep Query Optimisation (DQO), a novel approach that refines the query planning process by considering subcomponents of operators, aiming to improve plan quality and enable precomputation of database components.
Contribution
It proposes DQO, breaking down physical operators into subcomponents for finer plan enumeration, and introduces the concept of Materialised Algorithmic Views (MAVs) and the Algorithmic View Selection Problem (AVSP).
Findings
Benchmarking of hash-based grouping operator.
Preliminary experiments show potential benefits of DQO.
Sketch of a future research agenda for DQO.
Abstract
Query Optimisation (QO) is the most important optimisation problem in databases. The goal of QO is to compute the best physical plan under a given cost model. In that process, physical operators are used as building blocks for the planning and optimisation process. In this paper, we propose to deepen that process. We present Deep Query Optimisation (DQO). In DQO, we break up the abstraction of a 'physical' operator to consider more fine-granular subcomponents. These subcomponents are then used to enumerate (sub-)plans both offline and at query time. This idea triggers several exciting research directions: (1) How exactly can DQO help to compute better plans than (shallow) QO and at which costs? (2) DQO can be used to precompute and synthesise database operators and any other database component as Materialised Algorithmic Views (MAVs). (3) We identify the Algorithmic View Selection…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Management and Algorithms · Advanced Database Systems and Queries · Algorithms and Data Compression
