From: Alvaro Herrera <alvherre@dcc.uchile.cl>
To: Bill Moran <wmoran@potentialtech.com>
Cc: Rick Gigger <rick@alpinenetworking.com>
Cc: gsstark@mit.edu
Cc: pgsql-general@postgresql.org
Subject: Re: VACUUM Question
Date: Fri, 4 Jun 2004 16:38:15 -0400
Message-ID: <20040604203815.GB28030@dcc.uchile.cl> (raw)
In-Reply-To: <20040604154045.14016347.wmoran@potentialtech.com>
References: <40345D0D.9060103@meerkatsoft.com>
<87smdb1k0d.fsf@stark.xeocode.com>
<40C0CE23.6060006@alpinenetworking.com>
<20040604154045.14016347.wmoran@potentialtech.com>
On Fri, Jun 04, 2004 at 03:40:45PM -0400, Bill Moran wrote:
> Rick Gigger <rick@alpinenetworking.com> wrote:
>
> > 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?
>
> The former. You don't shut the database server down, but it won't be
> responsive while vacuum full is running.
But only for the table that's currently being vacuumed: there's only one
table locked at any time.
(A different issue is the IO storm caused by the vacuum, which makes
everything else slower.)
--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"En las profundidades de nuestro inconsciente hay una obsesiva necesidad
de un universo lógico y coherente. Pero el universo real se halla siempre
un paso más allá de la lógica" (Irulan)
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: alvherre@dcc.uchile.cl, wmoran@potentialtech.com, rick@alpinenetworking.com, gsstark@mit.edu
Subject: Re: VACUUM Question
In-Reply-To: <20040604203815.GB28030@dcc.uchile.cl>
References: <40345D0D.9060103@meerkatsoft.com> <87smdb1k0d.fsf@stark.xeocode.com> <40C0CE23.6060006@alpinenetworking.com> <20040604154045.14016347.wmoran@potentialtech.com> <20040604203815.GB28030@dcc.uchile.cl>
* 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