From: Alvaro Herrera <alvherre@commandprompt.com>
To: Martin Marques <martin@bugs.unl.edu.ar>
Cc: frank church <pgsql@adontendev.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Does VACUUM reorder tables on clustered indices
Date: Sun, 18 Dec 2005 19:01:39 -0300
Message-ID: <20051218220139.GA1651@surnet.cl> (raw)
In-Reply-To: <Pine.LNX.4.61.0512181840350.20029@bugs.unl.edu.ar>
References: <1134940325.43a5d0a5a882e@webmail.adontendev.net>
<Pine.LNX.4.61.0512181840350.20029@bugs.unl.edu.ar>
Martin Marques escribió:
> On Sun, 18 Dec 2005, frank church wrote:
>
> >
> >Does VACUUMing reorder tables on clustered indices or is it only the
> >CLUSTER
> >command that can do that?
>
> Cluster does that. Vacuum only cleans dead tuples from the tables.
Note that while reordering, CLUSTER also gets rid of dead tuples, so if
you cluster you don't need to vacuum.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
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-sql@postgresql.org
Cc: alvherre@commandprompt.com, martin@bugs.unl.edu.ar, pgsql@adontendev.net
Subject: Re: Does VACUUM reorder tables on clustered indices
In-Reply-To: <20051218220139.GA1651@surnet.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