X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id CE1D09DC89D for ; Tue, 14 Feb 2006 13:47:35 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 75835-05 for ; Tue, 14 Feb 2006 13:47:35 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from exchange.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by postgresql.org (Postfix) with ESMTP id A1E4A9DC881 for ; Tue, 14 Feb 2006 13:47:33 -0400 (AST) Received: from 10.10.1.37 ([10.10.1.37]) by exchange.g2switchworks.com ([10.10.1.2]) with Microsoft Exchange Server HTTP-DAV ; Tue, 14 Feb 2006 17:47:33 +0000 Received: from state.g2switchworks.com by mail.g2switchworks.com; 14 Feb 2006 11:47:33 -0600 Subject: Re: out of memory From: Scott Marlowe To: Tom Lane Cc: martial.bizel@free.fr, pgsql-performance@postgresql.org In-Reply-To: <19747.1139938612@sss.pgh.pa.us> References: <1139930651.43f1f61b04773@imp2-g19.free.fr> <15115.1139931169@sss.pgh.pa.us> <1139933018.43f1ff5a5e542@imp6-g19.free.fr> <1139933201.22740.179.camel@state.g2switchworks.com> <1139933720.43f20218cfe3a@imp6-g19.free.fr> <19747.1139938612@sss.pgh.pa.us> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1139939253.22740.193.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 14 Feb 2006 11:47:33 -0600 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.165 required=5 tests=[AWL=0.164, UNPARSEABLE_RELAY=0.001] X-Spam-Score: 0.165 X-Spam-Level: X-Archive-Number: 200602/171 X-Sequence-Number: 17157 On Tue, 2006-02-14 at 11:36, Tom Lane wrote: > martial.bizel@free.fr writes: > > Yes, I've launched ANALYZE command before sending request. > > I precise that's postgres version is 7.3.4 > > Can't possibly be 7.3.4, that version didn't have HashAggregate. > > How many distinct values of "query" actually exist in the table? I thought that looked odd.