pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Nick Urbanik <nicku@nicku.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: How overcome wait for vacuum full?
Date: Tue, 15 May 2007 21:12:52 -0400
Message-ID: <20070516011252.GW12731@alvh.no-ip.org> (raw)
In-Reply-To: <20070515231616.GH5264@nicku.org>
References: <20070515221356.GG5264@nicku.org>
	<20070515225313.GV12731@alvh.no-ip.org>
	<20070515231616.GH5264@nicku.org>

Nick Urbanik wrote:
> Thank you Alvaro,
> 
> On 15/05/07 18:53 -0400, Alvaro Herrera wrote:
> >Instead of waiting a month for the time when you can take the
> >application offline (thus accumulating a month's worth of dead tuples),
> >run a non-full vacuum more often (say, once a day or more).  It doesn't
> >lock the table so the app can continue to be online while it runs.
> 
> Yes, it is vacuumed non-full regularly.  However, for some reason,
> only a full vacuum will recover the space.

You probably need to better configure the FSM settings.  See
fsm_max_pages in the docs.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.



view thread (12+ messages)  latest in thread

Message-ID: <20070516011252.GW12731@alvh.no-ip.org>
Permalink:  ../20070516011252.GW12731@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20070516011252.GW12731@alvh.no-ip.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alvherre@commandprompt.com, nicku@nicku.org
  Subject: Re: How overcome wait for vacuum full?
  In-Reply-To: <20070516011252.GW12731@alvh.no-ip.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