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

From Hayes
Subject Re: An Idea for planner hints
Date
Msg-id aperez-A34054.16365526082006@news.hub.org
Whole thread Raw
In response to An Idea for planner hints  ("Florian G. Pflug" <fgp@phlo.org>)
List pgsql-hackers
On Aug 17, 2006, at 1:41 PM, Peter Eisentraut wrote:

> 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.
> 

There are still some things that the architect or DBA will know that 
the system could never deduce.

Any suggestions for what these statistics are?   Cross-column 
statistics have been mentioned previously.  Another that's come up 
before is how "clustered" a table is around its keys (think web log, 
where all the session records are going to be in the same page (or 
small set of pages)).  FK selectivity has been mentioned in this 
thread.

Anything else to throw into the ring?

-arturo


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM init
Next
From: "Jim C. Nasby"
Date:
Subject: Re: integration of pgcluster into postgresql