Proceedings of the 2016 International Conference on Management of Data 2016
DOI: 10.1145/2882903.2915241
|View full text |Cite
|
Sign up to set email alerts
|

Optimization of Nested Queries using the NF2 Algebra

Abstract: 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 NF 2 (non-first normal form) algebra, which was originally designed to process nested tables, is… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1

Citation Types

0
3
0

Year Published

2017
2017
2022
2022

Publication Types

Select...
4
1

Relationship

0
5

Authors

Journals

citations
Cited by 5 publications
(3 citation statements)
references
References 16 publications
0
3
0
Order By: Relevance
“…Bellamkonda et al [6] describe the execution of correlated subqueries with window operations in Oracle. Hölsch et al [35] use an extended form of relational algebra to reason about nested queries and are able to express more transformation on aggregations. To incorporate unnested aggregations in cost models, practical implementations, e.g., in DB2, use statistical views [26].…”
Section: Related Workmentioning
confidence: 99%
“…Bellamkonda et al [6] describe the execution of correlated subqueries with window operations in Oracle. Hölsch et al [35] use an extended form of relational algebra to reason about nested queries and are able to express more transformation on aggregations. To incorporate unnested aggregations in cost models, practical implementations, e.g., in DB2, use statistical views [26].…”
Section: Related Workmentioning
confidence: 99%
“…Bellamkonda et al [4] describe the execution of correlated subqueries with window operations in Oracle. Hölsch et al [27] use an extended form of relational algebra to reason about nested queries and are able to express more transformation on aggregations. To incorporate unnested aggregations in cost models, practical implementations, e.g., in DB2, use statistical views [20].…”
Section: Related Workmentioning
confidence: 99%
“…This is called a distributed partitioned join. While related approaches for query unnesting (Fegaras & Maier, 2000;Holsch et al, 2016) require many rewrite rules to handle various cases of query nesting, our method requires only one and is more general as it handles nested queries of any form and any number of nesting levels. Consider the following nested query over the bags X and Y :…”
Section: Converting Nested Cmaps To Joinsmentioning
confidence: 99%