Re: An Idea for planner hints - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: An Idea for planner hints
Date
Msg-id 200608171941.03966.peter_e@gmx.net
Whole thread Raw
In response to Re: An Idea for planner hints  (Arturo Pérez <arturo@ethicist.net>)
Responses Re: An Idea for planner hints
List pgsql-hackers
Arturo Pérez wrote:
> The DBA therefore pokes the
> right information into
> the planner's statistical tables (or, perhaps, a more human-
> manageable one that gets
> "compiled" into the planner's stats).

I think we're perfectly capable of producing a system that can collect 
the statistics.  We just don't want to collect every possible 
statistic, but just those that someone declared to be interesting 
beforehand.  There need not be any manual poking.  Just manual 
declaring.

But we need to work this from the other end anyway.  We need to 
determine first, what sort of statistics the planner could make use of.  
Then we can figure out the difficulties in collecting them.

A certain other hacker would send us all to the university library now.  
Maybe we should listen.  I for one am going to do laundry now. :-)

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Re: Autovacuum on by default?
Next
From: Tom Lane
Date:
Subject: Re: Enum proposal / design