pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: ipv@tinet.org
Cc: pgsql-sql@postgresql.org
Subject: Re: Does VACUUM reorder tables on clustered indices
Date: Tue, 20 Dec 2005 18:33:39 -0600
Message-ID: <20051221003339.GB72143@pervasive.com> (raw)
In-Reply-To: <00e001c605bd$e23ca1a0$0600000a@d505>
References: <1134940325.43a5d0a5a882e@webmail.adontendev.net>
	<Pine.LNX.4.61.0512181840350.20029@bugs.unl.edu.ar>
	<20051218220139.GA1651@surnet.cl>
	<20051220214124.GR28771@pervasive.com>
	<00e001c605bd$e23ca1a0$0600000a@d505>

On Wed, Dec 21, 2005 at 12:34:12AM +0100, ipv@tinet.org wrote:
> Hi,
> 
> Utilize <b>CLUSTER;</b> (after vacuum) to reorder the data.

Why would you vacuum when cluster is just going to wipe out the dead
tuples anyway?

> >>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: <20051221003339.GB72143@pervasive.com>
Permalink:  ../20051221003339.GB72143@pervasive.com/
Also on:    postgresql.org/message-id/20051221003339.GB72143@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, ipv@tinet.org
  Subject: Re: Does VACUUM reorder tables on clustered indices
  In-Reply-To: <20051221003339.GB72143@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