Re: TopMemoryContext - Configuration Mistake?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: TopMemoryContext - Configuration Mistake?
Дата
Msg-id 9280.1282052697@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: TopMemoryContext - Configuration Mistake?  (Edoardo Innocenti <edoardo.innocenti@savinodelbene.com>)
Ответы Re: TopMemoryContext - Configuration Mistake?
Список pgsql-admin
Edoardo Innocenti <edoardo.innocenti@savinodelbene.com> writes:
> Query Plan:<br>
> "HashAggregate (cost=4910.06..4910.19 rows=1 width=659)"

Hm ... the planner seems to think that this is a small query that isn't
going to take long, which is a bit at odds with the fact that you're
running out of memory.  I suspect that these rowcount estimates are
far too low, which would suggest that you need to make sure your
ANALYZE statistics are up-to-date, and perhaps raise the statistics
targets.  Try to get the plan's estimated rowcounts to approximate
reality.

BTW, you might want to think about turning off your mail program's
HTML option.  What other people are seeing looks like this:
http://archives.postgresql.org/pgsql-admin/2010-08/msg00126.php
and it's not pretty.

            regards, tom lane

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

Предыдущее
От: Edoardo Innocenti
Дата:
Сообщение: Re: TopMemoryContext - Configuration Mistake?
Следующее
От: "Gnanakumar"
Дата:
Сообщение: Re: SQL statements not printed in pgpool log