Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 2F0A96329BE for ; Thu, 11 Mar 2010 20:19:51 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 12673-09 for ; Fri, 12 Mar 2010 00:19:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qy0-f185.google.com (mail-qy0-f185.google.com [209.85.221.185]) by mail.postgresql.org (Postfix) with ESMTP id 822E2632793 for ; Thu, 11 Mar 2010 20:19:40 -0400 (AST) Received: by qyk15 with SMTP id 15so662912qyk.10 for ; Thu, 11 Mar 2010 16:19:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=yuW5YPQfeVDTXbIdpMfonbwxAzqykt5Ba/DxUbEkkgg=; b=ojoyrD8OyLWW5GBRDzhmPJutUHNTdLEgyTtCZFHlPBbQRT55y06qycBmDXWmfm1th7 4JAeVrKvsE6EncDV+D+xVmt/Wy6J1fCxl83ih8HrFpe70LgWTVF50eB7j+lIWyfTGP2w KBRdLjzJCoBWTR8NJMvNF/CJLl0yOUKeKjJ/Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=PF1FRjOhjPufb2SjRL0Qg7qO1uXZwkHqeObzzqnUynu7/+N5CniYxCKYxaO+8CASZK qUbeZKcA6faDMonhot60j8EDU1meEjXAxM9O+SapAO3vSWukVCKmAkOnONDPnmBdOyLy BWUCB+eKrHZSXBp+8MRnpHRoOM1CcgNxBAgXA= MIME-Version: 1.0 Received: by 10.224.72.96 with SMTP id l32mr63752qaj.127.1268353179030; Thu, 11 Mar 2010 16:19:39 -0800 (PST) In-Reply-To: <8F346004-F0FB-440F-8627-0F2B8FAE53D9@silentmedia.com> References: <8F346004-F0FB-440F-8627-0F2B8FAE53D9@silentmedia.com> Date: Fri, 12 Mar 2010 11:19:38 +1100 X-Google-Sender-Auth: a221551e79bd8058 Message-ID: Subject: Re: shared_buffers advice From: Paul McGarry To: Ben Chobot Cc: Postgresql Performance list Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/154 X-Sequence-Number: 37979 On 11 March 2010 16:16, Ben Chobot wrote: > I *can* say a 10GB shared_buffer value is working "well" with my 128GB of= RAM..... whether or not it's "optimal," I couldn't say without a lot of ex= perimentation I can't afford to do right now. You might have a look at the = pg_buffercache contrib module. It can tell you how utilized your shared buf= fers are. Thanks Ben and Greg, I shall start with something relatively sane (such as 10GB) and then see how we go from there. Once this server has brought online and bedded in I will be updating our other three servers which are identical in hardware spec and all have the same replicated data so I'll be able to do some real world tests with different settings withn the same load. (Currently one is currently running postgresql 8.1 on 32bit OS under a VM, the other two running 8.3 on 64bit OS with 64gig of memory but with Postgres still tuned for the 8 gigs the servers originally had and under a VM). Paul