Re: out of memory problem in CVS - Mailing list pgsql-general

From laser
Subject Re: out of memory problem in CVS
Date
Msg-id 42C8EA0A.6080000@toping.com.cn
Whole thread Raw
In response to Re: out of memory problem in CVS  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane 写道:

>Neil Conway <neilc@samurai.com> writes:
>
>
>>Have you run ANALYZE recently? You might be running into the well-known
>>problem that hashed aggregation can consume an arbitrary amount of
>>memory -- posting the EXPLAIN for the query would confirm that.
>>
>>
>
>It would be useful to confirm whether this behavior is any different
>from 8.0 ...
>
>
>
Ok, rerun the query in another 8.0.3 box, it comes with 1G RAM and it's
linux,
without the 512M data segment limit (ulimit -d unlimited)。Load the data
and run vacuum analyze; then run the query, now the query return the result,
through top, we found that the postmaster process used 600+M RAM, the
enable_hashagg is ON.

wish that helps.

regards laser

pgsql-general by date:

Previous
From: laser
Date:
Subject: Re: out of memory problem in CVS
Next
From: Karsten Hilbert
Date:
Subject: Re: Transparent i18n?