An amateur's introduction to recursive query processing strategies
- 15 June 1986
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGMOD Record
- Vol. 15 (2), 16-52
- https://doi.org/10.1145/16856.16859
Abstract
This paper surveys and compares various strategies for processing logic queries in relational databases. The survey and comparison is limited to the case of Horn Clauses with evaluable predicates but without function symbols. The paper is organized in three parts. In the first part, we introduce the main concepts and definitions. In the second, we describe the various strategies. For each strategy, we give its main characteristics, its application range and a detailed description. We also give an example of a query evaluation. The third part of the paper compares the strategies on performance grounds. We first present a set of sample rules and queries which are used for the performance comparisons, and then we characterize the data. Finally, we give an analytical solution for each query/rule system. Cost curves are plotted for specific configurations of the data.Keywords
This publication has 10 references indexed in Scilit:
- Evaluation of database recursive logic programs as recurrent function seriesPublished by Association for Computing Machinery (ACM) ,1986
- Convergence of sideways query evaluationPublished by Association for Computing Machinery (ACM) ,1985
- On the implementation of a simple class of logic queries for databasesPublished by Association for Computing Machinery (ACM) ,1985
- Magic sets and other strange ways to implement logic programs (extended abstract)Published by Association for Computing Machinery (ACM) ,1985
- Logic and Databases: A Deductive ApproachACM Computing Surveys, 1984
- On compiling queries in recursive first-order databasesJournal of the ACM, 1984
- Contributions to the Theory of Logic ProgrammingJournal of the ACM, 1982
- On Evaluation of Queries Containing Derived Relations in a Relational Data BasePublished by Springer Nature ,1981
- Universality of data retrieval languagesPublished by Association for Computing Machinery (ACM) ,1979
- The Semantics of Predicate Logic as a Programming LanguageJournal of the ACM, 1976