Re: [PERFORM] Memory question on win32 systems - Mailing list pgsql-hackers

From Sam Mason
Subject Re: [PERFORM] Memory question on win32 systems
Date
Msg-id 20080529134532.GC1723@frubble.xen.chris-lamb.co.uk
Whole thread Raw
In response to [PERFORM] Memory question on win32 systems  (Sabbiolina <sabbiolina@gmail.com>)
List pgsql-hackers
On Thu, May 29, 2008 at 01:05:22AM +0200, Sabbiolina wrote:
> I have 4 Gigs of RAM, how do I force Postgres to use a higher part of such
> memory in order to cache more indexes, queries and so on?

PG relies on the operating system to cache most disk accesses.  Looking
at the amount of memory a process directly uses isn't a good measure of
this, a better method would be to watch what the IO subsystem is doing.
If you've got lots of reads happening then the disk isn't being cached.

 Sam


pgsql-hackers by date:

Previous
From: Jorgen Austvik - Sun Norway
Date:
Subject: Re: pg_regress: referencing shared objects from tests
Next
From: Tom Lane
Date:
Subject: Core team statement on replication in PostgreSQL