Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
szarnyasg committed Sep 7, 2024
1 parent af0819b commit 9f7ab16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion choke-points.tex
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ \section{Correlated Sub-Queries}

This choke point tests the ability of the query optimizer to flatten execution plans when there are correlated sub-queries. Many queries have correlated sub-queries and their query plans can be flattened,
such that the correlated sub-query is handled using an equi-join, outer-join or anti-join.
In TPC-H Q21, for instance, there is an \lstinline{EXISTS} clause (for orders with more than one supplier) and a \lstinline{NOT EXISTS} clauses (looking for an item that was received too late).
In TPC-H Q21, for instance, there is an \lstinline{EXISTS} clause (for orders with more than one supplier) and a \lstinline{NOT EXISTS} clause (looking for an item that was received too late).
To execute this query well, systems need to flatten both sub-queries, the first into an equi-join plan, the second into an anti-join plan.
Therefore, the execution layer of the database system will benefit from implementing these extended join variants.

Expand Down

0 comments on commit 9f7ab16

Please sign in to comment.