Improving Federated Database Queries Using Declarative Rewrite Rules for Quantified Subqueries

Transforming queries for efficient execution is particularly important in federated database systems since a more efficient execution plan can require many fewer data requests to be sent to the component databases. Also, it is important to do as much as possible of the selection and processing close...

Full description

Saved in:
Bibliographic Details
Published inJournal of intelligent information systems Vol. 17; no. 2-3; p. 281
Main Authors Graham J.L. Kemp, Peter M.D. Gray, Sjostedt, Andreas R
Format Journal Article
LanguageEnglish
Published New York Springer Nature B.V 01.12.2001
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Transforming queries for efficient execution is particularly important in federated database systems since a more efficient execution plan can require many fewer data requests to be sent to the component databases. Also, it is important to do as much as possible of the selection and processing close to where the data are stored, making best use of facilities provided by the federation's component database management systems. In this paper we address the problem of processing complex queries including quantifiers, which have to be executed against different databases in an expanding heterogeneous federation. This is done by transforming queries within a mediator for global query improvement, and within wrappers to make the best use of the query processing capabilities of external databases. Our approach is based on pattern matching and query rewriting. We introduce a high level language for expressing rewrite rules declaratively, and demonstrate the use and flexibility of such rules in improving query performance for existentially quantified subqueries. Extensions to this language that allow generic rewrite rules to be expressed are also presented. The value of performing final transformations within a wrapper for a given remote database is shown in several examples that use AMOS II--an SQL3-like system. [PUBLICATION ABSTRACT]
ISSN:0925-9902
1573-7675
DOI:10.1023/A:1012866016118