ACM SIGMOD Record · 1988 · 23 citations · 6 references
HumanitiesComputer ScienceAlgorithmsDatabasesLogicAutomated ReasoningDeductive ReasoningDeductive SystemsModel TheoryPredicate LogicRecursion TheoryDeductive DatabasesRecursionRecursion SchemesRecursive QueriesRecursive Structure
In this paper, we present results on the classification of linear recursive formulas in deductive databases and apply those results to the compilation and optimization of recursive queries. We also introduce compiled formulas and query evaluation plans for a representative query for each of these classes. To explain general recursive formulas, we use a graph model that shows the connectivity between variables. The connecticity between variables is the most critical part in processing recursive formulas. We demonstrate that based on such a graph model all the linear recursive formulas can be classified into several classes and each class shares some common characteristics in compilation and query processing. The compiled formulas and the corresponding query evaluation plans can be derived based on the study of the compilation of each class.
6
Magic sets and other strange ways to implement logic programs (extended abstract)
François Bancilhon, David Maier, Yehoshua Sagiv et al. · 1985 · 534 citations
On compiling queries in recursive first-order databases
Lawrence J. Henschen, Shamim A. Naqvi · Journal of the ACM · 1984 · 285 citations · Full text