Re: out of memory problem in CVS

From: laser <laser(at)toping(dot)com(dot)cn>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: out of memory problem in CVS
Date: 2005-07-04 05:15:01
Message-ID: 42C8C5D5.6060603@toping.com.cn
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


>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.
>
>-Neil
>
>
>
yes, I run VACUUM ANALYZE VERBOSE then run the query,
and finally got the out of memory error.
After that, we dig in the archive and find a solution:
issue a 'set enable_hashagg=off' and re-run the query,
and now the query give me the result.

regards laser

In response to

Browse pgsql-general by date

  From Date Subject
Next Message laser 2005-07-04 07:49:30 Re: out of memory problem in CVS
Previous Message Tom Lane 2005-07-04 05:01:18 Re: out of memory problem in CVS