DocumentCode :
3429610
Title :
A rule engine for query transformation in Starburst and IBM DB2 C/S DBMS
Author :
Pirahesh, Hamid ; Leung, T. Y Cliff ; Hasan, Waqar
Author_Institution :
IBM Almaden Res. Center, San Jose, CA, USA
fYear :
1997
fDate :
7-11 Apr 1997
Firstpage :
391
Lastpage :
400
Abstract :
The complexity of queries in relational DBMSs is increasing, particularly in the decision support area and interactive client sewer environments. This calls for a more powerful and flexible optimization of complex queries. H. Pirahesh et al. (1992) introduced query rewrite as a distinct query optimization phase mainly targeted to responding to this requirement. This approach has enabled us to extensively enrich the optimization rules in our system. Further, it has made it easier to incrementally enrich and adapt the system as need arises. Examples of such query optimizations are predicate pushdown, subquery and magic sets transformations, and decorrelating subquery. We describe the design and implementation of a rule engine for query rewrite optimization. Each transformation is implemented as a rule which consists of a pair of rule condition and action. Rules can be grouped into rule classes for higher efficiency, better understandability and more extensibility. The rule engine has a number of novelties in that it supports a full spectrum of control-from totally data driven to totally procedural. Furthermore, it incorporates a budget control scheme for controlling the resources taken for query optimization as well as guaranteeing the termination of rule execution. The rule engine and a suite of query rewrite rules have been implemented in Starburst relational DBMS prototype and a significant portion of this technology has been integrated into IBM DB2 Common Server relational DBMS
Keywords :
deductive databases; knowledge based systems; query processing; relational databases; rewriting systems; theorem proving; IBM DB2 C/S DBMS; IBM DB2 Common Server relational DBMS; Starburst relational DBMS prototype; budget control scheme; complex queries; decision support; decorrelating subquery; distinct query optimization phase; interactive client sewer environments; magic sets; optimization rules; predicate pushdown; query rewrite optimization; query rewrite rules; query transformation; rule classes; rule engine; subquery; Buildings; Decorrelation; Design optimization; Engines; Graphical user interfaces; Knowledge based systems; Merging; Optimization methods; Programming profession; Query processing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Data Engineering, 1997. Proceedings. 13th International Conference on
Conference_Location :
Birmingham
ISSN :
1063-6382
Print_ISBN :
0-8186-7807-0
Type :
conf
DOI :
10.1109/ICDE.1997.581945
Filename :
581945
Link To Document :
بازگشت