pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Riess <mlriess@gmx.de>
Cc: pgsql-performance@postgresql.org
Subject: Re: Autovacuum / full vacuum
Date: Tue, 17 Jan 2006 10:13:41 -0500
Message-ID: <28349.1137510821@sss.pgh.pa.us> (raw)
In-Reply-To: <dqigaf$1b98$1@news.hub.org>
References: <dqigaf$1b98$1@news.hub.org>

Michael Riess <mlriess@gmx.de> writes:
> I'm curious as to why autovacuum is not designed to do full vacuum.

Locking considerations.  VACUUM FULL takes an exclusive lock, which
blocks any foreground transactions that want to touch the table ---
so it's really not the sort of thing you want being launched at
unpredictable times.

			regards, tom lane



view thread (39+ messages)  latest in thread

Message-ID: <28349.1137510821@sss.pgh.pa.us>
Permalink:  ../28349.1137510821@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28349.1137510821@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, mlriess@gmx.de
  Subject: Re: Autovacuum / full vacuum
  In-Reply-To: <28349.1137510821@sss.pgh.pa.us>

* 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