Re: tuning on ec2

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Joel Reymont <joelr1(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: tuning on ec2
Date: 2011-05-12 03:38:39
Message-ID: BANLkTimT+4z2AyNVaeZGD0epk08+eHWnrw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, Apr 26, 2011 at 11:15 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.

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message David Boreham 2011-05-12 04:25:45 Re: Postgres refusing to use >1 core
Previous Message Robert Haas 2011-05-12 03:36:19 Re: Checkpoint execution overrun impact?