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 715DB5E46C0 for ; Fri, 6 Aug 2004 20:18:18 -0300 (ADT) 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 49496-08 for ; Fri, 6 Aug 2004 23:18:20 +0000 (GMT) Received: from davinci.ethosmedia.com (server226.ethosmedia.com [209.128.84.226]) by svr1.postgresql.org (Postfix) with ESMTP id 57D835E46D3 for ; Fri, 6 Aug 2004 20:18:15 -0300 (ADT) Received: from [64.81.245.111] (HELO temoku.sf.agliodbs.com) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 6012012; Fri, 06 Aug 2004 16:19:34 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Gaetano Mendola Subject: Re: The black art of postgresql.conf tweaking Date: Fri, 6 Aug 2004 16:18:40 -0700 User-Agent: KMail/1.5.4 Cc: Paul Serby , pgsql-performance@postgresql.org References: <4110DA83.7020505@clockltd.com> <200408060929.19840.josh@agliodbs.com> <4113CD75.2060508@bigfoot.com> In-Reply-To: <4113CD75.2060508@bigfoot.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200408061618.40047.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/83 X-Sequence-Number: 7719 Gaetano, > Of course your are speaking about the "worst case", I aplly in scenarios like > this on the rule 80/20: 80% of connection will perform a sort and 20% will allocate > memory for the sort operation in the same window time: Well, I suppose it depends on how aggresive your connection pooling is. If you minimize idle connections, then 300 connections can mean 200 concurrent queries. And since Paul *is* having problems, this is worth looking into. -- -Josh Berkus Aglio Database Solutions San Francisco