<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Selective Use of Yannakakis' Algorithm for Consistent Performance Gains</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Daniela Böhm</string-name>
          <email>daniela.boehm@ymail.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Georg Gottlob</string-name>
          <email>georg.gottlob@unical.it</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Matthias Lanzinger</string-name>
          <email>matthias.lanzinger@tuwien.ac.at</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Davide Mario Longo</string-name>
          <email>davidemario.longo@unical.it</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Cem Okulmus</string-name>
          <email>cem.okulmus@uni-paderborn.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Reinhard Pichler</string-name>
          <email>pichler@dbai.tuwien.ac.at</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alexander Selzer</string-name>
          <email>alexander.selzer@tuwien.ac.at</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Paderborn University</institution>
          ,
          <addr-line>Paderborn</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>TU Wien</institution>
          ,
          <addr-line>Vienna</addr-line>
          ,
          <country country="AT">Austria</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University of Calabria</institution>
          ,
          <addr-line>Rende</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2026</year>
      </pub-date>
      <abstract>
        <p>Large intermediate results can cause join queries to run unexpectedly long. This problem is particularly common for analytical queries, which aggregate data over many tables to produce a comparatively small final output, and queries on graph data, where intermediate results blow up quickly. Recent work inspired by Yannakakis' algorithm approaches this by modifying the query engine to avoid materializing unnecessary tuples. However, this requires significant changes to the core of the system, which is not feasible in many situations such as cloud environments or proprietary systems. In this work, we propose a flexible approach for optimizing long-running join queries from the outside of the DBMS. Rewriting-based realizations of Yannakakis' algorithm sufer from inherent overhead due to the creation of intermediate tables. Thus, we present an approach for detecting and targeting queries which would benefit from a Yannakakis-style optimization. We introduce a new benchmark combining 5 standard benchmarks and augmenting them with additional instances, which provides a suficient size and diversity for a machine learning based solution. On PostgreSQL, DuckDB and SparkSQL, slowdowns on queries where the rewriting is counterproductive are mostly avoided, as opposed to a naïve application of the rewriting, and we observe significant improvements in end-to-end runtimes over standard query execution and unconditional rewriting.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Join Queries</kwd>
        <kwd>Acyclic Queries</kwd>
        <kwd>Query Processing</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Join queries can exhibit unexpectedly long runtimes when intermediate results grow significantly larger
than the final result. This problem is common in analytical queries, which aggregate data over many
tables but intentionally produce compact outputs, and queries over graph data, where the intermediate
results explode quickly due to the connectedness of the data.</p>
      <p>
        Yannakakis’ algorithm [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] provides a solution to this problem by eliminating all dangling tuples –
tuples that will not contribute to the final result of the query – via semi-joins and then computing
the join eficiently. In theory, such a strategy of completely avoiding the generation of unnecessary
intermediate results should always outperform conventional techniques that optimize the join order
and thus merely minimize intermediate results.
      </p>
      <p>
        Recent work has brought renewed attention to integrating Yannakakis-style query evaluation into
database systems [
        <xref ref-type="bibr" rid="ref2 ref3 ref4 ref5 ref6">2, 3, 4, 5, 6</xref>
        ]. These approaches modify the query engine to reduce materialization
during query execution. However, they require significant changes to the core of the DBMS, which is
an option not available in many practical settings, including cloud-hosted databases and proprietary
database systems.
      </p>
      <p>SELECT MIN(c.Id)
FROM comments AS c, posts AS p, votes AS v, users AS u
WHERE u.Id = p.OwnerUserId AND u.Id = c.UserId AND
u.Id = v.UserId AND u.Views&gt;=0 AND p.Score&gt;=0 AND
p.Score&lt;=28 AND p.ViewCount&gt;=0 AND p.ViewCount&lt;=6517
AND p.AnswerCount&gt;=0 AND p.AnswerCount&lt;=5 AND
p.FavoriteCount&gt;=0 AND p.FavoriteCount&lt;=8 AND
c.CreationDate&gt;='2010-07-27 12:03:40' AND
p.CreationDate&gt;='2010-07-27 11:29:20' AND
p.CreationDate&lt;='2014-09-13 02:50:15' AND
u.CreationDate&gt;='2010-07-27 09:38:05'</p>
      <p>
        An alternative that avoids these limitations is to realize Yannakakis-style query evaluation via SQL
query rewriting [
        <xref ref-type="bibr" rid="ref7 ref8">7, 8</xref>
        ]. By rewriting a SQL query as a sequence of SQL statements that perform semi-join
reductions followed by the final join, any standard DBMS (supporting temporary tables) can be guided
to perform Yannakakis-style execution without modifying the core of the system itself.
      </p>
      <p>Rewriting-based approaches, however, introduce overhead due to the execution of multiple SQL
statements from outside of the system, and the creation of temporary tables for storing intermediate
results. This has the efect that Yannakakis-style rewriting does not always improve the performance,
even for queries where the algorithm should in theory be optimal.</p>
      <p>
        The query in Figure 1, a slightly modified version of a query from the STATS benchmark [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], falls
into the class of 0MA (zero materialization answerable) queries [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], which can be evaluated using only
semi-joins – completely avoiding the need to compute any joins. Its final result can be retrieved after
a single traversal of semi-joins over the join tree. If we consider a join tree of this query with the
comments relation at the root node (see Figure 2), then we can evaluate this MIN-expression after the
bottom-up traversal with semi-joins by only considering the resulting relation at the root node.
      </p>
      <p>In theory, the advantage of such a join-less evaluation is clear over conventional query evaluation
techniques that first fully evaluate the underlying join query and only then apply the aggregate as a
kind of post-processing. For the query in Figure 1, Yannakakis-style evaluation was faster by a factor of
roughly 30 times compared to the standard execution of PostgreSQL. However, when changing one of
the filter conditions in the WHERE clause from ≥ 0 to ≥ 8 (which, together with the ≤ 8 condition,
yields = 8), this reverses and the standard execution of PostgreSQL is faster, taking 0.05s compared
to the rewriting with 0.09s. This example illustrates a fundamental challenge with Yannakakis-style
rewriting in practice: we require a method to decide when to apply it. It also shows that making such a
decision is non-trivial, since small changes to the query can have significant efects in the efectiveness
of Yannakakis-style execution.</p>
      <p>In this work, we address this challenge by developing a decision procedure that predicts whether
Yannakakis-style rewriting will improve the performance for a given query. We frame this as an
algorithm selection problem and solve it using lightweight machine learning models.</p>
      <p>
        To cover various database technologies, we study three diverse DBMSs: PostgreSQL [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] (a
roworiented relational DBMS), DuckDB [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] (a column-oriented in-memory database), and SparkSQL [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]
(designed for distributed in-memory processing). We apply a generic SQL-level rewriting approach
requiring only minimal variations for the distinct systems (see, e.g., [
        <xref ref-type="bibr" rid="ref13 ref14 ref15 ref7 ref8">7, 13, 8, 14, 15</xref>
        ]). Taking a SQL-query
as input, it is rewritten to an equivalent sequence of SQL-statements that guides the DBMS towards
Yannakakis-style query evaluation.
      </p>
      <p>Contributions.
• We develop a flexible and robust query rewriting tool based on Apache Calcite. Compared to earlier
implementations, it allows for greater applicability to complex queries and straightforward adaptation
to new systems and SQL dialects.
• We present a decision procedure for selectively applying the Yannakakis-style query rewriting based
on features derived from the query structure as well as DBMS cost estimates. We show that simple
models (decision/regression trees) outperform more complex approaches, achieving high accuracy
while allowing fine-grained control over the precision-recall tradeof.
• We introduce a new dataset and benchmark – focusing on hard join queries – which is extensive
and diverse enough for efective model training and testing. This new benchmark, which we will
refer to as MEAMBench (Materialization Explosion Augmented Meta Benchmark) is constructed by
combining and augmenting queries from several common benchmarks. Beside the algorithm selection
problem we are focusing on here, we expect this dataset to be valuable also for other problems, such
as query performance prediction.
• To prove the practical potential of the introduced approach, we implement the system SMASH, short
for Supervised Machine-learning for Algorithm Selection Heuristics. SMASH supports multiple DBMSs,
including PostgreSQL, DuckDB and SparkSQL, and comprises all steps from feature extraction and
algorithm selection up to rewriting.
• Empirical evaluation on MEAMBench clearly confirms significant improvements in end-to-end (e2e)
runtimes and decreases in false-positive applications of the rewriting through SMASH compared
with the original query evaluation method of the DBMS or unconditionally rewriting.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Preliminaries</title>
      <p>The queries studied here are either Conjunctive Queries (CQs, i.e., select-project-join queries in
Relational Algebra) and, more generally, queries with grouping and aggregation on top:
 =  1,...,ℓ, 1(1),...,()︀( 1 ◁▷ · · · ◁▷ )︀
(1)
where  1,...,ℓ, 1(1),...,() denotes the grouping operation for attributes 1, . . . , ℓ and
aggregate expressions 1(1), . . . , (). The grouping attributes 1, . . . , ℓ are attributes occurring
in the relations 1, . . . , , the functions 1, . . . ,  are (standard SQL) aggregate functions such
as MIN, MAX, COUNT, SUM, AVG, etc., and 1, . . . ,  are expressions formed over the attributes
from 1, . . . , . We have omitted the projection   in Equation (1), since it can be taken care of
by the grouping. Moreover, we assume w.l.o.g. that equi-joins have been replaced by natural joins
via appropriate renaming of attributes and selections applying to a single relation have been pushed
immediately in front of this relation and the ’s are the result of these selections. A simple query of
the form of Equation (1) is given in SQL-syntax in Figure 1.</p>
      <p>
        An acyclic conjunctive query (an ACQ, for short) is a CQ  =   (1 ◁▷ . . . ◁▷ ) that has a join tree,
