pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <robertmhaas@gmail.com>
To: Joel Reymont <joelr1@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: tuning on ec2
Date: Wed, 11 May 2011 23:38:39 -0400
Message-ID: <BANLkTimT+4z2AyNVaeZGD0epk08+eHWnrw@mail.gmail.com> (raw)
In-Reply-To: <229BF7C0-E7AB-43CB-BD7D-B8EECEF60430@gmail.com>
References: <229BF7C0-E7AB-43CB-BD7D-B8EECEF60430@gmail.com>

On Tue, Apr 26, 2011 at 11:15 AM, Joel Reymont <joelr1@gmail.com> wrote:
> I'm running pgsql on an m1.large EC2 instance with 7.5gb available memory.
>
> The free command shows 7gb of free+cached. My understand from the docs is that I should dedicate 1.75gb to shared_buffers (25%) and set effective_cache_size to 7gb.

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.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



view thread (3+ messages)  latest in thread

Message-ID: <BANLkTimT+4z2AyNVaeZGD0epk08+eHWnrw@mail.gmail.com>
Permalink:  ../BANLkTimT+4z2AyNVaeZGD0epk08+eHWnrw@mail.gmail.com/
Also on:    postgresql.org/message-id/BANLkTimT+4z2AyNVaeZGD0epk08+eHWnrw@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: robertmhaas@gmail.com, joelr1@gmail.com
  Subject: Re: tuning on ec2
  In-Reply-To: <BANLkTimT+4z2AyNVaeZGD0epk08+eHWnrw@mail.gmail.com>
  References: <229BF7C0-E7AB-43CB-BD7D-B8EECEF60430@gmail.com> <BANLkTimT+4z2AyNVaeZGD0epk08+eHWnrw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox