Re: tuning on ec2 - Mailing list pgsql-general

From Scott Marlowe
Subject Re: tuning on ec2
Date
Msg-id BANLkTin-VtvxGr6bW1OvNmZaTW4CQXYQaQ@mail.gmail.com
Whole thread Raw
In response to tuning on ec2  (Joel Reymont <joelr1@gmail.com>)
Responses Re: tuning on ec2
List pgsql-general
On Tue, Apr 26, 2011 at 8:59 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. 
>
> Is this correct? I'm running 64-bit Ubuntu 10.10, e.g.

It's a reasonable start.  However, if you consistently using less than
that in aggregate then lowering it is fine.  What's your work_mem and
max_connections set to?

pgsql-general by date:

Previous
From: Joel Reymont
Date:
Subject: tuning on ec2
Next
From: Joel Reymont
Date:
Subject: Re: tuning on ec2