i.e., a rooted, labeled tree ⟨, ,  ⟩ with root , such that (1)  is a bijection that assigns to each node of
 one of the relations in {1, . . . , } and (2)  satisfies the so-called connectedness condition, i.e., if
some attribute  occurs in both relations  () and  ( ) for two nodes  and  , then  occurs in the
relation  () for every node  along the path between  and  . Actually, the join query underlying
the SQL query in Figure 1 is acyclic. A possible join tree is shown in Figure 2. In its original form,
Yannakakis’ algorithm [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] consists of (1) a bottom-up traversal of semi-joins (from child nodes into their
parent), (2) a top-down traversal of semi-joins (from a node to its child nodes), and (3) a bottom-up
traversal of joins. The result of the query is the final relation associated with the root node  of  .
Grouping and the evaluation of aggregates can be carried out as post-processing after the evaluation of
the join query.
      </p>
      <p>
        A restricted type of queries of the form given in Equation (1) is the class of 0MA queries (short for
“zero-materialization answerable”) queries (see [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]). They have to satisfy the following conditions:
• Guardedness, meaning that there exists a relation  that contains all grouping attributes 1, . . . , ℓ
and all attributes occurring in the aggregate expressions 1(1), . . . , (). Then  is called the
guard of the query. If several relations satisfy this property, we arbitrarily choose one guard.
comments
      </p>
      <p>users
posts
votes
• Set-safety: we call an aggregate function set-safe, if it is invariant under duplicate elimination, i.e.,
its value over any set  of tuples remains unchanged if duplicates are eliminated from . A query
satisfies the set-safety condition, if all its aggregate functions 1 . . . ,  are set-safe.</p>
      <p>The root of the join tree can be arbitrarily chosen. For a 0MA query, we choose the node labeled
by the guard as the root node. Hence, if all aggregate functions are set-safe (i.e., multiplicities do not
matter), then we can apply the grouping and aggregation  1,...,ℓ, 1(1),...,() to the relation at the
root node right after the first bottom-up traversal. In SQL, in particular, the MIN and MAX aggregates
are inherently set-safe. Moreover, an aggregate becomes set-safe when combined with the DISTINCT
keyword. For instance, COUNT DISTINCT is a set-safe aggregate function.</p>
      <p>An example of a 0MA query is given in Figure 1: it is trivially guarded (i.e., there is no grouping and
the only aggregate expression is over a single attribute) and set-safe (since the only aggregate function
in this query is MIN).</p>
    </sec>
    <sec id="sec-3">
      <title>3. Related Work</title>
      <p>
        Acyclic queries and Yannakakis-style query evaluation. Yannakakis’ algorithm [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] has recently received
renewed attention for the optimization of hard join queries. Several works have aimed at bringing its
advantages into DBMSs from the outside via SQL query rewriting [
        <xref ref-type="bibr" rid="ref13 ref14 ref7 ref8">7, 8, 14, 13</xref>
        ], and similar methods such
as generating Scala code expressing Yannakakis’ algorithm as Spark RDD-operations [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]. An important
line of research in this area has been concerned with the integration of ideas of Yannakakis-style query
evaluation into DBMSs while avoiding the overhead of several traversals of the join tree via semi-joins
and joins [
        <xref ref-type="bibr" rid="ref13 ref17 ref18 ref2">17, 18, 2, 13</xref>
        ]. It should however be noted that, despite all the progress made in integrating
and fine-tuning Yannakakis’ algorithm, we are still left with the fact that this optimization leads to a
performance improvement in some but not all cases. Indeed, not even for 0MA queries (as one of the
simplest forms of acyclic queries), an improvement in all cases is guaranteed, as will be confirmed by
our empirical study presented in Section 5.
      </p>
      <p>
        Decompositions. In order to go beyond acyclic queries, a major area of research seeks to extend
Yannakakis-style query answering to "almost-acyclic" queries via various notions of decompositions and
their associated width measures, such as hypertree-width, soft hypertree-width, generalized
hypertreewidth, and fractional hypertree-width [
        <xref ref-type="bibr" rid="ref14 ref19 ref20 ref21">19, 14, 20, 21</xref>
        ]. Several implementations [
        <xref ref-type="bibr" rid="ref16 ref22 ref23 ref24">22, 16, 23, 24</xref>
        ] combine
Yannakakis-style query execution with worst-case optimal joins [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ]. To address the problem of
minimalwidth decompositions not necessarily being cost-optimal, approaches of integrating statistics about the
data into the search for the best decomposition have been proposed and implemented [
        <xref ref-type="bibr" rid="ref14 ref26">14, 26</xref>
        ].
Query rewriting. Optimizing queries before they enter the DBMS is a diferent strategy towards query
optimization that has been successfully applied in standard DBMSs [
        <xref ref-type="bibr" rid="ref15 ref27">27, 15</xref>
        ]. Although DBMSs already
perform optimizations on the execution of the query, it has been shown that rewriting the query itself
can still be highly efective. The WeTune [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ] system goes even further, and can be used to automatically
discover rewrite rules but comes with the disadvantage of extremely long runtimes.
Machine learning for databases. There has been growing interest in the application of machine learning
techniques to improve the performance of database systems [
        <xref ref-type="bibr" rid="ref29">29</xref>
        ]. Many systems have been presented,
of which we list some of the most relevant to this work. Bao [
        <xref ref-type="bibr" rid="ref30 ref31">30, 31</xref>
        ] learns when to apply query
hints. Neo [
        <xref ref-type="bibr" rid="ref32">32</xref>
        ] uses machine learning for end-to-end query optimization. SkinnerDB [
        <xref ref-type="bibr" rid="ref33">33</xref>
        ] applies
reinforcement learning to adaptive query optimization.
      </p>
      <p>
        Query performance prediction. Predicting the performance of a query – usually the runtime, or sometimes
the resource requirements – is related to the problem of deciding whether to rewrite a query. Runtime
prediction has been performed by constructing cost models based on statistical information of the
data [
        <xref ref-type="bibr" rid="ref34">34</xref>
        ], on SQL queries [
        <xref ref-type="bibr" rid="ref35">35</xref>
        ], and XML queries [
        <xref ref-type="bibr" rid="ref36">36</xref>
        ]. Further approaches use machine learning and
deep learning to predict the runtimes of single queries [
        <xref ref-type="bibr" rid="ref37 ref38 ref39">37, 38, 39</xref>
        ] or concurrent queries (workload
performance prediction) [
        <xref ref-type="bibr" rid="ref40 ref41">40, 41</xref>
        ].
      </p>
    </sec>
    <sec id="sec-4">
      <title>4. Selectively Applying Yannakakis-style Query Evaluation</title>
      <p>Benchmark</p>
      <p>Queries</p>
      <p>Data
augmentation</p>
      <p>Rewritten
Queries</p>
      <p>Rewriting
Augmented</p>
      <p>Queries</p>
      <p>Runtime
measurements</p>
      <p>Feature
extraction</p>
      <p>Runtimes</p>
      <p>Query</p>
      <p>Features</p>
      <p>As illustrated in Section 1, a Yannakakis-style rewriting does not always improve the performance,
