Re: tuning on ec2

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Joel Reymont <joelr1(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: tuning on ec2
Date: 2011-04-26 15:31:33
Message-ID: BANLkTin-VtvxGr6bW1OvNmZaTW4CQXYQaQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Apr 26, 2011 at 8:59 AM, Joel Reymont <joelr1(at)gmail(dot)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?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joel Reymont 2011-04-26 15:34:32 Re: tuning on ec2
Previous Message Joel Reymont 2011-04-26 14:59:33 tuning on ec2