From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Gaetano Mendola <mendola@bigfoot.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Vacuum full on a big table
Date: Thu, 17 Mar 2005 15:20:22 -0600
Message-ID: <1111094421.28555.244.camel@state.g2switchworks.com> (raw)
In-Reply-To: <4239F22C.4040401@bigfoot.com>
References: <4239F22C.4040401@bigfoot.com>
On Thu, 2005-03-17 at 15:10, Gaetano Mendola wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
> is there a way to vacuum full a table but working only
> a part of the table ? I have a table with 6 milion rows
> and vacuum full it will send out of line for hours my
> server, so I'll like to vacuum that table multiple times
> in order to not block that table for a long period.
>
> It will work decresing the FSM settings ?
Vacuum full doesn't use fsm, lazy vacuum does (i.e. plain vacuum). Is
there a reason you're doing a full vacuum? Like you forgot to vacuum
for a while and now it needs it? If not, then a full vacuum is
generally not necessary, and you're better off with regular vacuum and
large enough fsm settings. Use vacuum analyze to see if you need to
increase them.
and no, you can't vacuum parts at a time. it's all or nothing.
(*Unless that changes in 8.0...*)
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-admin@postgresql.org
Cc: smarlowe@g2switchworks.com, mendola@bigfoot.com
Subject: Re: Vacuum full on a big table
In-Reply-To: <1111094421.28555.244.camel@state.g2switchworks.com>
References: <4239F22C.4040401@bigfoot.com> <1111094421.28555.244.camel@state.g2switchworks.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