pdf (870 Kb) - Fachgebiet Datenbanken und Informationssysteme
pdf (870 Kb) - Fachgebiet Datenbanken und Informationssysteme
pdf (870 Kb) - Fachgebiet Datenbanken und Informationssysteme
Erfolgreiche ePaper selbst erstellen
Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.
Abstract<br />
The aim of the query evaluation in relational data base systems consists of generating<br />
the optimal execution plan for a given query. Since this is generally a<br />
very complex matter, one reduces the requirements in practice to avoid bad query<br />
trees.<br />
This diploma presents an introduction to this complex topic, in order to examine<br />
afterwards the heuristic query optimization closer. By giving a basic cost model,<br />
it gives one the possibility, to make relative statements about the quality of the<br />
optimized query plan. Not the exactness of the costs is important, but the relative<br />
cost differences of the respective query plans.<br />
These alternatives are developed in two following phases of the optimization.<br />
First an algebraic optimization is made, with which equivalence rewritings are<br />
accomplished by transformation rules. Since for a logical algebra operator often<br />
different implementations exist, the most economical plan is selected in the following<br />
physical optimization. In both cases heuristics are used for the controlling<br />
of generating alternatives. They represent empirical values for the meaningful<br />
application of certain rewriting rules.<br />
The search methods needed for the query optimization offer afterwards the possibility<br />
of improving the developed query tree. The additional given metadatas<br />
permit to use a selection of search methods, which can find a more economical -<br />
again accelerated by heuristics - query.<br />
For the conclusion of this work the presented query optimizer is simulated, in<br />
order to make closer investigations possible concerning the fine tunings. Special<br />
attention is directed on the necessary flexibility and the expandability of the<br />
programmed optimization modules.