DocumentCode :
2729600
Title :
Unnesting Scalar SQL Queries in the Presence of Disjunction
Author :
Brantner, M. ; May, N. ; Moerkotte, G.
Author_Institution :
Database Res. Group, Mannheim Univ., Germany
fYear :
2007
fDate :
15-20 April 2007
Firstpage :
46
Lastpage :
55
Abstract :
Optimizing nested queries is an intricate problem. It becomes even harder if in a nested query the linking predicate or the correlation predicate occurs disjunctively. We present the first unnesting strategy that can effectively deal with such queries. The starting point of our approach is to translate SQL into the relational algebra extended by bypass operators. Then we present for the first time unnesting equivalences which are valid for algebraic expressions containing bypass operators. Applying these to the translated queries results in our effective unnesting strategy for nested SQL queries with disjunction. With an extensive experimental study (including three commercial DBMSs), we demonstrate the possible performance gains of our approach.
Keywords :
SQL; query processing; relational algebra; relational databases; Structured Query Language; algebraic expression; bypass operator; nested SQL query; query translation; relational algebra; scalar SQL query; unnesting equivalence; unnesting strategy; Algebra; Costs; Database languages; Europe; Joining processes; Performance gain; Tree data structures; Writing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Data Engineering, 2007. ICDE 2007. IEEE 23rd International Conference on
Conference_Location :
Istanbul
Print_ISBN :
1-4244-0802-4
Type :
conf
DOI :
10.1109/ICDE.2007.367850
Filename :
4221653
Link To Document :
بازگشت