Re: shared_buffer advice

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: AI Rumman <rummandba(at)gmail(dot)com>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: shared_buffer advice
Date: 2010-06-14 08:54:12
Message-ID: AANLkTin67HA-9fGSs1XhGoq7ZaR7xxetGRK8uqPs1yag@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Jun 14, 2010 at 1:36 AM, AI Rumman <rummandba(at)gmail(dot)com> wrote:
> I have a server with Dual-Core 4 cpu and 32 GB RAM.
> This is the database server. Only Postgresql 8.1 is running on it with
> multiple databases.
>
> How should I plan for shared_buffers and effective cache size?
> Any idea please.

Note that effective cache size is way simpler. Add up the size of the
kernel cache and shared_buffers, set it to that if db is the only
thing on the machine. If it shares it then maybe cut it down a bit.
It's not a real sensitive setting to a few gigabytes here or there,
and allocates nothing, just helps the planner decide teh % chance
something is in cache or not.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2010-06-14 08:57:46 Re: Re: Error on Windows server could not open relation base/xxx/xxx Permission denied
Previous Message Magnus Hagander 2010-06-14 08:35:58 Re: Re: Error on Windows server could not open relation base/xxx/xxx Permission denied