Re: Out of memory error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Out of memory error
Дата
Msg-id 16806.1151083098@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Out of memory error  ("Abu Mushayeed" <amushayeed@hotmail.com>)
Список pgsql-admin
"Abu Mushayeed" <amushayeed@hotmail.com> writes:
> AFTER A WHILE THE SYSTEM COMES BACK AND SAYS IN THE LOG FILE:

Please turn off your caps lock key :-(

> AggContext: -1501569024 total in 351 blocks; 69904 free (507 chunks);
> -1501638928 used
> DynaHashTable: 302047256 total in 46 blocks; 275720 free (66 chunks);
> 301771536 used

Hm, it's evidently misjudging how much memory will be needed by a
HashAggregate plan, probably because it's underestimating the number
of GROUP BY groups.  Could we see the EXPLAIN output for the query?
What PG version is this exactly?  Have you ANALYZEd the table lately?

            regards, tom lane

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

Предыдущее
От: "Abu Mushayeed"
Дата:
Сообщение: Out of memory error
Следующее
От: Daniel Xavier de Sousa
Дата:
Сообщение: Buffers to Nest Loop Join