Personal tools
You are here: Home Publications Type Inference for Datalog and its Application to Query Optimisation
Document Actions

Type Inference for Datalog and its Application to Query Optimisation

This research was carried out outside the university, and the results are proprietary. Unfortunately, this means that the full text of the paper cannot be made available on this website.

The paper will be published in the proceeding of PODS 2008. For more information, please consult the conference website.

  • In: The ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems, Vancouver, Canada, 9-12 June 2008
  • Authors: Oege de Moor, Damien Sereni, Pavel Avgustinov and Mathieu Verbaere
  • Abstract:

    Certain variants of object-oriented Datalog can be compiled to Datalog with negation. We seek to apply optimisations akin to virtual method resolution (a well-known technique in compiling Java and other OO languages) to improve efficiency of the resulting Datalog programs. The effectiveness of such optimisations strongly depends on the precision of the underlying type inference algorithm. Previous work on type inference for Datalog has focussed on Cartesian abstractions, where the type of each field is computed separately. Such Cartesian type inference is inherently imprecise in the presence of field equalities. We propose a type system where equalities are tracked, and present a type inference algorithm. The algorithm is proved sound. We also prove that it is optimal for Datalog without negation, in the sense that the inferred type is as tight as possible. Extensive experiments with our type-based optimisations, in a commercial implementation of object-oriented Datalog, confirm the benefits of this non-Cartesian type inference algorithm.

  • Bibtex:
      @inproceedings{pods08demoor,
        author="Oege de Moor and Damien Sereni and Pavel Avgustinov and Mathieu Verbaere",
        title="Type Inference for Datalog and its Application to Query Optimisation",
        booktitle="Proceedings of the {ACM} {SIGACT}-{SIGMOD}-{SIGART} Symposium on Principles of Database Systems",
        editor="Maurizio Lenzerini",
        month="June",
        year="2008"}
    

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: