Semantic optimization is posible? - Mailing list pgsql-hackers

From Sebastián Ávila
Subject Semantic optimization is posible?
Date
Msg-id a87c9df10510240311u463661ecq@mail.gmail.com
Whole thread Raw
Responses Re: Semantic optimization is posible?
List pgsql-hackers
Hello people,

I'm thinking to add a stage before the optimizer and after the parser
with a basic rewriter in order to flatten all nested queries using a
pattern and table statistics, here I also can use assetions the
database have. Another and complementary possibility is that I can
make annotations on the query's data structure so that a later stage
can use the semantic info to either prune the search space or to pick
a specific query execution strategy.
Summarizing, I want to add semantic optimization into the query
processing execution.

I need to hear your opinion and your ideas about this, because I have
to choose between this project about semantic optimization and other
about software analysis. My problem is that I don't know how much
dificult can be to do semantic optimization and to do it well. What is
your opinion about? I have to implement the project in 5 months.

Thank you to all!!


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Query Progress Estimator
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Semantic optimization is posible?