Datalog systems evaluate joins over arithmetic (in)equalities as a naive generate-and-test of Cartesian products. We exploit aggregates in a source-to-source transformation to reduce the size of Cartesian products and to improve performance. Our approach approximates the well-known propagation technique from Constraint Programming. Experimental evaluation shows good run time speed-ups on a range of non-recursive as well as recursive programs. Furthermore, our technique transformation approach.
@inproceedings{campagna:2012:padl,
author = {Campagna, Dario and Sarna-Starosta, Beata and Schrijvers, Tom},
editor = {Russo, Claudio and Zhou, Neng-Fa},
booktitle = {Practical Aspects of Declarative Languages, 14th International Symposium, Proceedings},
title = {{Optimizing Inequality Joins in Datalog with Approximated Constraint Propagation}},
publisher = {Springer},
year = {2012},
url = {/Research/papers/padl2012.pdf},
abstract = {Datalog systems evaluate joins over arithmetic (in)equalities as a naive
generate-and-test of Cartesian products. We exploit aggregates in a
source-to-source transformation to reduce the size of Cartesian products and to
improve performance. Our approach approximates the well-known propagation
technique from Constraint Programming.
Experimental evaluation shows good run time speed-ups on a range of
non-recursive as well as recursive programs. Furthermore, our technique
transformation approach.
},
}