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 A9AD7329E3C for ; Fri, 24 Sep 2004 03:01:14 +0100 (BST) 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 57665-07 for ; Fri, 24 Sep 2004 02:00:59 +0000 (GMT) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by svr1.postgresql.org (Postfix) with ESMTP id B7008329E4B for ; Fri, 24 Sep 2004 03:01:01 +0100 (BST) Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mail1.panix.com (Postfix) with ESMTP id 84DA748703; Thu, 23 Sep 2004 22:00:59 -0400 (EDT) Received: (from adler@localhost) by panix2.panix.com (8.11.6p2-a/8.8.8/PanixN1.1) id i8O20xN02483; Thu, 23 Sep 2004 22:00:59 -0400 (EDT) Date: Thu, 23 Sep 2004 22:00:59 -0400 From: Michael Adler To: Jason Coene Cc: "'Josh Berkus'" , pgsql-performance@postgresql.org, mendola@bigfoot.com, tgl@sss.pgh.pa.us Subject: Re: Caching of Queries (now with pgpool) Message-ID: <20040924020058.GA11703@pobox.com> References: <200409240123.i8O1NmaX011755@ms-smtp-02.nyroc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200409240123.i8O1NmaX011755@ms-smtp-02.nyroc.rr.com> User-Agent: Mutt/1.4.2.1i 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: 200409/265 X-Sequence-Number: 8393 On Thu, Sep 23, 2004 at 09:23:51PM -0400, Jason Coene wrote: > I ran some previous queries to get pgpool to pre-establish all the > connections, and ab ran for a few minutes (with one query per page, eek!). > It was still exhibiting the same problems as before. While so many new > connections at once can surely make the problem worse (and pgpool will > surely help there), shouldn't this prove that it's not the only issue? > Any ideas? Now that your connections are persistent, you may benefit from using PREPAREd queries. -Mike