z-logo
open-access-imgOpen Access
Optimization of Nested Queries using the NF2 Algebra
Author(s) -
Jürgen Hölsch,
Michael Grossniklaus,
Marc H. Scholl
Publication year - 2016
Publication title -
kops (university of konstanz)
Language(s) - English
Resource type - Conference proceedings
DOI - 10.1145/2882903.2915241
Subject(s) - computer science , relational algebra , query optimization , sql , nested loop join , query language , query plan , key (lock) , sargable , relational database , transformation (genetics) , extension (predicate logic) , query by example , relational database management system , theoretical computer science , information retrieval , database , programming language , web search query , search engine , computer security , gene , chemistry , biochemistry
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 systems are able to keep this promise, with the notable exception of nested queries. While several optimization techniques for nested queries have been proposed, their adoption in practice has been limited. In this paper, we argue that the NF2 (non-first normal form) algebra, which was originally designed to process nested tables, is a better approach to nested query optimization as it fulfills two key requirements. First, the NF2 algebra can represent all types of nested queries as well as both existing and novel optimization techniques based on its equivalences. Second, performance benefits can be achieved with little changes to existing transformation-based query optimizers as the NF2 algebra is an extension of the relational algebra.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom