Re: [HACKERS] Hints proposal

Поиск
Список
Период
Сортировка
От Robert Treat
Тема Re: [HACKERS] Hints proposal
Дата
Msg-id 200610172218.53194.xzilla@users.sourceforge.net
обсуждение исходный текст
Ответ на Hints proposal  ("Jim C. Nasby" <jim@nasby.net>)
Список pgsql-performance
On Friday 13 October 2006 12:46, Gregory Stark wrote:
> Josh Berkus <josh@agliodbs.com> writes:
> >> > I actually think the way to attack this issue is to discuss the kinds
> >> > of errors the planner makes, and what tweaks we could do to correct
> >> > them. Here's the ones I'm aware of:
> >> >
> >> > -- Incorrect selectivity of WHERE clause
> >> > -- Incorrect selectivity of JOIN
> >> > -- Wrong estimate of rows returned from SRF
> >> > -- Incorrect cost estimate for index use
> >> >
> >> > Can you think of any others?
>
>  -- Incorrect estimate for result of DISTINCT or GROUP BY.

Yeah, that one is bad.  I also ran into one the other day where the planner
did not seem to understand the distinctness of a columns values across table
partitions...

--
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL

В списке pgsql-performance по дате отправления:

Предыдущее
От: "Bucky Jordan"
Дата:
Сообщение: Re: Jdbc/postgres performance
Следующее
От: Robert Treat
Дата:
Сообщение: Re: Hints proposal