Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id F189AB5DBB7 for ; Thu, 12 May 2011 21:10:19 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 99891-02 for ; Fri, 13 May 2011 00:10:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp-1.01.com (smtp-1.01.com [38.102.63.180]) by mail.postgresql.org (Postfix) with ESMTP id 6DA0BB5D94C for ; Thu, 12 May 2011 21:10:12 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-1.01.com (Postfix) with ESMTP id 79CBD364201 for ; Thu, 12 May 2011 19:10:12 -0500 (CDT) Received: from smtp-1.01.com ([127.0.0.1]) by localhost (smtp-1.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R6CsZmd6AG4w for ; Thu, 12 May 2011 19:10:12 -0500 (CDT) Received: by smtp-1.01.com (Postfix, from userid 99) id 5D91A364200; Thu, 12 May 2011 19:10:12 -0500 (CDT) Received: from Sidney-Stratton.local (70-36-143-243.dsl.dynamic.sonic.net [70.36.143.243]) by smtp-1.01.com (Postfix) with ESMTPSA id 28F2A364201 for ; Thu, 12 May 2011 19:10:12 -0500 (CDT) Message-ID: <4DCC76E3.2080204@agliodbs.com> Date: Thu, 12 May 2011 17:10:11 -0700 From: Josh Berkus Organization: PostgreSQL Experts Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: tuning on ec2 References: <229BF7C0-E7AB-43CB-BD7D-B8EECEF60430@gmail.com> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201105/196 X-Sequence-Number: 43705 > Sounds like a reasonable starting point. You could certainly fiddle > around a bit - especially with shared_buffers - to see if some other > setting works better, but that should be in the ballpark. I tend to set it a bit higher on EC2 to discourage the VM from overcommitting memory I need. So, I'd do 2.5GB for that one. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com