Re: OOM Errors as a result of table inheritance and a bad plan(?)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: OOM Errors as a result of table inheritance and a bad plan(?)
Дата
Msg-id 19037.1191013009@sss.pgh.pa.us
обсуждение исходный текст
Ответ на OOM Errors as a result of table inheritance and a bad plan(?)  (Arctic Toucan <arctic_toucan@hotmail.com>)
Список pgsql-performance
Arctic Toucan <arctic_toucan@hotmail.com> writes:
> -- Is there something magical about the hash aggregate estimate of 200 rows?

Yeah, it's the default :-(

> Is this a bug, or some subtlety of the Postgres query planner?

It's an, um, known deficiency --- the planner hasn't got any idea how to
construct aggregated statistics for an inheritance tree.

            regards, tom lane

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Non-blocking vacuum full
Следующее
От: Ron Mayer
Дата:
Сообщение: Re: Non-blocking vacuum full