Re: An Idea for planner hints

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Arturo Pérez <arturo(at)ethicist(dot)net>
Subject: Re: An Idea for planner hints
Date: 2006-08-17 17:41:03
Message-ID: 200608171941.03966.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-08-17 17:42:20 Re: Enum proposal / design
Previous Message Matthew T. O'Connor 2006-08-17 17:40:41 Re: Autovacuum on by default?