pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Jack Coates <jack@lyris.com>
To: josh@agliodbs.com
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: tuning questions
Date: Thu, 4 Dec 2003 20:27:22 +0000
Message-ID: <200312042027.22223.dev@archonet.com> (raw)
In-Reply-To: <1070567455.13923.83.camel@cletus.lyris.com>
References: <1070553983.6498.52.camel@cletus.lyris.com>
	<200312041120.21124.josh@agliodbs.com>
	<1070567455.13923.83.camel@cletus.lyris.com>

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



view thread (32+ messages)  latest in thread

Message-ID: <200312042027.22223.dev@archonet.com>
Permalink:  ../200312042027.22223.dev@archonet.com/
Also on:    postgresql.org/message-id/200312042027.22223.dev@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dev@archonet.com, jack@lyris.com, josh@agliodbs.com
  Subject: Re: tuning questions
  In-Reply-To: <200312042027.22223.dev@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox