Unnesting arbitrary queries

T Neumann, A Kemper - 2015 - dl.gi.de
SQL-99 allows for nested subqueries at nearly all places within a query. From a user's point
of view, nested queries can greatly simplify the formulation of complex queries. However …

Execution strategies for SQL subqueries

M Elhemali, CA Galindo-Legaria, T Grabs… - Proceedings of the 2007 …, 2007 - dl.acm.org
Optimizing SQL subqueries has been an active area in database research and the database
industry throughout the last decades. Previous work has already identified some …

Accelerating queries with group-by and join by groupjoin

G Moerkotte, T Neumann - Proceedings of the VLDB Endowment, 2011 - dl.acm.org
Most aggregation queries contain both group-by and join operators, and spend a significant
amount of time evaluating these two expensive operators. Merging them into one operator …

NestGPU: Nested query processing on GPU

S Floratos, M Xiao, H Wang, C Guo… - 2021 IEEE 37th …, 2021 - ieeexplore.ieee.org
Nested queries are commonly used to express complex use-cases by connecting the output
of a subquery as an input to the outer query block. However, their execution is highly time …

System and method for optimizing queries

S Subbiah, L Fredriksen, MM Krishna… - US Patent 8,554,760, 2013 - Google Patents
There is provided a computer-implemented method of optimizing a query. An exemplary
method comprises receiving a first query configured to generate a result set. The query may …

Constant Optimization Driven Database System Testing

C Zhang, M Rigger - arXiv preprint arXiv:2501.11252, 2025 - arxiv.org
Logic bugs are bugs that can cause database management systems (DBMSs) to silently
produce incorrect results for given queries. Such bugs are severe, because they can easily …

Optimization of nested queries using the nf2 algebra

J Hölsch, M Grossniklaus, MH Scholl - Proceedings of the 2016 …, 2016 - dl.acm.org
A key promise of SQL is that the optimizer will find the most efficient execution plan,
regardless of how the query is formulated. In general, query optimizers of modern database …

Step-wise Execution of Data-Centric Systems

C Zhang - Companion Proceedings of the 2024 ACM SIGPLAN …, 2024 - dl.acm.org
Data-centric systems play a crucial role in computer systems, and their correctness is of
paramount importance. Logic bugs are one of the main types of bugs in data-centric …

Complex SQL predicates as quantifiers

A Badia, A Wagner - IEEE Transactions on Knowledge and …, 2013 - ieeexplore.ieee.org
We propose a logical framework to analyze complex predicates (those involving a subquery)
in SQL. We propose a new operator in the relational algebra for handling such predicates …

[PDF][PDF] New Query Rewriting Methods for Structured and Semi-Structured Databases

M Burzańska - Praca doktorska, Warsaw University, Department of …, 2011 - mimuw.edu.pl
The following thesis presents novel optimization methods for structured and semi-structured
databases. Developed methods are based on query rewriting and focus on reduction of …