|
ABSTRACT
The design of several database query languages has been influenced by Codd's relational algebra. This paper discusses the difficulty of optimizing queries based on the relational algebra operations select, project, and join. A matrix, called a tableau, is proposed as a useful device for representing the value of a query, and optimization of queries is couched in terms of finding a minimal tableau equivalent to a given one. Functional dependencies can be used to imply additional equivalences among tableaux. Although the optimization problem is NP-complete, a polynomial time algorithm exists to optimize tableaux that correspond to an important subclass of queries.
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
|
|
| |
2
|
|
| |
3
|
AHo, A.V., SAlty, Y., AND ULLMAN, J.D. Equivalences among relational expressions. SIAM J. Comptg. 8, 2 (May 1979), 218-246.
|
| |
4
|
AHO, A.V., SAGIV, Y., SZYMANSKI, T.G., ANY ULLMAN, J.D. Inferring a tree from lowest common ancestors with an application to the optimization of relational expressions. Proc. 16th Ann. Allerton Conf. on Commun., Contr. and Comptg., Oct. 1978, pp. 54-63.
|
| |
5
|
ARMSTRONG, W.W. Dependency structures of data base relationships. Information Processing 74, North-Holland Pub. Co., Amsterdam, 1974, pp. 580-583.
|
 |
6
|
|
 |
7
|
|
 |
8
|
|
 |
9
|
|
| |
10
|
CODD, E.F. Further normalization of the data base relational model. In Data Base Systems, R. Rustin, Ed., Prentice-Hall, Englewood Cliffs, N.J., 1972, pp. 33-64.
|
| |
11
|
CODD, E.F. Relational completeness of data base sublanguages. In Data Base Systems, R. Rustin, Ed., Prentice-Hall, Englewood Cliffs, N.J., 1972, pp. 65-98.
|
 |
12
|
|
| |
13
|
|
| |
14
|
DELOBEL, C. Contributions theoretiques a la conception d'un systeme d'informations. Ph.D. Th., U. of Grenoble, Grenoble, France, Oct. 1973.
|
 |
15
|
|
| |
16
|
|
| |
17
|
HALL, P.A.V. Optimization of a single relational expression in a relational database system. IBM J. Res. Develop. {May 1976}, 244-257.
|
| |
18
|
KARP, R.M. Reducibility among combinatorial problems. In Complexity of Computer Computations, R.E. Miller and J.W. Thatcher, Eds., Plenum Press, New York, 1972, pp. 85-104.
|
 |
19
|
|
| |
20
|
MINKER, J. Performing inferences over relational databases. Tech. Rep. TR363, Dept. of Comptr. Sci., U. of Maryland, College Park, Md., March 1975.
|
| |
21
|
PALERMO, F.P. A database search problem. In Information Systems COINS IV, J.T. Tou, Ed., Plenum Press, New York, 1974.
|
| |
22
|
PECHERER, R.M. Efficient evaluation of expressions in a relational algebra. Proc. ACM Pacific Conf., April 1975, pp. 44-49.
|
| |
23
|
SACXV, Y., AND YANNAKAKm, M. Equivalence among relational expressions with the union and difference operations. Proc. Fourth Int. Conf. on Very Large Data Bases, 1978, pp. 535-548.
|
 |
24
|
|
| |
25
|
|
 |
26
|
|
| |
27
|
ZANIOLO, C. Analysis and design of relational schemata for database systems. Tech. Rep. UCLA- ENG-7769, Dept. of Comptr. Sci., U. of California, Los Angeles, Calif., July 1976.
|
| |
28
|
ZLOOF, M.M. Query.by-example: The revocation and definition of tables and forms. Proc. ACM Int. Conf. on Very Large Data Bases, Sept. 1975, pp. 1-24.
|
CITED BY 69
|
|
Stavros Cosmadakis , Haim Gaifman , Paris Kanellakis , Moshe Vardi, Decidable optimization problems for database logic programs, Proceedings of the twentieth annual ACM symposium on Theory of computing, p.477-490, May 02-04, 1988, Chicago, Illinois, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sara Cohen , Werner Nutt , Alexander Serebrenik, Rewriting aggregate queries using views, Proceedings of the eighteenth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, p.155-166, May 31-June 03, 1999, Philadelphia, Pennsylvania, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Diego Calvanese , Giuseppe De Giacomo , Maurizio Lenzerini, On the decidability of query containment under constraints, Proceedings of the seventeenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.149-158, June 01-04, 1998, Seattle, Washington, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Werner Nutt , Yehoshus Sagiv , Sara Shurin, Deciding equivalences among aggregate queries, Proceedings of the seventeenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.214-223, June 01-04, 1998, Seattle, Washington, United States
|
|
|
Catriel Beeri , Alberto O. Mendelzon , Yehoshua Sagiv , Jeffrey D. Ullman, Equivalence of relational database schemes, Proceedings of the eleventh annual ACM symposium on Theory of computing, p.319-329, April 30-May 02, 1979, Atlanta, Georgia, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|