Efficient optimization of a class of relational expressions

A. V. Aho,Y. Sagiv,J. D. Ullman
DOI: https://doi.org/10.1145/320107.320112
IF: 1.6289
1979-12-01
ACM Transactions on Database Systems
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.
computer science, information systems, software engineering
What problem does this paper attempt to address?