even for queries where it would be expected based on the reduction in intermediate results. To benefit
from the rewriting in practice, it is clear that we require a decision procedure for the selective application
of the rewriting. We are thus faced with an algorithm selection problem, where we have to decide, for
every database instance and query, which query evaluation method should be applied. In this section,
we describe our approach towards solving this algorithm selection problem. We develop a pipeline,
starting from the databases and queries, and resulting in a decision procedure. In the process of this, we
create a new implementation for query rewriting using Apache Calcite. An overview of the workflow
is given in Figure 3.</p>
      <p>
        Robust and Flexible Yannakakis-style Query Rewriting We improve upon the approach of [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
This approach involves rewriting each query into an (output-)equivalent sequence of SQL queries which
“guides” the DBMSs to apply a Yannakakis-style evaluation strategy.
      </p>
      <p>
        We take a SQL query as input and first transform it into a hypergraph. The approach of [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] begins
by applying the GYO-reduction [
        <xref ref-type="bibr" rid="ref42">42</xref>
        ]. It is thus verified that the CQ is acyclic and, if so, a join tree is
constructed. In the case of 0MA queries, containing an aggregate expression with a single attribute,
we choose this relation as the root of the join tree, allowing us to simplify Yannakakis’ algorithm by
skipping the final two traversals. The rewriting proceeds by creating a sequence of SQL queries. The
tree is traversed in a bottom-up fashion, starting from the leaves, producing auxiliary tables via CREATE
VIEW statements, for the original relations, and CREATE UNLOGGED TABLE, for the intermediate results.
For 0MA queries the aggregation is performed last, after the creation of auxiliary tables. The use of
UNLOGGED TABLE is an optimization for PostgreSQL to reduce overhead of the write-ahead log.
      </p>
      <p>We illustrate the query rewrite process for the 0MA query , which is shown, with its join tree,
in Figure 4. Note that, in this example, for each relation in the query, as well as its associated filters
(involving only attributes in the relation), a view is created. Overhead due to this can be slightly reduced
in practice by integrating the selections and filters of the CREATE VIEW statements into the CREATE
UNLOGGED TABLE statements.</p>
      <p>
        The implementation makes use of Apache Calcite [
        <xref ref-type="bibr" rid="ref43">43</xref>
        ], a modular framework for query optimization.
Schema information, which is required to transform the query into a logical plan reliably (for example,
: SELECT MIN(u.Id) FROM votes as v, badges as b, users as u
      </p>
      <p>WHERE u.Id=v.UserId AND v.UserId=b.UserId</p>
      <p>
        AND v.BountyAmount&gt;=0 AND v.BountyAmount&lt;=50 AND u.DownVotes=0
if attributes are referred to implicitly, the schema is required to resolve the reference), is extracted
directly from the DBMS over the JDBC interface. The logical plan resulting from the SQL string is next
transformed into a convenient intermediate representation via query optimizer rules, where all filters are
pushed to the bottom of the plan, which allows us to retrieve a set of subtrees. These subtrees of the plan,
corresponding to the hyperedges, are followed by equi-join operator nodes, from which the hypergraph
can be constructed. The approach of using the parser and optimizer of Apache Calcite, as opposed to
earlier works [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], which go directly from parsing a query to a rewriting, provides multiple advantages.
Beside being significantly more robust and supporting complex queries and SQL features, Apache
Calcite supports a large amount of SQL dialects, making it straightforward to extend the rewriting to
various systems. The implementation of the rewriting, together with information on feature extraction
and model training, can be found here: https://github.com/dbai-tuw/yannakakis-rewriting.
Benchmark Data and Data Augmentation When constructing our new dataset MEAMBench,
we pursue two major goals to make the dataset suitable for model training and testing: it should be
suficiently big and suficiently diverse. We thus select and adapt common benchmarks focusing on
join queries and choose queries to which the optimization technique is applicable (acyclic equi-join
queries). To address the diversity aspect, we collect diverse sets of data and queries from diferent
domains and designed for diferent purposes. Thus, as a basis, we have chosen several widely used
benchmarks, namely JOB (Join Order Benchmark) [
        <xref ref-type="bibr" rid="ref44">44</xref>
        ], STATS/STATS-CEB [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], four diferent datasets
(namely cit-Patents, wiki-topcats, web-Google and com-DBLP) from SNAP (Stanford Network Analysis
Project) [
        <xref ref-type="bibr" rid="ref45">45</xref>
        ] together with synthetic queries introduced in [
        <xref ref-type="bibr" rid="ref46">46</xref>
        ], LSQB (Large-Scale Subgraph Query
Benchmark) [
        <xref ref-type="bibr" rid="ref47">47</xref>
        ], and HETIONET [
        <xref ref-type="bibr" rid="ref48">48</xref>
        ].
      </p>
      <p>We focus on ACQs, which make up the vast majority of the queries in the base benchmarks. The
number of (acyclic) CQs of each dataset is given in Table 1. Some of the queries in the benchmarks are
enumeration queries and some already contain some aggregate (in particular, MIN) and satisfy the 0MA
conditions. Clearly, also from the enumeration queries, we can derive 0MA queries by an appropriate
aggregate expression (again, in particular, with the MIN aggregate function) in the SELECT clause of
the query. For this, we randomly choose a table occurring in the query and one column of this table.
Our collection of data and queries from diferent benchmarks results in 219 acyclic queries. This is still
not suficient for training and testing ML models. We, therefore, perform the following steps for data
augmentation: “filter augmentation” (for all queries) followed by “aggregate-attribute augmentation”
(for 0MA-queries) and “enumeration augmentation” (for enumeration queries), respectively.</p>
      <p>Through the “filter augmentation” we produce duplicates of all queries having filters (i.e., selection
conditions on a single table) by changing some filters in a way that the sizes of the resulting relations vary
between these queries. In fact, the SNAP and LSQB queries do not have filter conditions, which means
that there is no filter augmentation for them. For 0MA queries, we next apply the “aggregate-attribute
augmentation” to vary the table from which we take the MIN-attribute. This is done in a way that every
table occurring in the query appears once in the MIN-expression. For enumeration queries, we randomly
choose two of the attributes used in join conditions and write them into the SELECT clause of the query.
In summary, after applying the data augmentation step, we have obtained 4677 queries in total (see
Table 1). The MEAMBench benchmark can be found here: https://github.com/dbai-tuw/MEAMBench.
Feature Extraction and Selection We choose a variety of features that we derive from the structure
of the query itself, from the join tree constructed in the process of rewriting the query, and from statistics
determined by PostgreSQL or DuckDB over the database. The latter kind of features is extracted from
the query optimizer’s estimates, and obtained via the EXPLAIN command. Note that Spark SQL does not
provide an EXPLAIN command. However, we will explain below how to circumvent this shortcoming.
Another challenge are features that are based on a set, of variable length, containing numeric values. In
order to reduce such a set of values into a fixed-length list of values, we calculate, for each set, several
statistics: min, the 0.25-quantile (referred to as q25), median, the 0.75-quantile (referred to as q75),
max, and mean. In the list of features below, we use “* ” (e.g. B7*) to mark which features consist of
variable-length sets, and hence will get reduced to the mentioned collection of 6 values.
Features derived from the query. The following features are easily obtained by inspecting the query itself:
Feature B1: is 0MA? indicates (1 or 0) if the query is 0MA,
Feature B2: number of relations,
Feature B3: number of conditions, the number of (in)equality conditions in the WHERE clause,
Feature B4: number of filters , the number of (in)equality conditions occurring in the query, and
Feature B5: number of joins.</p>
      <p>
        Features based on the join tree. These features are inspired by the work in [
        <xref ref-type="bibr" rid="ref49">49</xref>
        ] on tree decompositions:
Feature B6: depth, which is the maximal distance between the root of the used join tree and a leaf node,
Feature B7*: container counts, a set of numbers, for each variable, the number of join tree nodes
containing it. This measure indicates how many relations are joined on the same variable, and
Feature B8*: branching degrees, a set indicating for each node the number of children it has.
      </p>
      <p>These eight features (B1)-(B8*) are the shared "basic features". In addition, we can use statistical
information from the database and the estimates for the query evaluation, though the exact features
that are exposed difers between DBMSs. In case of PostgreSQL and DuckDB, we have the EXPLAIN
command at our disposal to obtain relevant further information. For PostgreSQL, we thus select the
following additional features, which we refer to as "PSQL features":
Feature P1: estimated total cost (of the query),
Feature P2*: estimated single table rows, which stands for the estimated number of rows for each table
involved in the query after the application of the filter conditions, and
Feature P3*: estimated join rows, the estimated number of rows of each join before the application of
the filter conditions.</p>
      <p>The EXPLAIN command for DuckDB behaves diferently. It allows us to derive a single "DDB feature":
Feature D1*: estimated cardinalities, the estimated number of rows after each node in the logical plan,
such as filters and joins.</p>
      <p>As Spark SQL (the open-source version) does not perform cost-based optimization, it also does not
keep track of statistical information about the data, and cannot estimate cardinalities or costs of a plan.
However, since SparkSQL also does not provide a persistent storage layer, tables are commonly imported
from another database via JDBC. This implies that, in practice, the statistical features can easily be
extracted from this database and used for the decision whether to rewrite the query in SparkSQL. For
the experiments presented in Section 5, we extracted these features from PostgreSQL, hence SparkSQL
has the same feature set as PostgreSQL.</p>
      <p>Model Training and Evaluation Our ultimate goal is the development of a decision procedure, for
making a binary decision between two evaluation methods for acyclic queries. Hence, we are dealing
with a classification problem with 2 possible outcomes. We will refer to these two possible outcomes
as 0 vs. 1 to denote the original evaluation method of the DBMS vs. a Yannakakis-style evaluation
(enforced by our query rewriting). Alternatively, we can first address a regression problem that predicts
the runtime diference between the two query evaluation techniques and then classify a query as 0 (if
the predicted value suggests faster evaluation by the original method of the DBMS within a certain
threshold) or 1 (otherwise). We will come back to the selection of an appropriate threshold in Section 5.</p>
      <p>
        We have considered 7 Machine Learning model types for our algorithm selection problem, namely
k-nearest neighbors (k-NN), decision tree, random forest, support vector machine (SVM), and 3 forms
of neural networks (NNs): multi-layer perceptron (MLP), hypergraph neural network (HGNN) and
a combination of the two. MLP is the “classical” deep neural network type. Hypergraph neural
networks [
        <xref ref-type="bibr" rid="ref50">50</xref>
        ], are less known. With their idea of representing the hypergraph structure in a vector
space, HGNNs seem well suited to capture structural aspects of CQs.
      </p>
      <p>After running the 4677 queries on the 3 selected DBMSs, we have to prepare the input data for
training the ML models of the 7 types mentioned above. For our supervised learning tasks (classification
and regression), we have to label each feature vector for each of the 3 DBMSs. The labeled data can
then be split into training data, validation data, and test data – choosing a common ratio of 80:10:10. To
get more accurate results, we do 10-fold cross validation. That is, we split the 90% of the data that were
chosen for training and validation in 10 diferent ways in a ratio 80:10 into training:validation data and,
thus, repeat the training-validation step 10 times.</p>
      <p>In order to ultimately choose the “best” model for our decision procedure, we evaluate, for every
feature vector, the predicted classification compared to the optimal decision. This leads to 4 possible
outcomes comparing between predicted and actual value, namely TP (true positive) and TN (true
negative) for correct classification and FP (false positive) and FN (false negative) for misclassification.
We consider 3 common metrics: accuracy, precision, and recall. The natural goal when selecting a
particular model is to maximize the accuracy. However, in our context, we consider the precision
equally important. That is, we find it particularly important to minimize false positives, i.e., in case of
doubt, it is better to stick to the original evaluation method of the DBMS rather than wrongly choosing
an alternative method. Apart from the purely quantitative assessment of a model in terms of accuracy,
precision, and recall, we also carry out a qualitative analysis. That is, for each of the misclassified cases,
we investigate by how much the chosen evaluation method is slower than the optimal method – again
with a focus on false positive classifications.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Experimental Results</title>
      <p>We now present the experimental results obtained by putting the algorithm selection as described in
Section 4 to work. With these experiments, we are aiming to answer the following key questions:
Q1 How well can machine learning methods predict whether Yannakakis-style evaluation is preferable
over standard execution?
Q2 Can we use these machine learning models to gain insights about the circumstances in which
Yannakakis-style query evaluation is preferable over standard query execution?
Q3 How well does good algorithm selection performance translate to query evaluation times on
diferent DBMSs?
Q4 To what extent can we optimize for precision while maintaining e2e runtime and accuracy?</p>
      <p>Model Performance We compare the performance of various learned models in terms of accuracy,
precision, and recall (see Tables 2 and 3). We do this for all queries (i.e., 0MA and enumeration) based
on the feature vectors and the runtime data obtained with the 3 chosen DBMSs. It turns out that the
simplest models (decision tree and random forest) perform best, with accuracy, precision and recall
values well above 0.90.</p>
      <p>Fine-tuning Precision and Recall So far we have only considered choosing a threshold of the
predicted runtime diference of the regression model at 0 (i.e., if the predicted runtime diference is
below this threshold, we choose Yannakakis-style query evaluation, and, otherwise, we opt for the
original query execution). However, we can make use of the regression model as a useful tool to
configure the trade-of between precision and recall, depending on the requirements of the application.
To simplify the presentation, we focus on one DBMS and on one model, namely PostgreSQL and decision
trees. The extension to other models and DBMSs is straightforward and yields similar results. In Figure
100%
90%
80%
70%
60%
50%
accuracy
precision</p>
      <p>recall
runtime
1295s
1290s
1285s
1280s
1275s
1270s
1265s
0.4
0.2</p>
      <p>0.0
threshold
0.2
5, we show how changing the threshold afects the accuracy, precision and recall of the resulting
classification model. Clearly, the maximum accuracy is at the 0-threshold. The accuracy, however,
continues to be high in the direction of negative thresholds, while falling of quickly in the direction
of a positive threshold. In particular, this shows that an optimization of precision can be performed
without sacrificing much recall.</p>
      <p>To summarize: Table 2 and Table 3 show very high accuracy, precision and recall for decision trees,
which allows us to positively answer the key question Q1. In Figure 5 we also get an answer for our
key question Q4: by choosing the right threshold one can achieve almost perfect precision, with only
modest reductions in accuracy and e2e runtime.</p>
      <p>
        Insights from Decision Trees It is particularly interesting that decision trees are the top-performing
models as they are highly interpretable and can provide us with insights into the features that strongly
afect the prediction. To get a deeper understanding of the impact that the various features have on the
outcome of the decision tree model, we have analyzed their Gini coeficients [
        <xref ref-type="bibr" rid="ref51">51</xref>
        ], which, intuitively,
measure how much each feature afects the prediction. Interestingly, there were quite significant
diferences between the tested DBMSs. On PostgreSQL, the estimated join size is far more significant
than the questions of whether we are dealing with a 0MA query or an enumeration query. In contrast,
on DuckDB, the latter distinction has the biggest impact. Full details of the Gini coeficients of the most
important features on each DBMS are given in the extended paper [
        <xref ref-type="bibr" rid="ref52">52</xref>
        ]. This ability of decision trees to
highlight which specific features afect the prediction the most, helps us answer the key question Q2
positively.
      </p>
      <p>Efects on Database Performance Based on the training and evaluation of various ML models,
we choose the decision tree regression model followed by classification with threshold value 0 for
our runtime measurements. As mentioned in the introduction, we refer to our method, that decides
whether to rewrite to Yannakakis-style evaluation based on the prediction of the decision tree model as
SMASH, short for Supervised Machine-learning for Algorithm Selection Heuristics. We have measured
these runtimes only on the test set queries, i.e., no queries from these experiments were seen by the model
6,000
4,000
2,000
0</p>
      <sec id="sec-5-1">
        <title>DuckDB</title>
        <p>2661
1824
602</p>
      </sec>
      <sec id="sec-5-2">
        <title>PostgreSQL</title>
        <p>SparkSQL
3965
1849
1256
6,000
4,000
2,000
0
5841
2162
1627
6,000
at training time. The whole evaluation is performed on a server with 128GB RAM, a 16-core AMD
EPYC-Milan CPU, and a 100GB SSD disk, running Ubuntu 22.04.2 LTS. After a warm-up run, the original
query, as well as the rewritten version, is evaluated five times, and then we report the mean of those
ifve runs. Fundamentally, we are interested in improving overall query answering performance. We
investigate this by analyzing the e2e runtime necessary to answer all queries in the test set, i.e., the
time to run all the benchmark queries cumulatively. This includes the time for the algorithm selection
included in SMASH, which was around 2 milliseconds in total for all queries together.</p>
        <p>We summarize our analysis in Figure 6, where Base refers to the baseline of executing the queries
directly in the DBMS, Rewriting refers to unconditionally applying the rewriting for Yannakakis-style
evaluation, and SMASH refers to the use of our algorithm selection model as described above. To study
the robustness of our approach we perform these experiments on three diferent DBMSs: PostgreSQL,
Spark (via SparkSQL), and DuckDB. The significant technical diferences between the three systems
provide us with a way to study the performance of our method independently of specific DBMS
technologies. We report timeouts as follows: if only one of the evaluation methods (rewriting or base
case) times out, then we report in Figure 6 for such queries as runtime the value of the timeout (= 100s).
On the other hand, if both evaluation methods time out, we exclude them from the comparison, since
algorithm selection cannot afect anything in such a case. Out of the 441 queries involved in the test
set, there were 27 queries that timed out for both evaluation methods on PostgreSQL, 13 queries that
timed out for both evaluation methods on SparkSQL, and 30 queries that timed out for both evaluation
methods on DuckDB.</p>
        <p>Consistently, over all systems, we can observe a large improvement of algorithm selection over
the other two alternatives. Furthermore, we see that even when unconditionally rewriting, there
are significant improvements over the baseline execution for all three systems tested. However, this
improvement comes from speedups specifically on queries that are hard for traditional RDBMS execution.
These large improvements ofset more common minor slowdowns using the Rewriting approach. Using
SMASH we are able to achieve the best of both worlds: major speedups on hard queries without the
minor performance degradations. In summary, we can give a strongly positive answer to key question
Q3. Our algorithm selection method clearly improves the e2e query evaluation times both significantly
and consistently over diferent DBMSs (each with their own trained model).</p>
        <p>The Efect of Data Augmentation. We explore the impact of data augmentation on model
performance through a focused ablation study, carefully examining the efectiveness of our augmentation
strategies. Specifically, we compare models trained on two distinct training sets: one encompassing the
fully augmented dataset derived from the complete MEAMBench, and another restricted solely to base
queries with all augmented data removed. Table 4 succinctly summarizes this comparison, presenting
accuracy, precision, and recall metrics for both the "Base" set comprised of 0MA and enumeration
queries without filter augmentation, and the full augmented training set. Our analysis reveals that data
augmentation substantially enhances accuracy and recall, with even greater gains in precision.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion</title>
      <p>In this work we addressed the problem of slow join queries caused by large intermediate results.
Yannakakis-style query evaluation ofers a solution by eliminating dangling tuples, but recent approaches
require modifications to the DBMS internals, which is an option unavailable in many situations.</p>
      <p>We thus considered an alternative based on SQL rewriting, which is applicable to any standard DBMS.
However, due to the overhead of the external rewriting, it does not always improve performance, even
for queries with unnecessary intermediate results. To unlock the potential of the Yannakakis-style
rewriting, we developed SMASH, a decision procedure that predicts when rewriting is beneficial. Our
experiments on PostgreSQL, DuckDB, and SparkSQL demonstrate significant improvements in e2e
runtimes over both standard execution and unconditional rewriting, while largely avoiding slowdowns
on queries where the rewriting is counterproductive.</p>
      <p>MEAMBench, our new benchmark combining five standard benchmarks extended via data
augmentation, focuses on hard join queries and provides suficient size and diversity for training learned
models.</p>
      <p>Although we focused on acyclic and 0MA queries, the methodology we propose is broadly applicable.
It opens the door to more intelligent optimization strategies across a wide range of techniques, including
decomposition-based methods for cyclic queries.</p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgments</title>
      <p>This work has been supported by the Vienna Science and Technology Fund (WWTF) [10.47379/ICT2201,
10.47379/VRG18013]. Georg Gottlob and Davide Mario Longo acknowledge support from the PNRR FAIR
project Future AI Research (PE00000013), Spoke 9 - Green-aware AI, under the NRRP MUR program
funded by the NextGenerationEU initiative.</p>
    </sec>
    <sec id="sec-8">
      <title>Declaration on Generative AI</title>
      <p>During the preparation of this work, the authors used Claude and ChatGPT in order to: Grammar and
spelling check, paraphrase and reword. After using these tools/services, the authors reviewed and
edited the content as needed and take full responsibility for the publication’s content.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>M.</given-names>
            <surname>Yannakakis</surname>
          </string-name>
          ,
          <article-title>Algorithms for acyclic database schemes</article-title>
          ,
          <source>in: Proceedings of the 7th International Conference on Very Large Databases, VLDB</source>
          <year>1981</year>
          ,
          <article-title>Cannes</article-title>
          ,
          <string-name>
            <surname>VLDB</surname>
          </string-name>
          ,
          <year>1981</year>
          , pp.
          <fpage>82</fpage>
          -
          <lpage>94</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A.</given-names>
            <surname>Birler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kemper</surname>
          </string-name>
          , T. Neumann,
          <article-title>Robust join processing with diamond hardened joins</article-title>
          ,
          <source>Proc. VLDB Endow</source>
          .
          <volume>17</volume>
          (
          <year>2024</year>
          )
          <fpage>3215</fpage>
          -
          <lpage>3228</lpage>
          . URL: https://www.vldb.org/pvldb/vol17/p3215-birler.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>L.</given-names>
            <surname>Bekkers</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Neven</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Vansummeren</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y. R.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <article-title>Instance-optimal acyclic join processing without regret: Engineering the yannakakis algorithm in column stores</article-title>
          ,
          <source>Proc. VLDB Endow</source>
          .
          <volume>18</volume>
          (
          <year>2025</year>
          )
          <fpage>2413</fpage>
          -
          <lpage>2426</lpage>
          . URL: https://www.vldb.org/pvldb/vol18/p2413-vansummeren.pdf.
          <source>doi:10. 14778/3742728</source>
          .3742737.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M.</given-names>
            <surname>Lanzinger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Pichler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Selzer</surname>
          </string-name>
          ,
          <article-title>Avoiding materialisation for guarded aggregate queries</article-title>
          ,
          <source>Proc. VLDB Endow</source>
          .
          <volume>18</volume>
          (
          <year>2025</year>
          )
          <fpage>1398</fpage>
          -
          <lpage>1411</lpage>
          . URL: https://www.vldb.org/pvldb/vol18/p1398-selzer.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Su</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Koutris</surname>
          </string-name>
          ,
          <string-name>
            <surname>H. Zhang,</surname>
          </string-name>
          <article-title>Debunking the myth of join ordering: Toward robust SQL analytics</article-title>
          ,
          <source>Proc. ACM Manag. Data</source>
          <volume>3</volume>
          (
          <year>2025</year>
          )
          <volume>146</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>146</lpage>
          :
          <fpage>28</fpage>
          . URL: https://doi.org/10.1145/ 3725283. doi:
          <volume>10</volume>
          .1145/3725283.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>P.</given-names>
            <surname>Koutris</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Vansummeren</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y. R.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Yu</surname>
          </string-name>
          , Database theory in action: Yannakakis' algorithm,
          <source>CoRR abs/2601</source>
          .00098 (
          <year>2026</year>
          ). URL: https://doi.org/10.48550/arXiv.2601.00098. doi:
          <volume>10</volume>
          . 48550/ARXIV.2601.00098. arXiv:
          <volume>2601</volume>
          .
          <fpage>00098</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>G.</given-names>
            <surname>Gottlob</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lanzinger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. M.</given-names>
            <surname>Longo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Okulmus</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Pichler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Selzer</surname>
          </string-name>
          ,
          <article-title>Structure-guided query evaluation: Towards bridging the gap from theory to practice</article-title>
          ,
          <source>CoRR abs/2303</source>
          .02723 (
          <year>2023</year>
          ). URL: https://doi.org/10.48550/arXiv.2303.02723. doi:
          <volume>10</volume>
          .48550/arXiv.2303.02723. arXiv:
          <volume>2303</volume>
          .
          <fpage>02723</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>G.</given-names>
            <surname>Gottlob</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lanzinger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. M.</given-names>
            <surname>Longo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Okulmus</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Pichler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Selzer</surname>
          </string-name>
          ,
          <article-title>Reaching back to move forward: Using old ideas to achieve a new level of query optimization (short paper)</article-title>
          , in: B.
          <string-name>
            <surname>Kimelfeld</surname>
            ,
            <given-names>M. V.</given-names>
          </string-name>
          <string-name>
            <surname>Martinez</surname>
          </string-name>
          , R. Angles (Eds.),
          <source>Proceedings of the 15th Alberto Mendelzon International Workshop on Foundations of Data Management (AMW</source>
          <year>2023</year>
          ), Santiago de Chile, Chile, May
          <volume>22</volume>
          -26,
          <year>2023</year>
          , volume
          <volume>3409</volume>
          <source>of CEUR Workshop Proceedings, CEUR-WS.org</source>
          ,
          <year>2023</year>
          . URL: https://ceur-ws.
          <source>org/</source>
          Vol-
          <volume>3409</volume>
          /paper6.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Han</surname>
          </string-name>
          ,
          <string-name>
            <surname>Z</surname>
          </string-name>
          . Wu,
          <string-name>
            <given-names>P.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Zhu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. W.</given-names>
            <surname>Tan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Zeng</surname>
          </string-name>
          , G. Cong,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Qin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Pfadler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Qian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Cui</surname>
          </string-name>
          ,
          <article-title>Cardinality estimation in DBMS: A comprehensive benchmark evaluation</article-title>
          ,
          <source>Proc. VLDB Endow</source>
          .
          <volume>15</volume>
          (
          <year>2021</year>
          )
          <fpage>752</fpage>
          -
          <lpage>765</lpage>
          . URL: https://www.vldb.org/pvldb/vol15/p752-zhu.pdf.
          <source>doi:10.14778/3503585</source>
          .3503586.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>M.</given-names>
            <surname>Stonebraker</surname>
          </string-name>
          ,
          <string-name>
            <surname>G. Kemnitz,</surname>
          </string-name>
          <article-title>The postgres next generation database management system</article-title>
          ,
          <source>Commun. ACM</source>
          <volume>34</volume>
          (
          <year>1991</year>
          )
          <fpage>78</fpage>
          -
          <lpage>92</lpage>
          . URL: https://doi.org/10.1145/125223.125262. doi:
          <volume>10</volume>
          .1145/125223.125262.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>M.</given-names>
            <surname>Raasveldt</surname>
          </string-name>
          , H. Mühleisen,
          <article-title>DuckDB: an Embeddable Analytical Database</article-title>
          ,
          <source>in: Proceedings of the 2019 International Conference on Management of Data, SIGMOD Conference</source>
          <year>2019</year>
          , ACM,
          <year>2019</year>
          , pp.
          <fpage>1981</fpage>
          -
          <lpage>1984</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>M.</given-names>
            <surname>Zaharia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. S.</given-names>
            <surname>Xin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Wendell</surname>
          </string-name>
          ,
          <string-name>
            <surname>T. Das</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Armbrust</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Dave</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          <string-name>
            <surname>Meng</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Rosen</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Venkataraman</surname>
            ,
            <given-names>M. J.</given-names>
          </string-name>
          <string-name>
            <surname>Franklin</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Ghodsi</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Gonzalez</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Shenker</surname>
            ,
            <given-names>I. Stoica</given-names>
          </string-name>
          ,
          <article-title>Apache spark: a unified engine for big data processing</article-title>
          ,
          <source>Commun. ACM</source>
          <volume>59</volume>
          (
          <year>2016</year>
          )
          <fpage>56</fpage>
          -
          <lpage>65</lpage>
          . URL: http://doi.acm.
          <source>org/10</source>
          .1145/2934664. doi:
          <volume>10</volume>
          .1145/2934664.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>Q.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Dai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Yi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Lin</surname>
          </string-name>
          , Yannakakis+:
          <article-title>Practical acyclic query evaluation with theoretical guarantees</article-title>
          ,
          <source>CoRR abs/2504</source>
          .03279 (
          <year>2025</year>
          ). URL: https://doi.org/10.48550/arXiv.2504. 03279. doi:
          <volume>10</volume>
          .48550/ARXIV.2504.03279. arXiv:
          <volume>2504</volume>
          .
          <fpage>03279</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>M.</given-names>
            <surname>Lanzinger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Okulmus</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Pichler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Selzer</surname>
          </string-name>
          , G. Gottlob,
          <article-title>Soft and constrained hypertree width</article-title>
          ,
          <source>Proc. ACM Manag. Data</source>
          <volume>3</volume>
          (
          <year>2025</year>
          )
          <volume>114</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>114</lpage>
          :
          <fpage>25</fpage>
          . URL: https://doi.org/10.1145/3725251. doi:
          <volume>10</volume>
          .1145/3725251.
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <surname>X. Zhang,</surname>
          </string-name>
          <article-title>A learned query rewrite system</article-title>
          ,
          <source>Proc. VLDB Endow</source>
          .
          <volume>16</volume>
          (
          <year>2023</year>
          )
          <fpage>4110</fpage>
          -
          <lpage>4113</lpage>
          . URL: https://www.vldb.org/pvldb/vol16/p4110-li.
          <source>pdf. doi:10.14778/3611540</source>
          . 3611633.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>B.</given-names>
            <surname>Dai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Yi</surname>
          </string-name>
          , Sparksql+:
          <article-title>Next-generation query planning over spark</article-title>
          , in: S.
          <string-name>
            <surname>Das</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          <string-name>
            <surname>Pandis</surname>
            ,
            <given-names>K. S.</given-names>
          </string-name>
          <string-name>
            <surname>Candan</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Amer-Yahia</surname>
          </string-name>
          (Eds.),
          <source>Companion of the 2023 International Conference on Management of Data</source>
          , SIGMOD/PODS 2023, Seattle, WA, USA, June 18-23,
          <year>2023</year>
          , ACM,
          <year>2023</year>
          , pp.
          <fpage>115</fpage>
          -
          <lpage>118</lpage>
          . URL: https://doi.org/10.1145/3555041.3589715. doi:
          <volume>10</volume>
          .1145/3555041.3589715.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Su</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Koutris</surname>
          </string-name>
          ,
          <string-name>
            <surname>H. Zhang,</surname>
          </string-name>
          <article-title>Debunking the myth of join ordering: Toward robust SQL analytics</article-title>
          ,
          <source>CoRR abs/2502</source>
          .15181 (
          <year>2025</year>
          ). URL: https://doi.org/10.48550/arXiv.2502.15181. doi:
          <volume>10</volume>
          .48550/ARXIV.2502.15181. arXiv:
          <volume>2502</volume>
          .
          <fpage>15181</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Koutris</surname>
          </string-name>
          ,
          <article-title>Predicate transfer: Eficient pre-filtering on multi-join queries</article-title>
          ,
          <source>in: 14th Conference on Innovative Data Systems Research, CIDR</source>
          <year>2024</year>
          ,
          <article-title>Chaminade</article-title>
          ,
          <string-name>
            <surname>HI</surname>
          </string-name>
          , USA, January
          <volume>14</volume>
          -
          <issue>17</issue>
          ,
          <year>2024</year>
          , www.cidrdb.org,
          <year>2024</year>
          . URL: https://www.cidrdb.org/cidr2024/papers/p22-yang.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>G.</given-names>
            <surname>Gottlob</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Leone</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Scarcello</surname>
          </string-name>
          ,
          <article-title>Hypertree decompositions and tractable queries</article-title>
          ,
          <source>J. Comput. Syst. Sci</source>
          .
          <volume>64</volume>
          (
          <year>2002</year>
          )
          <fpage>579</fpage>
          -
          <lpage>627</lpage>
          . URL: https://doi.org/10.1006/jcss.
          <year>2001</year>
          .
          <year>1809</year>
          . doi:
          <volume>10</volume>
          .1006/jcss.
          <year>2001</year>
          .
          <year>1809</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>I.</given-names>
            <surname>Adler</surname>
          </string-name>
          , G. Gottlob,
          <string-name>
            <given-names>M.</given-names>
            <surname>Grohe</surname>
          </string-name>
          ,
          <article-title>Hypertree width and related hypergraph invariants</article-title>
          ,
          <source>Eur. J. Comb</source>
          .
          <volume>28</volume>
          (
          <year>2007</year>
          )
          <fpage>2167</fpage>
          -
          <lpage>2181</lpage>
          . URL: https://doi.org/10.1016/j.ejc.
          <year>2007</year>
          .
          <volume>04</volume>
          .013. doi:
          <volume>10</volume>
          .1016/j.ejc.
          <year>2007</year>
          .
          <volume>04</volume>
          .013.
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>M.</given-names>
            <surname>Grohe</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Marx</surname>
          </string-name>
          ,
          <article-title>Constraint solving via fractional edge covers</article-title>
          ,
          <source>ACM Trans. Algorithms</source>
          <volume>11</volume>
          (
          <year>2014</year>
          ) 4:
          <fpage>1</fpage>
          -
          <lpage>4</lpage>
          :
          <fpage>20</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>C. R.</given-names>
            <surname>Aberger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Lamb</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Tu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Nötzli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Olukotun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Ré</surname>
          </string-name>
          ,
          <article-title>Emptyheaded: A relational engine for graph processing</article-title>
          ,
          <source>ACM Trans. Database Syst</source>
          .
          <volume>42</volume>
          (
          <year>2017</year>
          )
          <volume>20</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>20</lpage>
          :
          <fpage>44</fpage>
          . URL: https://doi.org/10.1145/ 3129246. doi:
          <volume>10</volume>
          .1145/3129246.
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>A.</given-names>
            <surname>Perelman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Ré</surname>
          </string-name>
          , Duncecap:
          <article-title>Compiling worst-case optimal query plans</article-title>
          , in: T. K. Sellis,
          <string-name>
            <given-names>S. B.</given-names>
            <surname>Davidson</surname>
          </string-name>
          ,
          <string-name>
            <surname>Z. G.</surname>
          </string-name>
          Ives (Eds.),
          <source>Proceedings of the 2015 ACM SIGMOD International Conference on Management of Data</source>
          , Melbourne, Victoria, Australia, May 31 - June 4,
          <year>2015</year>
          , ACM,
          <year>2015</year>
          , pp.
          <fpage>2075</fpage>
          -
          <lpage>2076</lpage>
          . URL: https://doi.org/10.1145/2723372.2764945. doi:
          <volume>10</volume>
          .1145/2723372.2764945.
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>S.</given-names>
            <surname>Tu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Ré</surname>
          </string-name>
          , Duncecap:
          <article-title>Query plans using generalized hypertree decompositions</article-title>
          , in: T. K. Sellis,
          <string-name>
            <given-names>S. B.</given-names>
            <surname>Davidson</surname>
          </string-name>
          ,
          <string-name>
            <surname>Z. G.</surname>
          </string-name>
          Ives (Eds.),
          <source>Proceedings of the 2015 ACM SIGMOD International Conference on Management of Data</source>
          , Melbourne, Victoria, Australia, May 31 - June 4,
          <year>2015</year>
          , ACM,
          <year>2015</year>
          , pp.
          <fpage>2077</fpage>
          -
          <lpage>2078</lpage>
          . URL: https://doi.org/10.1145/2723372.2764946. doi:
          <volume>10</volume>
          .1145/2723372.2764946.
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>H. Q.</given-names>
            <surname>Ngo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Porat</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Ré</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Rudra</surname>
          </string-name>
          ,
          <article-title>Worst-case optimal join algorithms</article-title>
          ,
          <source>J. ACM</source>
          <volume>65</volume>
          (
          <year>2018</year>
          )
          <volume>16</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>16</lpage>
          :
          <fpage>40</fpage>
          . URL: https://doi.org/10.1145/3180143. doi:
          <volume>10</volume>
          .1145/3180143.
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>F.</given-names>
            <surname>Scarcello</surname>
          </string-name>
          , G. Greco,
          <string-name>
            <given-names>N.</given-names>
            <surname>Leone</surname>
          </string-name>
          ,
          <article-title>Weighted hypertree decompositions and optimal query plans</article-title>
          , in: C.
          <string-name>
            <surname>Beeri</surname>
            ,
            <given-names>A</given-names>
          </string-name>
          . Deutsch (Eds.),
          <source>Proceedings of the Twenty-third ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems</source>
          , June 14-16,
          <year>2004</year>
          , Paris, France, ACM,
          <year>2004</year>
          , pp.
          <fpage>210</fpage>
          -
          <lpage>221</lpage>
          . URL: https://doi.org/10.1145/1055558.1055587. doi:
          <volume>10</volume>
          .1145/1055558.1055587.
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Chai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Feng</surname>
          </string-name>
          ,
          <article-title>A learned query rewrite system using monte carlo tree search</article-title>
          ,
          <source>Proc. VLDB Endow</source>
          .
          <volume>15</volume>
          (
          <year>2021</year>
          )
          <fpage>46</fpage>
          -
          <lpage>58</lpage>
          . URL: http://www.vldb.org/pvldb/vol15/p46-li.
          <source>pdf. doi:10. 14778/3485450</source>
          .3485456.
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Ding</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Hu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Ding</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Tang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <article-title>Wetune: Automatic discovery and verification of query rewrite rules</article-title>
          , in: Z. G. Ives,
          <string-name>
            <given-names>A.</given-names>
            <surname>Bonifati</surname>
          </string-name>
          ,
          <string-name>
            <surname>A. E.</surname>
          </string-name>
          Abbadi (Eds.),
          <source>SIGMOD '22: International Conference on Management of Data</source>
          , Philadelphia, PA, USA, June 12 - 17,
          <year>2022</year>
          , ACM,
          <year>2022</year>
          , pp.
          <fpage>94</fpage>
          -
          <lpage>107</lpage>
          . URL: https://doi.org/10.1145/3514221.3526125. doi:
          <volume>10</volume>
          .1145/ 3514221.3526125.
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Chai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <article-title>Database meets artificial intelligence: A survey</article-title>
          ,
          <source>IEEE Trans. Knowl. Data Eng</source>
          .
          <volume>34</volume>
          (
          <year>2022</year>
          )
          <fpage>1096</fpage>
          -
          <lpage>1116</lpage>
          . URL: https://doi.org/10.1109/TKDE.
          <year>2020</year>
          .
          <volume>2994641</volume>
          . doi:
          <volume>10</volume>
          .1109/ TKDE.
          <year>2020</year>
          .
          <volume>2994641</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          [30]
          <string-name>
            <given-names>R.</given-names>
            <surname>Marcus</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Negi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Mao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Tatbul</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Alizadeh</surname>
          </string-name>
          , T. Kraska, Bao:
          <article-title>Making learned query optimization practical</article-title>
          , in: G.
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Idreos</surname>
          </string-name>
          , D. Srivastava (Eds.),
          <source>SIGMOD '21: International Conference on Management of Data</source>
          , Virtual Event, China, June 20-25,
          <year>2021</year>
          , ACM,
          <year>2021</year>
          , pp.
          <fpage>1275</fpage>
          -
          <lpage>1288</lpage>
          . URL: https://doi.org/10.1145/3448016.3452838. doi:
          <volume>10</volume>
          .1145/3448016.3452838.
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          [31]
          <string-name>
            <given-names>R.</given-names>
            <surname>Marcus</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Negi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Mao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Tatbul</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Alizadeh</surname>
          </string-name>
          , T. Kraska, Bao:
          <article-title>Making learned query optimization practical</article-title>
          ,
          <source>SIGMOD Rec</source>
          .
          <volume>51</volume>
          (
          <year>2022</year>
          )
          <fpage>6</fpage>
          -
          <lpage>13</lpage>
          . URL: https://doi.org/10.1145/3542700.3542703. doi:
          <volume>10</volume>
          .1145/3542700.3542703.
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          [32]
          <string-name>
            <given-names>R.</given-names>
            <surname>Marcus</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Negi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Mao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , M. Alizadeh,
          <string-name>
            <given-names>T.</given-names>
            <surname>Kraska</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Papaemmanouil</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Tatbul</surname>
          </string-name>
          ,
          <article-title>Neo: A learned query optimizer</article-title>
          ,
          <source>Proc. VLDB Endow</source>
          .
          <volume>12</volume>
          (
          <year>2019</year>
          )
          <fpage>1705</fpage>
          -
          <lpage>1718</lpage>
          . URL: http://www.vldb.org/ pvldb/vol12/p1705-marcus.pdf.
          <source>doi:10.14778/3342263</source>
          .3342644.
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          [33]
          <string-name>
            <given-names>I.</given-names>
            <surname>Trummer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Wei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Maram</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Moseley</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Jo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Antonakakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Rayabhari</surname>
          </string-name>
          , Skinnerdb:
          <article-title>Regret-bounded query evaluation via reinforcement learning</article-title>
          ,
          <source>ACM Trans. Database Syst</source>
          .
          <volume>46</volume>
          (
          <year>2021</year>
          ) 9:
          <fpage>1</fpage>
          -
          <lpage>9</lpage>
          :
          <fpage>45</fpage>
          . URL: https://doi.org/10.1145/3464389. doi:
          <volume>10</volume>
          .1145/3464389.
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          [34]
          <string-name>
            <given-names>B.</given-names>
            <surname>He</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Ounis,</surname>
          </string-name>
          <article-title>Query performance prediction</article-title>
          ,
          <source>Inf. Syst</source>
          .
          <volume>31</volume>
          (
          <year>2006</year>
          )
          <fpage>585</fpage>
          -
          <lpage>594</lpage>
          . URL: https://doi.org/ 10.1016/j.is.
          <year>2005</year>
          .
          <volume>11</volume>
          .003. doi:
          <volume>10</volume>
          .1016/J.IS.
          <year>2005</year>
          .
          <volume>11</volume>
          .003.
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          [35]
          <string-name>
            <given-names>W.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Chi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Zhu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Tatemura</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Hacigümüs</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. F.</given-names>
            <surname>Naughton</surname>
          </string-name>
          ,
          <article-title>Predicting query execution time: Are optimizer cost models really unusable?</article-title>
          , in: C. S. Jensen,
          <string-name>
            <given-names>C. M.</given-names>
            <surname>Jermaine</surname>
          </string-name>
          ,
          <string-name>
            <surname>X.</surname>
          </string-name>
          Zhou (Eds.),
          <source>29th IEEE International Conference on Data Engineering, ICDE</source>
          <year>2013</year>
          , Brisbane, Australia, April 8-
          <issue>12</issue>
          ,
          <year>2013</year>
          , IEEE Computer Society,
          <year>2013</year>
          , pp.
          <fpage>1081</fpage>
          -
          <lpage>1092</lpage>
          . URL: https://doi.org/10.1109/ICDE.
          <year>2013</year>
          .
          <volume>6544899</volume>
          . doi:
          <volume>10</volume>
          .1109/ICDE.
          <year>2013</year>
          .
          <volume>6544899</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          [36]
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <surname>J. Feng,</surname>
          </string-name>
          <article-title>Query performance prediction for concurrent queries using graph embedding</article-title>
          ,
          <source>Proc. VLDB Endow</source>
          .
          <volume>13</volume>
          (
          <year>2020</year>
          )
          <fpage>1416</fpage>
          -
          <lpage>1428</lpage>
          . URL: http://www.vldb.org/pvldb/vol13/ p1416-zhou.pdf.
          <source>doi:10.14778/3397230</source>
          .3397238.
        </mixed-citation>
      </ref>
      <ref id="ref37">
        <mixed-citation>
          [37]
          <string-name>
            <given-names>N.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. J.</given-names>
            <surname>Haas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Josifovski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. M.</given-names>
            <surname>Lohman</surname>
          </string-name>
          ,
          <string-name>
            <surname>C. Zhang,</surname>
          </string-name>
          <article-title>Statistical learning techniques for costing XML queries</article-title>
          , in: K. Böhm,
          <string-name>
            <given-names>C. S.</given-names>
            <surname>Jensen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. M.</given-names>
            <surname>Haas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. L.</given-names>
            <surname>Kersten</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Larson</surname>
          </string-name>
          ,
          <string-name>
            <surname>B. C.</surname>
          </string-name>
          Ooi (Eds.),
          <source>Proceedings of the 31st International Conference on Very Large Data Bases, Trondheim, Norway, August 30 - September 2</source>
          ,
          <year>2005</year>
          , ACM,
          <year>2005</year>
          , pp.
          <fpage>289</fpage>
          -
          <lpage>300</lpage>
          . URL: http://www.vldb.org/ archives/website/2005/program/paper/wed/p289-zhang.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref38">
        <mixed-citation>
          [38]
          <string-name>
            <given-names>R.</given-names>
            <surname>Marcus</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Papaemmanouil</surname>
          </string-name>
          ,
          <article-title>Plan-structured deep neural network models for query performance prediction</article-title>
          ,
          <source>Proc. VLDB Endow</source>
          .
          <volume>12</volume>
          (
          <year>2019</year>
          )
          <fpage>1733</fpage>
          -
          <lpage>1746</lpage>
          . URL: http://www.vldb.org/pvldb/vol12/ p1733-marcus.pdf.
          <source>doi:10.14778/3342263</source>
          .3342646.
        </mixed-citation>
      </ref>
      <ref id="ref39">
        <mixed-citation>
          [39]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <surname>W. B. Croft,</surname>
          </string-name>
          <article-title>Query performance prediction in web search environments</article-title>
          , in: W. Kraaij,
          <string-name>
            <surname>A. P. de Vries</surname>
            ,
            <given-names>C. L. A.</given-names>
          </string-name>
          <string-name>
            <surname>Clarke</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Fuhr</surname>
          </string-name>
          , N. Kando (Eds.),
          <source>SIGIR 2007: Proceedings of the 30th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval</source>
          , Amsterdam, The Netherlands,
          <source>July 23-27</source>
          ,
          <year>2007</year>
          , ACM,
          <year>2007</year>
          , pp.
          <fpage>543</fpage>
          -
          <lpage>550</lpage>
          . URL: https: //doi.org/10.1145/1277741.1277835. doi:
          <volume>10</volume>
          .1145/1277741.1277835.
        </mixed-citation>
      </ref>
      <ref id="ref40">
        <mixed-citation>
          [40]
          <string-name>
            <given-names>J.</given-names>
            <surname>Duggan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Çetintemel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Papaemmanouil</surname>
          </string-name>
          , E. Upfal,
          <article-title>Performance prediction for concurrent database workloads</article-title>
          , in: T. K. Sellis,
          <string-name>
            <given-names>R. J.</given-names>
            <surname>Miller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kementsietsidis</surname>
          </string-name>
          , Y. Velegrakis (Eds.),
          <source>Proceedings of the ACM SIGMOD International Conference on Management of Data, SIGMOD</source>
          <year>2011</year>
          , Athens, Greece, June 12-16,
          <year>2011</year>
          , ACM,
          <year>2011</year>
          , pp.
          <fpage>337</fpage>
          -
          <lpage>348</lpage>
          . URL: https://doi.org/10.1145/1989323.1989359. doi:
          <volume>10</volume>
          .1145/1989323.1989359.
        </mixed-citation>
      </ref>
      <ref id="ref41">
        <mixed-citation>
          [41]
          <string-name>
            <given-names>M.</given-names>
            <surname>Akdere</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Çetintemel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Riondato</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Upfal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. B.</given-names>
            <surname>Zdonik</surname>
          </string-name>
          ,
          <article-title>Learning-based query performance modeling and prediction</article-title>
          , in: A.
          <string-name>
            <surname>Kementsietsidis</surname>
            ,
            <given-names>M. A. V.</given-names>
          </string-name>
          <string-name>
            <surname>Salles</surname>
          </string-name>
          (Eds.),
          <source>IEEE 28th International Conference on Data Engineering (ICDE</source>
          <year>2012</year>
          ), Washington, DC, USA (Arlington, Virginia),
          <fpage>1</fpage>
          -5 April,
          <year>2012</year>
          , IEEE Computer Society,
          <year>2012</year>
          , pp.
          <fpage>390</fpage>
          -
          <lpage>401</lpage>
          . URL: https://doi.org/10.1109/ICDE.
          <year>2012</year>
          .
          <volume>64</volume>
          . doi:
          <volume>10</volume>
          .1109/ICDE.
          <year>2012</year>
          .
          <volume>64</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref42">
        <mixed-citation>
          [42]
          <string-name>
            <given-names>C. T.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. Z.</given-names>
            <surname>Özsoyoğlu</surname>
          </string-name>
          ,
          <article-title>An algorithm for tree-query membership of a distributed query</article-title>
          ,
          <source>in: The IEEE Computer Society's Third International Computer Software and Applications Conference</source>
          ,
          <string-name>
            <surname>COMPSAC</surname>
          </string-name>
          <year>1979</year>
          ,
          <year>1979</year>
          , pp.
          <fpage>306</fpage>
          -
          <lpage>312</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref43">
        <mixed-citation>
          [43]
          <string-name>
            <given-names>E.</given-names>
            <surname>Begoli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Camacho-Rodríguez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Hyde</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. J.</given-names>
            <surname>Mior</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Lemire</surname>
          </string-name>
          ,
          <article-title>Apache calcite: A foundational framework for optimized query processing over heterogeneous data sources</article-title>
          , in: G.
          <string-name>
            <surname>Das</surname>
          </string-name>
          ,
          <string-name>
            <surname>C. M. Jermaine</surname>
            ,
            <given-names>P. A.</given-names>
          </string-name>
          <string-name>
            <surname>Bernstein</surname>
          </string-name>
          (Eds.),
          <source>Proceedings of the 2018 International Conference on Management of Data, SIGMOD Conference</source>
          <year>2018</year>
          , Houston, TX, USA, June 10-15,
          <year>2018</year>
          , ACM,
          <year>2018</year>
          , pp.
          <fpage>221</fpage>
          -
          <lpage>230</lpage>
          . URL: https://doi.org/10.1145/3183713.3190662. doi:
          <volume>10</volume>
          .1145/3183713.3190662.
        </mixed-citation>
      </ref>
      <ref id="ref44">
        <mixed-citation>
          [44]
          <string-name>
            <given-names>V.</given-names>
            <surname>Leis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gubichev</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Mirchev</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. A.</given-names>
            <surname>Boncz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kemper</surname>
          </string-name>
          , T. Neumann,
          <article-title>How good are query optimizers, really?</article-title>
          ,
          <source>Proc. VLDB Endow</source>
          .
          <volume>9</volume>
          (
          <year>2015</year>
          )
          <fpage>204</fpage>
          -
          <lpage>215</lpage>
          . URL: http://www.vldb.org/pvldb/vol9/ p204-leis.pdf.
          <source>doi:10.14778/2850583</source>
          .2850594.
        </mixed-citation>
      </ref>
      <ref id="ref45">
        <mixed-citation>
          [45]
          <string-name>
            <given-names>J.</given-names>
            <surname>Leskovec</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Sosic</surname>
          </string-name>
          ,
          <article-title>SNAP: A general-purpose network analysis and graph-mining library</article-title>
          ,
          <source>ACM Trans. Intell. Syst. Technol</source>
          .
          <volume>8</volume>
          (
          <issue>2016</issue>
          ) 1:
          <fpage>1</fpage>
          -
          <lpage>1</lpage>
          :
          <fpage>20</fpage>
          . URL: https://doi.org/10.1145/2898361. doi:
          <volume>10</volume>
          .1145/ 2898361.
        </mixed-citation>
      </ref>
      <ref id="ref46">
        <mixed-citation>
          [46]
          <string-name>
            <given-names>M.</given-names>
            <surname>Lanzinger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Pichler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Selzer</surname>
          </string-name>
          ,
          <article-title>Avoiding materialisation for guarded aggregate queries</article-title>
          ,
          <source>CoRR abs/2406</source>
          .17076 (
          <year>2024</year>
          ). URL: https://doi.org/10.48550/arXiv.2406.17076. doi:
          <volume>10</volume>
          .48550/ARXIV.2406. 17076. arXiv:
          <volume>2406</volume>
          .17076, to be presented at
          <source>VLDB</source>
          <year>2025</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref47">
        <mixed-citation>
          [47]
          <string-name>
            <given-names>A.</given-names>
            <surname>Mhedhbi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lissandrini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Kuiper</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Waudby</surname>
          </string-name>
          ,
          <string-name>
            <surname>G.</surname>
          </string-name>
          <article-title>Szárnyas, LSQB: a large-scale subgraph query benchmark</article-title>
          , in: V.
          <string-name>
            <surname>Kalavri</surname>
          </string-name>
          , N. Yakovets (Eds.),
          <source>GRADES-NDA '21: Proceedings of the 4th ACM SIGMOD Joint International Workshop on Graph Data Management Experiences &amp; Systems (GRADES)</source>
          and
          <article-title>Network Data Analytics (NDA)</article-title>
          ,
          <source>Virtual Event, China, 20 June</source>
          <year>2021</year>
          , ACM,
          <year>2021</year>
          , pp.
          <volume>8</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>8</lpage>
          :
          <fpage>11</fpage>
          . URL: https://doi.org/10.1145/3461837.3464516. doi:
          <volume>10</volume>
          .1145/3461837.3464516.
        </mixed-citation>
      </ref>
      <ref id="ref48">
        <mixed-citation>
          [48]
          <string-name>
            <given-names>D. S.</given-names>
            <surname>Himmelstein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Lizee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Hessler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Brueggeman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. L.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Hadley</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Green</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Khankhanian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. E.</given-names>
            <surname>Baranzini</surname>
          </string-name>
          ,
          <article-title>Systematic integration of biomedical knowledge prioritizes drugs for repurposing</article-title>
          ,
          <source>eLife</source>
          <volume>6</volume>
          (
          <year>2017</year>
          )
          <fpage>1</fpage>
          -
          <lpage>35</lpage>
          . URL: https://doi.org/10.7554/eLife.26726.001. doi:
          <volume>10</volume>
          .7554/eLife.26726.001.
        </mixed-citation>
      </ref>
      <ref id="ref49">
        <mixed-citation>
          [49]
          <string-name>
            <given-names>M.</given-names>
            <surname>Abseher</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Musliu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Woltran</surname>
          </string-name>
          ,
          <article-title>Improving the eficiency of dynamic programming on tree decompositions via machine learning</article-title>
          ,
          <source>J. Artif. Intell. Res</source>
          .
          <volume>58</volume>
          (
          <year>2017</year>
          )
          <fpage>829</fpage>
          -
          <lpage>858</lpage>
          . URL: https://doi.org/ 10.1613/jair.5312. doi:
          <volume>10</volume>
          .1613/JAIR.5312.
        </mixed-citation>
      </ref>
      <ref id="ref50">
        <mixed-citation>
          [50]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Feng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>You</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Ji</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <article-title>Hypergraph neural networks</article-title>
          ,
          <source>in: The Thirty-Third AAAI Conference on Artificial Intelligence</source>
          ,
          <source>AAAI</source>
          <year>2019</year>
          ,
          <source>The Thirty-First Innovative Applications of Artificial Intelligence Conference</source>
          ,
          <string-name>
            <surname>IAAI</surname>
          </string-name>
          <year>2019</year>
          ,
          <source>The Ninth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI</source>
          <year>2019</year>
          , Honolulu, Hawaii, USA, January 27 - February 1,
          <year>2019</year>
          , AAAI Press,
          <year>2019</year>
          , pp.
          <fpage>3558</fpage>
          -
          <lpage>3565</lpage>
          . URL: https://doi.org/10.1609/aaai.v33i01.33013558. doi:
          <volume>10</volume>
          . 1609/AAAI.V33I01.33013558.
        </mixed-citation>
      </ref>
      <ref id="ref51">
        <mixed-citation>
          [51]
          <string-name>
            <given-names>L.</given-names>
            <surname>Breiman</surname>
          </string-name>
          ,
          <article-title>Classification and regression trees</article-title>
          ,
          <source>Routledge</source>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref52">
        <mixed-citation>
          [52]
          <string-name>
            <surname>D. B. G. G. M. L. D. L. C. O. R. Pichler</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Selzer</surname>
          </string-name>
          ,
          <article-title>Selective use of yannakakis' algorithm to improve query performance: Machine learning to the rescue</article-title>
          ,
          <source>CoRR abs/2502</source>
          .20233 (
          <year>2025</year>
          ). URL: https://doi.org/10.48550/arXiv.2502.20233. doi:
          <volume>10</volume>
          .48550/arXiv.2502.20233. arXiv:
          <volume>2502</volume>
          .
          <fpage>20233</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>