X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 08CB09FB2F9 for ; Wed, 9 Aug 2006 18:28:11 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 77583-07 for ; Wed, 9 Aug 2006 21:28:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 774939FB2F8 for ; Wed, 9 Aug 2006 18:28:07 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 882AF56437; Wed, 9 Aug 2006 16:28:05 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Wed, 9 Aug 2006 16:28:04 -0500 Date: Wed, 9 Aug 2006 16:28:04 -0500 From: "Jim C. Nasby" To: Christopher Browne Cc: pgsql-performance@postgresql.org Subject: Re: shared_buffer optimization Message-ID: <20060809212804.GU40481@pervasive.com> References: <44D86A00.90106@rentalia.com> <87u04nv2q6.fsf@wolfe.cbbrowne.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87u04nv2q6.fsf@wolfe.cbbrowne.com> X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060809:cbbrowne@acm.org::Y7rCP3hnDROzrHGa:041La X-Hashcash: 1:20:060809:pgsql-performance@postgresql.org::BZ73PPnBs2x5eO0x:00000 0000000000000000000000004OUr X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200608/164 X-Sequence-Number: 20349 On Tue, Aug 08, 2006 at 08:20:01AM -0400, Christopher Browne wrote: > I'm not aware of any actual evidence having emerged that it is of any > value to set shared buffers higher than 10000. http://flightaware.com They saw a large increase in how many concurrent connections they could handle when they bumped shared_buffers up from ~10% to 50% of memory. Back then they had 4G of memory. They're up to 12G right now, but haven't bumped shared_buffers up. Every single piece of advice I've seen on shared_buffers comes from the 7.x era, when our buffer management was extremely simplistic. IMO all of that knowledge was made obsolete when 8.0 came out, and our handling of shared_buffers has improved ever further since then. This is definately an area that could use a lot more testing. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461