DocumentCode :
1574
Title :
Complex SQL Predicates as Quantifiers
Author :
Badia, Antonio ; Wagner, Aaron
Author_Institution :
Comput. Eng. & Comput. Sci. Dept., Univ. of Louisville, Louisville, KY, USA
Volume :
26
Issue :
7
fYear :
2014
fDate :
Jul-14
Firstpage :
1617
Lastpage :
1630
Abstract :
We propose a logical framework to analyze complex predicates (those involving a subquery) in SQL. We propose a new operator in the relational algebra for handling such predicates, and study its properties and how it combines with traditional relational operator. We focus on predicates of the form att θ MOD S, where att is an attribute, θ a comparison operator, MOD is one of SOME or ALL, and S is a (correlated or non-correlated) subquery. We provide a formal characterization of these predicate, as well as an implementation and optimization strategies for it. We show that our approach is extendible, so we can support the expression and optimization of other, similar predicates. Finally, we describe experimental evidence that the proposed approach is more efficient than the traditional approach across a variety of conditions.
Keywords :
SQL; formal logic; query processing; relational algebra; complex SQL predicates analysis; formal characterization; implementation strategy; optimization strategy; quantifier; relational algebra; relational operator; Algebra; Correlation; Europe; Joining processes; Optimization; Query processing; Semantics; Database Management; Generalized quantifiers; Information Technology and Systems; Languages; Query languages; Query processing; SQL; Systems; query optimization;
fLanguage :
English
Journal_Title :
Knowledge and Data Engineering, IEEE Transactions on
Publisher :
ieee
ISSN :
1041-4347
Type :
jour
DOI :
10.1109/TKDE.2013.55
Filename :
6490323
Link To Document :
بازگشت