@inproceedings{f49990c32f274a709bfe24f3fbea7f9c,
title = "Magic checking: Constraint checking for database query optimisation",
abstract = "Constraint satisfaction techniques, embedded in constraint programming languages such as CHIP, have proven their worth or/ a wide variety of practical applications. This paper describes a first step towards integrating these techniques into database systems. The main idea is to optimise complex queries by continually checking to see if the current partial results are consistent with the remainder of the query. In this paper we present a query language, based on Datalog, which enables the database user to control the checking by annotating certain atomic goals. We show how queries expressed in this language can be translated into queries expressed in standard Datalog. Each Datalog rule is separately optimised by the database optimiser. The language and the translation are motivated by various examples; in particular an application to crossword generation is described where the optimisation proposed in this paper adds significantly to standard database optimisation techniques.",
author = "Mark Wallace and Stephane Bressan and Provost, {Thierry Le}",
year = "1996",
month = jan,
day = "1",
language = "English",
isbn = "3540607943",
series = "Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)",
publisher = "Springer-Verlag London Ltd.",
pages = "148--166",
booktitle = "Constraint Databases and Applications - ESPRIT WG CONTESSA Workshop, 1995, Proceedings",
address = "Germany",
note = "Workshop on Constraint Databases and Applications, ESPRIT WG CONTESSA 1995 ; Conference date: 08-09-1995 Through 09-09-1995",
}