pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Martin Marques <martin@bugs.unl.edu.ar>
To: frank church <pgsql@adontendev.net>
To: pgsql-sql@postgresql.org
Subject: Re: Does VACUUM reorder tables on clustered indices
Date: Tue, 20 Dec 2005 15:41:24 -0600
Message-ID: <20051220214124.GR28771@pervasive.com> (raw)
In-Reply-To: <20051218220139.GA1651@surnet.cl>
References: <1134940325.43a5d0a5a882e@webmail.adontendev.net>
	<Pine.LNX.4.61.0512181840350.20029@bugs.unl.edu.ar>
	<20051218220139.GA1651@surnet.cl>

On Sun, Dec 18, 2005 at 07:01:39PM -0300, Alvaro Herrera wrote:
> 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.

It also does a REINDEX...
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (16+ messages)  latest in thread

Message-ID: <20051220214124.GR28771@pervasive.com>
Permalink:  ../20051220214124.GR28771@pervasive.com/
Also on:    postgresql.org/message-id/20051220214124.GR28771@pervasive.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jnasby@pervasive.com, martin@bugs.unl.edu.ar, pgsql@adontendev.net
  Subject: Re: Does VACUUM reorder tables on clustered indices
  In-Reply-To: <20051220214124.GR28771@pervasive.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