首页 | 本学科首页   官方微博 | 高级检索  
     


Improving Federated Database Queries Using Declarative Rewrite Rules for Quantified Subqueries
Authors:Graham J.L. Kemp, Peter M.D. Gray  Andreas R. Sjö  stedt
Affiliation:(1) Department of Computing Science, University of Aberdeen, King's College, Aberdeen, Scotland, UK, AB24 3UE
Abstract: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.
Keywords:bioinformatics  federated database system  functional data model  query optimisation  rewrite rules
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号