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 ACDEA329CB0 for ; Thu, 23 Sep 2004 18:45:06 +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 14728-04 for ; Thu, 23 Sep 2004 17:44:47 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id A06FD329C83 for ; Thu, 23 Sep 2004 18:44:47 +0100 (BST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i8NHijfg016312 for ; Thu, 23 Sep 2004 17:44:45 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i8NHec3g015018 for pgsql-performance@postgresql.org; Thu, 23 Sep 2004 17:40:38 GMT From: Gaetano Mendola X-Newsgroups: comp.databases.postgresql.performance Subject: Re: Caching of Queries Date: Thu, 23 Sep 2004 19:40:32 +0200 Organization: PYRENET Midi-pyrenees Provider Lines: 20 Message-ID: <41530A90.1030702@bigfoot.com> References: <27437.1095959132@sss.pgh.pa.us> <200409231722.i8NHMZaX014707@ms-smtp-02.nyroc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@pyrenet.fr To: Jason Coene User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en In-Reply-To: <200409231722.i8NHMZaX014707@ms-smtp-02.nyroc.rr.com> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime To: pgsql-performance@postgresql.org 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/249 X-Sequence-Number: 8377 Jason Coene wrote: > Hi Tom, > > Easily recreated with Apache benchmark, "ab -n 30000 -c 3000 > http://webserver ". This runs 1 query per page, everything else is cached > on webserver. That test require 30000 access with 3000 connections that is not a normal load. Describe us your HW. 3000 connections means a very huge load, may you provide also the result of "vmstat 5" my webserver trash already with -c 120 ! how many connection your postgres can manage ? You have to consider to use a connection pool with that ammount of connections. Regards Gaetano Mendola