ACM Home Page
Please provide us with feedback. Feedback
A nested relational approach to processing SQL subqueries
Full text PdfPdf (433 KB)
Source International Conference on Management of Data archive
Proceedings of the 2005 ACM SIGMOD international conference on Management of data table of contents
Baltimore, Maryland
SESSION: Research papers: query processing techniques table of contents
Pages: 191 - 202  
Year of Publication: 2005
ISBN:1-59593-060-4
Authors
Bin Cao  University of Louisville, Louisville, KY
Antonio Badia  University of Louisville, Louisville, KY
Sponsors
ACM: Association for Computing Machinery
SIGMOD: ACM Special Interest Group on Management of Data
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 20,   Downloads (12 Months): 111,   Citation Count: 0
Additional Information:

abstract   references   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1066157.1066180
What is a DOI?

ABSTRACT

One of the most powerful features of SQL is the use of nested queries. Most research work on the optimization of nested queries focuses on aggregate subqueries. However, the solutions proposed for non-aggregate subqueries are still limited, especially for queries having multiple subqueries and null values. In this paper, we show that existing approaches to queries containing non-aggregate subqueries proposed in the literature (including rewrites) are not adequate. We then propose a new efficient approach, the nested relational approach, based on the nested relational algebra. Our approach directly unnests non-aggregate subqueries using hash joins, and treats all subqueries in a uniform manner, being able to deal with nested queries of any type and any level. We report on experimental work that confirms that existing approaches have difficulties dealing with non-aggregate subqueries, and that our approach offers better performance. We also discuss some possibilities for algebraic optimization and the issue of integrating our approach in a relational database system.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
M. O. Akinde and M. H. Bohlen. Efficient computation of subqueries in complex olap. In Proceedings of the IEEE ICDE Conference, pages 163--174, 2003.
 
2
A. Badia. Computing sql subqueries with boolean aggregates. In Proceedings of the 5th International Conference on Data Warehousing and Knowledge Discovery (DAWAK'03), 2003.
3
 
4
T. Council. The tpc-h benchmark. http://www.tpc.org.
 
5
6
7
8
 
9
10
11
12
 
13
 
14
 
15
 
16
17
 
18
 
19