ACM Transactions on Database Systems · 1984 · 231 citations · 17 references
ComputingComputer EngineeringComputer ScienceAlgorithmsData StructuresDatabasesDatabase ManagementQuery OptimizationQuery ProcessingRelational AlgebraRelational Data ModelRelational DatabasesJoin AlgorithmsJoin OrderingJoin ProcessingPolynomial Time ComplexityPolynomial-time AlgorithmsQuery EvaluationRelational Database SystemsRelational Query Processing
Using the nested loops method, this paper addresses the problem of minimizing the number of page fetches necessary to evaluate a given query to a relational database. We first propose a data structure whereby the number of page fetches required for query evaluation is substantially reduced and then derive a formula for the expected number of page fetches. An optimal solution to our problem is the nesting order of relations in the evaluation program, which minimizes the number of page fetches. Since the minimization of the formula is NP-hard, as shown in the Appendix, we propose a heuristic algorithm which produces a good suboptimal solution in polynomial time. For the special case where the input query is a “tree query,” we present an efficient algorithm for finding an optimal nesting order.
17
A relational model of data for large shared data banks
E. F. Codd · Communications of the ACM · 1970 · 5.2K citations · Full text
A relational model of data for large shared data banks
E. F. Codd · Communications of the ACM · 1983 · 4.8K citations
Access path selection in a relational database management system
Patricia G. Selinger, M. M. Astrahan, Donald D. Chamberlin et al. · 1979 · 2.2K citations
M. M. Astrahan, Michael W. Blasgen, Donald D. Chamberlin et al. · ACM Transactions on Database Systems · 1976 · 1K citations · Full text
The design and implementation of INGRES
Michael Stonebraker, Gerald Held, Eugene Wong et al. · ACM Transactions on Database Systems · 1976 · 884 citations · Full text