Re: tuning questions

Richard Huxton <dev@archonet.com>

From: Richard Huxton <dev@archonet.com>
To: Jack Coates <jack@lyris.com>, josh@agliodbs.com
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Date: 2003-12-04T20:27:22Z
Lists: pgsql-hackers, pgsql-performance
On Thursday 04 December 2003 19:50, Jack Coates wrote:
>
> I'm trying to set Postgres's shared memory usage in a fashion that
> allows it to return requested results quickly. Unfortunately, none of
> these changes allow PG to use more than a little under 300M RAM.
> vacuumdb --analyze is now taking an inordinate amount of time as well
> (40 minutes and counting), so that change needs to be rolled back.

You don't want PG to use all your RAM, it's designed to let the underlying OS 
do a lot of caching for it. Probably worth having a look at vmstat/iostat and 
see if it's saturating on I/O.

-- 
  Richard Huxton
  Archonet Ltd