Tom Lane 写道:
>Neil Conway <[EMAIL PROTECTED]> 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 usef
>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 o
Neil Conway <[EMAIL PROTECTED]> 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 behavi
laser wrote:
> SELECT url,sum(ct) as ctperkw from ctrraw group by url order by ctperkw
> desc limit 1000;
> and the query run out of memory, the log file attached.
Have you run ANALYZE recently? You might be running into the well-known
problem that hashed aggregation can consume an arbitrary amou
hi,
we are using postgresql to analyze our web log, we got a 6M table,
and while doing the query:
SELECT url,sum(ct) as ctperkw from ctrraw group by url order by ctperkw
desc limit 1000;
the table structure is:
CREATE TABLE ctrRAW
(
cdate date,
ip inet,
kw varchar(128),
prd varchar(6),
pos int,