Welcome!
To use the personalized features of this site, please log in or register.
If you have forgotten your username or password, we can help.
My Menu
Saved Items

SECONDO/QP: Implementation of a Generic Query Processor

Ralf Hartmut Güting7, Stefan Dieker7, Claudia Freundorfer7, Ludger Becker8 and Holger Schenk7

(7)  Praktische Informatik IV, FernUniversität Hagen, D-58084 Hagen, Germany
(8)  Westfälische Wilhelms-Universität, FB 15 - Informatic, Einsteistr. 62, D-48149 Münster, Germany
Abstract
In an extensible database system, evaluation of a query plan is done in cooperation between a collection of operator implementation functions and a componenet of the DBMS that we call the query processor. Basically, the query processor constructs an operator tree for the query plan and then calls an evaluator function which traverses the tree, calling the operator functions in each node. This seemingly simple strategy is complicated by the fact that operator functions must be able to call for the evaluation of parameter expressions (e.g. predicates), and must be able to process streams) of objects in a pipelined manner.
Although query processing along these lines is implemented in most database systems, and certainly in all extensible database systems, the details of programming the parameters passing, organizing the interaction between stream operators, etc. are tricky, and seem to be burried in the code of the respective systems. We are not aware of any simple, crisp, clear published exposition of how one could implement such a query processor. This is what the paper offers.
Moreover, we feel the solution presented here is particularly simple elegant and general. For example, it is entirely independent from the data model being implemented, admits arbitrary parameter functions, and allows one to mix freely stream operators and other operators. The construction of the operator tree, shown in the paper, includes complete type checking and resolution of overloading. The query processor has been implemented within the SupECONDO systems; the source code is available.

Fulltext Preview (Small, Large)
Image of the first page of the fulltext

References secured to subscribers.



Export this chapter
Export this chapter as RIS | Text
 
Remote Address: 38.107.191.107 • Server: mpweb22
HTTP User Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)