Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id C32119FB1CC for ; Mon, 27 Nov 2006 03:24:08 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 72739-02 for ; Mon, 27 Nov 2006 03:24:00 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.clickspace.com (torch1.clickspace.com [207.148.169.68]) by postgresql.org (Postfix) with ESMTP id D9F7B9FA5FE for ; Mon, 27 Nov 2006 03:23:59 -0400 (AST) Received: from [IPv6:::1] ([192.168.0.48]) (authenticated user brian@clickspace.com) by mail.clickspace.com (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits)); Mon, 27 Nov 2006 00:23:50 -0700 In-Reply-To: <20061126232523.GD39519@nasby.net> References: <82E59D2F-0946-4405-8F11-4CF5184A9399@fastcrypt.com> <412.1163874633@sss.pgh.pa.us> <817D9C4C-05F0-45FB-9D63-B63CFE2C009E@clickspace.com> <20061126232523.GD39519@nasby.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <6ADBFE12-7A0D-4809-87CD-1F68755A8AD5@clickspace.com> Cc: Tom Lane , Dave Cramer , pgsql-performance@postgresql.org, Guido Neitzer Content-Transfer-Encoding: 7bit From: Brian Wipf Subject: Re: shared_buffers > 284263 on OS X Date: Mon, 27 Nov 2006 07:23:47 +0000 To: Jim C. Nasby X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/237 X-Sequence-Number: 22007 On 26-Nov-06, at 11:25 PM, Jim C. Nasby wrote: > On Sat, Nov 18, 2006 at 08:13:26PM -0700, Brian Wipf wrote: >> It certainly is unfortunate if Guido's right and this is an upper >> limit for OS X. The performance benefit of having high shared_buffers >> on our mostly read database is remarkable. > > Got any data about that you can share? People have been wondering > about > cases where drastically increasing shared_buffers makes a difference. Unfortunately, there are more differences than just the shared_buffers setting in production right now; it's a completely different set up, so the numbers I have to compare against aren't particularly useful. When I get the chance, I will try to post data that shows the benefit of having a higher value of shared_buffers for our usage pattern (with all other settings being constant -- well, except maybe effective_cache_size). Basically, in our current configuration, we can cache all of the data we care about 99% of the time in about 3GB of shared_buffers. Having shared_buffers set to 512MB as it was originally, we were needlessly going to disk all of the time. Brian Wipf