X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 46E1D3A3DB4 for ; Mon, 17 Jan 2005 16:14:23 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 20019-08 for ; Mon, 17 Jan 2005 16:14:19 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id F0AE23A3DB2 for ; Mon, 17 Jan 2005 16:14:18 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j0HGD09Y002254; Mon, 17 Jan 2005 11:13:00 -0500 (EST) To: Kaloyan Iliev Iliev Cc: pgsql-performance@postgresql.org Subject: Re: Performance problem from migrating between versions! In-reply-to: <41EBDBBB.3070301@faith.digsys.bg> References: <41EBDBBB.3070301@faith.digsys.bg> Comments: In-reply-to Kaloyan Iliev Iliev message dated "Mon, 17 Jan 2005 17:37:31 +0200" Date: Mon, 17 Jan 2005 11:13:00 -0500 Message-ID: <2253.1105978380@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/203 X-Sequence-Number: 9893 Kaloyan Iliev Iliev 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