pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rick Gigger <rick@alpinenetworking.com>
To: Greg Stark <gsstark@mit.edu>
Cc: pgsql-general@postgresql.org
Subject: Re: VACUUM Question
Date: Fri, 04 Jun 2004 13:31:47 -0600
Message-ID: <40C0CE23.6060006@alpinenetworking.com> (raw)
In-Reply-To: <87smdb1k0d.fsf@stark.xeocode.com>
References: <40345D0D.9060103@meerkatsoft.com>
	<87smdb1k0d.fsf@stark.xeocode.com>

>>One more question; on one server the Vacuum Analyze before the insert takes
>>approx. 2min after that the same command takes 15min.
> 
> 
> You might try a VACUUM FULL sometime when you can deal with 15min of downtime
> or so. Actually it would probably be longer. Perhaps the table that's taking
> 15min has a ton of extra dead tuples left over from the fsm settings being too
> low and/or vacuum being too infrequent.

Does VACUUM FULL just lock entire tables and thus cause you to 
essentially have downtime on that database because it doesn't respond 
quickly or do you actually have to shut down postgres to safely do a 
vacuum full?



view thread (33+ messages)  latest in thread

Message-ID: <40C0CE23.6060006@alpinenetworking.com>
Permalink:  ../40C0CE23.6060006@alpinenetworking.com/
Also on:    postgresql.org/message-id/40C0CE23.6060006@alpinenetworking.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 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-general@postgresql.org
  Cc: rick@alpinenetworking.com, gsstark@mit.edu
  Subject: Re: VACUUM Question
  In-Reply-To: <40C0CE23.6060006@alpinenetworking.com>
  References: <40345D0D.9060103@meerkatsoft.com> <87smdb1k0d.fsf@stark.xeocode.com> <40C0CE23.6060006@alpinenetworking.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