Re: postmaster out of memory....

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: postmaster out of memory....
Дата
Msg-id 20040228222448.GD12519@svana.org
обсуждение исходный текст
Ответ на postmaster out of memory....  (Joe Maldonado <jmaldonado@mail.webehosting.biz>)
Список pgsql-general
On Fri, Feb 27, 2004 at 01:45:07PM -0500, Joe Maldonado wrote:
> Hello all!
>
>     when asking postgres to aggregate totals accross 4.5 or so Million
>     records.  The visible effect is that the postmaster will grow to the
>     3GB process limit and die without a core :(.
> I have seen this same behaviour discussed back in 6.5 archives in the
> thread with subject "[SQL] How to avoid "Out of memory" using aggregate
> functions? ".  Is this fixed? Why is the postmaster exceeding it's 102MB
> sort mem size when doing these queries and not paging out the data?

What version? We aggregate million of value vairly often. What
aggregate?

Have you run ANALYZE recently?
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> If the Catholic church can survive the printing press, science fiction
> will certainly weather the advent of bookwarez.
>    http://craphound.com/ebooksneitherenorbooks.txt - Cory Doctorow

Вложения

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

Предыдущее
От: "Karl O. Pinc"
Дата:
Сообщение: Re: Moving from MySQL to PGSQL....some questions
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Memory usage