Re: ATTN: Clodaldo was Performance problem. Could it be related to 8.3-beta4? - Mailing list pgsql-general

From Tom Lane
Subject Re: ATTN: Clodaldo was Performance problem. Could it be related to 8.3-beta4?
Date
Msg-id 10135.1200852327@sss.pgh.pa.us
Whole thread Raw
In response to Re: ATTN: Clodaldo was Performance problem. Could it be related to 8.3-beta4?  (Russell Smith <mr-russ@pws.com.au>)
List pgsql-general
Russell Smith <mr-russ@pws.com.au> writes:
> Tom Lane wrote:
>> A possibly usable workaround for now is "set enable_hashagg = off"
>> to force a GroupAggregate plan, which will deliver the values sorted
>> by (data, usuario) rather than by their hash values.

> If you add ORDER BY to the query, do you get different results?

Yeah, that should have the same effect.  An advantage is that you don't
risk clobbering the performance of other queries by mistakenly leaving
hashagg turned off.

            regards, tom lane

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Sun acquires MySQL
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Sun acquires MySQL