Optimization of real conjunctive queries

The optimization problem for conjunctive queries has been studied extensively. Unfortunately, this research almost invariably assumes set-theoretic semantics (i.e., duplicates are eliminated). In contrast, SQL queries have bag-theoretic semantics (i.e., in general duplicates are not eliminated). In this paper we study the optimization problems for conjunct ive queries under bagtheoretic semantics. We show that optimization techniques from the set-theoretic setting do not carry over to the bag-theoretic setting.

[1]  Aviel Klausner Multirelations in relational databases (duplicates, acyclic databases, functional dependencies, tableaux) , 1986 .

[2]  Anthony C. Klug On conjunctive queries containing inequalities , 1988, JACM.

[3]  Hamid Pirahesh,et al.  The Magic of Duplicates and Aggregates , 1990, VLDB.

[4]  Generalized Containment of Conjunctive Queries , 2022 .

[5]  A. Aho,et al.  Efficient optimization of a class of relational expressions , 1979, ACM Trans. Database Syst..

[6]  Larry J. Stockmeyer,et al.  The Polynomial-Time Hierarchy , 1976, Theor. Comput. Sci..

[7]  J. Biskup,et al.  Optimization of a subclass of conjunctive queries (extended abstract) , 1990, ICDT 1990.

[8]  Alfred V. Aho,et al.  Equivalences Among Relational Expressions , 1979, SIAM J. Comput..

[9]  Giuseppe Pelagatti,et al.  Formal semantics of SQL queries , 1991, TODS.

[10]  Matthias Jarke,et al.  Query Optimization in Database Systems , 1984, CSUR.

[11]  Mihalis Yannakakis,et al.  Equivalences Among Relational Expressions with the Union and Difference Operators , 1980, J. ACM.

[12]  Joachim Biskup,et al.  Optimizatioin of a Subclass of Conjunctive Queries , 1990, ICDT.

[13]  C. J. Date A Guide to the SQL Standard , 1987 .

[14]  Jeffrey D. Ullman,et al.  Principles Of Database And Knowledge-Base Systems , 1979 .

[15]  Jeffrey D. Uuman Principles of database and knowledge- base systems , 1989 .

[16]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[17]  Jeffrey D. Ullman,et al.  Principles of database and knowledge-base systems, Vol. I , 1988 .

[18]  Randy H. Katz,et al.  An extended relational algebra with control over duplicate elimination , 1982, PODS.

[19]  Patricia G. Selinger,et al.  Access path selection in a relational database management system , 1979, SIGMOD '79.

[20]  Ashok K. Chandra,et al.  Optimal implementation of conjunctive queries in relational data bases , 1977, STOC '77.