Re: [PERFORM] Hints proposal - Mailing list pgsql-hackers

From Stefan Kaltenbrunner
Subject Re: [PERFORM] Hints proposal
Date
Msg-id 452FD5D5.3040500@kaltenbrunner.cc
Whole thread Raw
In response to Re: [PERFORM] Hints proposal  ("Jim C. Nasby" <jim@nasby.net>)
List pgsql-hackers
Jim C. Nasby wrote:
> On Fri, Oct 13, 2006 at 10:23:31AM -0700, Jeff Davis wrote:
>> Right. And I think the sane ideas are along the lines of estimate & cost
>> corrections (like Tom is saying).
> 
> Let me ask this... how long do you (and others) want to wait for those?

well - we waited and got other features in the past and we will wait and
get new features in the future too...

> It's great that the planner is continually improving, but it also
> appears that there's still a long road ahead. Having a dune-buggy to get
> to your destination ahead of the road might not be a bad idea... :)

well the planner has improved dramatically in the last years - we have
apps here that are magnitudes faster with 8.1(even faster with 8.2) then
they were with 7.3/7.4 - most of that is pure plain planner improvements.

And I don't really believe that adding proper per statement hint support
is any easier then continuing to improve the planner or working on (imho
much more useful) improvements to the statistics infrastructure or
functionality to tweak the statistics usage of the planner.
The later however would prove to be much more useful for most of the
current "issues" and have benefits for most of the userbase.


Stefan


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [PERFORM] Hints proposal
Next
From: Peter Eisentraut
Date:
Subject: Re: ./configure argument checking