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 7E6CE329D28 for ; Thu, 23 Sep 2004 19:57:52 +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 37857-06 for ; Thu, 23 Sep 2004 18:57:40 +0000 (GMT) Received: from davinci.ethosmedia.com (server226.ethosmedia.com [209.128.84.226]) by svr1.postgresql.org (Postfix) with ESMTP id 83A45329C83 for ; Thu, 23 Sep 2004 19:57:40 +0100 (BST) Received: from [63.195.55.98] (account josh@agliodbs.com HELO spooky) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 6398302; Thu, 23 Sep 2004 11:58:37 -0700 From: Josh Berkus Organization: Aglio Database Solutions To: Tom Lane Subject: Re: Caching of Queries Date: Thu, 23 Sep 2004 11:56:31 -0700 User-Agent: KMail/1.6.2 Cc: "Jason Coene" , "'Mr Pink'" , "'Scott Kirkwood'" , pgsql-performance@postgresql.org References: <200409231722.i8NHMZaX014707@ms-smtp-02.nyroc.rr.com> <27750.1095960947@sss.pgh.pa.us> In-Reply-To: <27750.1095960947@sss.pgh.pa.us> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200409231156.31450.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: 200409/252 X-Sequence-Number: 8380 Tom, > I think you are probably looking at the same problem previously reported > by Josh Berkus among others. Does the rate of context swaps shown by > vmstat go through the roof when this happens? If you strace or ktrace > one of the backends, do you see lots of semop()s and little else? That would be interesting. Previously we've only demonstrated the problem on long-running queries, but I suppose it could also affect massive concurrent query access. -- Josh Berkus Aglio Database Solutions San Francisco