2007
DOI: 10.1145/1272743.1272748
|View full text |Cite
|
Sign up to set email alerts
|

SQL query optimization through nested relational algebra

Abstract: Most research work on optimization of nested queries focuses on aggregate subqueries. In this article, we show that existing approaches are not adequate for nonaggregate subqueries, especially for those having multiple subqueries and certain comparison operators. We then propose a new efficient approach, the nested relational approach, based on the nested relational algebra. The nested relational approach treats all subqueries in a uniform manner, being able to deal with nested queries of any type and any leve… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
17
0

Year Published

2009
2009
2023
2023

Publication Types

Select...
4
2
2

Relationship

0
8

Authors

Journals

citations
Cited by 15 publications
(17 citation statements)
references
References 50 publications
(94 reference statements)
0
17
0
Order By: Relevance
“…In the latter case, these operators use sideways information passing to execute nested queries more efficiently. Similar to our work, the approaches of Wang et al [19] and Cao and Badia [4] also propose the use of nested relational algebras, but assume the presence of physical nest and unnest operators. Compared to these approaches of the second category, our approach performs only logical optimizations and every logical operator that we use can be mapped to a physical operator found in any current database system.…”
Section: Related Workmentioning
confidence: 63%
See 1 more Smart Citation
“…In the latter case, these operators use sideways information passing to execute nested queries more efficiently. Similar to our work, the approaches of Wang et al [19] and Cao and Badia [4] also propose the use of nested relational algebras, but assume the presence of physical nest and unnest operators. Compared to these approaches of the second category, our approach performs only logical optimizations and every logical operator that we use can be mapped to a physical operator found in any current database system.…”
Section: Related Workmentioning
confidence: 63%
“…These techniques either work at the level of SQL [14,20], define new operators [3,9] and algebras [4] that are specifically targeted at nested queries, or build on entirely different formalisms, e.g., comprehension calculus [8,12,13]. We argue that these approaches all have drawbacks that have limited their adoption in database systems.…”
Section: Introductionmentioning
confidence: 99%
“…Some systems, like Rhizomer [18] and Etable [60], can display parallel one-to-many relationships, but only at a single level of nesting. Besides their use in visual query systems, nested data models have been used both in optimization [97,20] and expressiveness analysis [70] of query languages with aggregate functions.…”
Section: Visual Query Systemsmentioning
confidence: 99%
“…In query q2 the ALL-sublink is also reqtrue. For tuple (4,5), the only tuple that fulfills condition C, all tuples from relation R are included in the provenance of (4,5). In Query q3 the sublink is reqfalse for input tuple (2, 1) and reqind for input tuple (3, 2).…”
Section: Examplesmentioning
confidence: 99%
“…4 The main difference is that different tuples from the input of the operator can produce the same result tuple. The set of tuples from the input T that produce a tuple t from the output is the provenance T * of t according to T (see [4,12]). Let w.l.o.g.…”
Section: Single Sublinks In Projectionsmentioning
confidence: 99%