Re: Does VACUUM reorder tables on clustered indices - Mailing list pgsql-sql

From Alvaro Herrera
Subject Re: Does VACUUM reorder tables on clustered indices
Date
Msg-id 20051218220139.GA1651@surnet.cl
Whole thread Raw
In response to Re: Does VACUUM reorder tables on clustered indices  (Martin Marques <martin@bugs.unl.edu.ar>)
Responses Re: Does VACUUM reorder tables on clustered indices  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Does VACUUM reorder tables on clustered indices  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-sql
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.


pgsql-sql by date:

Previous
From: Martin Marques
Date:
Subject: Re: Does VACUUM reorder tables on clustered indices
Next
From: Michael Fuhr
Date:
Subject: Re: Need SQL Help Finding Current Status of members