Adding magic to an optimising datalog compiler

Damien Sereni, Pavel Avgustinov, Oege de Moor · 2008

The magic-sets transformation is a useful technique for dramatically improving the performance of complex queries, but it has been observed that this transformation can also drastically reduce the performance of some queries. Successful implementations of magic in previous work require integration with the database optimiser to make appropriate decisions to guide the transformation (the sideways information passing strategy, or SIPS).

Read the paper · More papers on PaperTik