Re: Kernel cache vs shared_buffers

From: "Harald Armin Massa" <haraldarminmassa(at)gmail(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Kernel cache vs shared_buffers
Date: 2007-05-13 08:39:36
Message-ID: 7be3f35d0705130139o218a2a38l6471d6c8aeb1c71f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> A common rule of thumb people quote here is to set shared_buffers to 1/4
> of available RAM, and leave the rest for OS cache. That's probably a
> good configuration to start with.
>

And just for the record: This rule of thumb does NOT apply to
PostgreSQL on Windows. My current rule of thumb on Windows: set
shared_buffers to minimum * 2
Adjust effective_cache_size to the number given as "system cache"
within the task manager.

Harald

--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Reinsburgstraße 202b
70197 Stuttgart
0173/9409607
fx 01212-5-13695179
-
Python: the only language with more web frameworks than keywords.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Heikki Linnakangas 2007-05-13 09:41:34 Re: Kernel cache vs shared_buffers
Previous Message Andrew McMillan 2007-05-13 06:34:20 Re: Best OS for Postgres 8.2