Re: Performance problem from migrating between versions! - Mailing list pgsql-performance

From Kaloyan Iliev Iliev
Subject Re: Performance problem from migrating between versions!
Date
Msg-id 41EBFDBF.9040105@faith.digsys.bg
Whole thread Raw
In response to Re: Performance problem from migrating between versions!  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Performance problem from migrating between versions!
List pgsql-performance
Thanks,

It worked. I have read in the docs what this "enable_hashagg" do, but I
couldn't understand it. What does it change?

 From the Doc:
-------
enable_hashagg (boolean)

    Enables or disables the query planner's use of hashed aggregation
    plan types. The default is on. This is used for debugging the query
    planner.

--------

How it is used to debug the query planner? And why it lower the mem usage?

Thank you in advance.

Kaloyan Iliev




Tom Lane wrote:

>Kaloyan Iliev Iliev <news1@faith.digsys.bg> writes:
>
>
>>I have the following problem. A week ago we've migrated from PGv7.2.3 to
>>7.4.6. There were a lot of things in the apps to chenge but we made
>>them. But one query doesn't want to run. In the old PGv7.2.3 it passes
>>for 10 min. In the new one it gaves:
>>DBD::Pg::st execute failed: ERROR:  out of memory
>>
>>
>
>Does setting enable_hashagg to OFF fix it?
>
>            regards, tom lane
>
>
>
>

pgsql-performance by date:

Previous
From: William Yu
Date:
Subject: Re: Increasing RAM for more than 4 Gb. using postgresql
Next
From: Tom Lane
Date:
Subject: Re: Optimizing this count query