Rule Languages and Internal Algebras for Rule-Based Optimizers (1996)
| Venue: | In Proc. ACM SIGMOD Int'l Conference on Management of Data |
| Citations: | 31 - 6 self |
BibTeX
@INPROCEEDINGS{Cherniack96rulelanguages,
author = {Mitch Cherniack and Stanley B. Zdonik},
title = {Rule Languages and Internal Algebras for Rule-Based Optimizers},
booktitle = {In Proc. ACM SIGMOD Int'l Conference on Management of Data},
year = {1996},
pages = {401--412}
}
Years of Citing Articles
OpenURL
Abstract
Rule-based optimizers and optimizer generators use rules to specify query transformations. Rules act directly on query representations, which typically are based on query algebras. But most algebras complicate rule formulation, and rules over these algebras must often resort to calling to externally defined bodies of code. Code makes rules difficult to formulate, prove correct and reason about, and therefore compromises the effectiveness of rule-based systems. In this paper we present KOLA; a combinator-based algebra designed to simplify rule formulation. KOLA is not a user language, and KOLA's variable-free queries are difficult for humans to read. But KOLA is an effective internal algebra because its combinatorstyle makes queries manipulable and structurally revealing. As a result, rules over KOLA queries are easily expressed without the need for supplemental code. We illustrate this point, first by showing some transformations that despite their simplicity, require head and body rou...







