Skip to main content

Compilation-based list processing in deductive databases

  • Conference paper
  • First Online:
Advances in Database Technology — EDBT '92 (EDBT 1992)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 580))

Included in the following conference series:

  • 141 Accesses

Abstract

List functions occur frequently in deductive database applications. We study efficient evaluation of linear recursions with list functions in deductive databases. Since most linear recursions can be compiled into chain forms, a chain-based query evaluation method is developed, which selects an efficient query evaluation algorithm based on the analysis of compiled forms and finiteness, termination and query constraints. Interesting techniques, such as chain-split, existence checking and constraint-based evaluation, are developed to improve the performance. Moreover, chain-based evaluation can be generalized to the complex recursions compilable to chain forms.

The work was supported in part by the Natural Sciences and Engineering Research Council of Canada under Grant A-3723 and a research grant from Centre for Systems Science of Simon Fraser University.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. F. Bancilhon, D. Maier, Y. Sagiv and J. D. Ullman, Magic Sets and Other Strange Ways to Implement Logic Programs, Proc. 5th ACM Symp. Principles of Database Systems, Cambridge, MA, March 1986, 1–15.

    Google Scholar 

  2. F. Bancilhon and R. Ramakrishnan, An Amateur's Introduction to Recursive Query Processing Strategies, Proc. 1986 ACM-SIGMOD Conf. Management of Data, Washington, DC, May 1986, 16–52.

    Google Scholar 

  3. C. Beeri and R. Ramakrishnan, On the Power of Magic, Proc. 6th ACM Symp. Principles of Database Systems, San Diego, CA, March 1987, 269–283.

    Google Scholar 

  4. A. Brodsky and Y. Sagiv, On Termination of Datalog Programs, Proc. 1st Int. Conf. Deductive and Object-Oriented Databases (DOOD'89), Kyoto, Japan, December 1989, 95–112.

    Google Scholar 

  5. D. Chimenti, R. Gamboa, R. Krishnamurthy, S. Naqvi, S. Tsur and C. Zaniolo, The LDL System Prototype, IEEE Trans. Knowledge and Data Engineering, 2(1), 1990, 76–90.

    Google Scholar 

  6. J. Han, Multi-Way Counting Method, Information Systems, 14(3), 1989, 219–229.

    Google Scholar 

  7. J. Han, Compiling General Linear Recursions by Variable Connection Graph Analysis, Computational Intelligence, 5(1), 1989, 12–31.

    Google Scholar 

  8. J. Han and W. Lu, Asynchronous Chain Recursions, IEEE Trans. Knowledge and Data Engineering, 1(2), 1989, 185–195.

    Google Scholar 

  9. J. Han and Q. Wang, Evaluation of Functional Linear Recursions: A Compilation Approach, Information Systems, 16(4), 1991, 463–469.

    Google Scholar 

  10. J. Han, Constraint-Based Reasoning in Deductive Databases, Proc. 7th Int. Conf. Data Engineering, Kobe, Japan, April 1991, 257–265.

    Google Scholar 

  11. L. J. Henschen and S. Naqvi, On Compiling Queries in Recursive First-Order Databases, J. ACM, 31(1), 1984, 47–85.

    Google Scholar 

  12. T. Imielinski, Intelligent Query Answering in Rule Based Systems, Journal of Logic Programming, 4, 1987, 229–257.

    Google Scholar 

  13. J. Jaffar and J. Lassez, Constraint Logic Programming, Proc. 14th ACM Symp. Principles of Programming Languages, Munich, 1987, 111–119.

    Google Scholar 

  14. B. Jiang, A Suitable Algorithm for Computing Partial Transitive Closures, Proc. 6th Int. Conf. Data Engineering, Los Angeles, CA, February 1990, 264–271.

    Google Scholar 

  15. D. B. Kemp, K. Ramamohanarao, I. Balbin and K. Meenakshi, Propagating Constraints in Recursive Deductive Databases, Proc. 1989 North American Conf. Logic Programming, Cleveland, OH, October 1989, 981–998.

    Google Scholar 

  16. R. Krishnamurthy, R. Ramakrishnan and O. Shmueli, A Framework for Testing Safety and Effective Computability of Extended Datalog, Proc. 1988 ACM-SIGMOD Conf. Management of Data, Chicago, IL, June 1988, 154–163.

    Google Scholar 

  17. R. Krishnamurthy and C. Zaniolo, Optimization in a Logic Based Language for Knowledge and Data Intensive Applications, Proc. Int. Conf. of Extending Database Technology (EDBT 88), Venice, Italy, March 1988, 16–33.

    Google Scholar 

  18. M. J. Maher and P. J. Stuckey, Expanding Query Power in Constraint Logic Programming Languages, Proc. 1989 North American Conf. Logic Programming, Cleveland, OH, October 1989, 20–36.

    Google Scholar 

  19. J. F. Naughton, R. Ramakrishnan, Y. Sagiv and J. D. Ullman, Efficient Evaluation of Right-, Left-, and Multi-Linear Rules, Proc. 1989 ACM-SIGMOD Conf. Management of Data, Portland, Oregon, June 1989, 235–242.

    Google Scholar 

  20. R. Ramakrishnan, F. Bancilhon and A. Silberschatz, Safety of Recursive Horn Clauses with Infinite Relations, Proc. 6th ACM Symp. Principles of Database Systems, San Diego, CA, March 1987, 328–339.

    Google Scholar 

  21. A. Rosenthal, S. Heiler, U. Dayal and F. Manola, Traversal Recursion: A Practical Approach to Supporting Recursive Applications, Proc. 1986 ACM-SIGMOD Conf. Management of Data, Washington, DC, May 1986, 166–176.

    Google Scholar 

  22. Y. Sagiv and M. Vardi, Safety of Datalog Queries over Infinite Databases, Proc. 8th ACM Symp. Principles of Database Systems, Philadelphia, PA, March 1989, 160–171.

    Google Scholar 

  23. L. Sterling and E. Shapiro, The Art of Prolog, The MIT Press, 1986.

    Google Scholar 

  24. J. D. Ullman, Principles of Database and Knowledge-Base Systems, Vol. 2, Computer Science Press, Rockville, MD, 1989.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Alain Pirotte Claude Delobel Goerg Gottlob

Rights and permissions

Reprints and permissions

Copyright information

© 1992 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Han, J. (1992). Compilation-based list processing in deductive databases. In: Pirotte, A., Delobel, C., Gottlob, G. (eds) Advances in Database Technology — EDBT '92. EDBT 1992. Lecture Notes in Computer Science, vol 580. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0032426

Download citation

  • DOI: https://doi.org/10.1007/BFb0032426

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-55270-3

  • Online ISBN: 978-3-540-47003-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics