pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Creager <Robert_Creager@LogicalChaos.org>
To: pgsql-bugs@postgresql.org
Subject: Re: db growing out of proportion
Date: Fri, 30 May 2003 21:21:01 -0600
Message-ID: <20030530212101.37cef86f.Robert_Creager@LogicalChaos.org> (raw)
In-Reply-To: <8938.1054300299@sss.pgh.pa.us>
References: <Pine.LNX.4.44.0305301012040.22127-100000@RedDragon.Childs>
	<8938.1054300299@sss.pgh.pa.us>

On Fri, 30 May 2003 09:11:39 -0400
Tom Lane <tgl@sss.pgh.pa.us> said something like:

> 
> Also note that no amount of vacuuming will save you if the FSM is not
> large enough to keep track of all the free space.  The default FSM
> settings, like all the other default settings in Postgres, are set up
> for a small installation.  You'd probably need to raise them by at least
> a factor of 10 for this installation.
> 

Tom,

Thanks for the hint.  I just upped my shared_buffers to 8192, fsm_relations to 10000, fsm_pages to 100000, sort_mem to 64000, and an UPDATE which was taking over 2 hours dropped down to  1 to 2 minutes!

Nice...

Thanks,
Rob

view thread (15+ messages)  latest in thread

Message-ID: <20030530212101.37cef86f.Robert_Creager@LogicalChaos.org>
Permalink:  ../20030530212101.37cef86f.Robert_Creager@LogicalChaos.org/
Also on:    postgresql.org/message-id/20030530212101.37cef86f.Robert_Creager@LogicalChaos.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: Robert_Creager@LogicalChaos.org, pgsql-bugs@postgresql.org
  Subject: Re: db growing out of proportion
  In-Reply-To: <20030530212101.37cef86f.Robert_Creager@LogicalChaos.org>
  References: <Pine.LNX.4.44.0305301012040.22127-100000@RedDragon.Childs> <8938.1054300299@sss.pgh.pa.us> <20030530212101.37cef86f.Robert_Creager@LogicalChaos.org>

* 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