Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Stark <gsstark(at)MIT(dot)EDU>, pgsql-general(at)postgresql(dot)org
Subject: Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3
Date: 2003-02-11 19:14:01
Message-ID: 87adh2pr46.fsf@stark.dyndns.tv
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> You could probably persuade it that hashed aggregation will be okay by
> increasing sort_mem sufficiently. But it would also be interesting to
> see if the number-of-groups estimate can be improved ... 15122 is rather
> badly off from the true value of 31 ...

My sort_mem is already quite large, 53M. I think that's large enough even for
15,122 rows.

--
greg

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-02-11 19:17:17 Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3
Previous Message Ed L. 2003-02-11 19:08:15 translating filenames into tablenames?