Re: tuning questions - Mailing list pgsql-performance

From Richard Huxton
Subject Re: tuning questions
Date
Msg-id 200312042027.22223.dev@archonet.com
Whole thread Raw
In response to Re: tuning questions  (Jack Coates <jack@lyris.com>)
List 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

pgsql-performance by date:

Previous
From: William Yu
Date:
Subject: Re: Slow UPADTE, compared to INSERT
Next
From: Richard Huxton
Date:
Subject: Re: Slow UPADTE, compared to INSERT