Title :
Implementing the PostgreSQL query optimizer within the OPT++ framework
Author :
Wang, Ju ; Li, Jinmiao ; Butler, Greg
Author_Institution :
Dept. of Comput. Sci., Concordia Univ., Montreal, Que., Canada
Abstract :
Our work studies the application of an existing framework, called OPT++, for query optimization for relational databases. The initial application was a simple bottom-up optimizer, while the second application was to implement the query optimization strategies of PostgreSQL with the framework. Our experience illustrates the power and the pitfalls of reusing frameworks. During the course of the two applications we found substantial need to improve the design at the detailed level though the main abstractions of OPT++ did not change. Our second application raised many issues with the performance of OPT++, which is surprising since its fundamental purpose was a major study of relative performance of query optimization strategies by its author. We have addressed many performance issues, but some with broad impact on the framework´s code are still being addressed.
Keywords :
SQL; query processing; relational databases; OPT++ framework; PostgreSQL query optimizer; query optimization strategy; relational databases; Application software; Computer science; Database languages; Database systems; Documentation; Dynamic programming; Object oriented modeling; Query processing; Relational databases; Simulated annealing;
Conference_Titel :
Software Engineering Conference, 2003. Tenth Asia-Pacific
Print_ISBN :
0-7695-2011-1
DOI :
10.1109/APSEC.2003.1254379