From: | "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com> |
---|---|
To: | Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>, frank church <pgsql(at)adontendev(dot)net>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Does VACUUM reorder tables on clustered indices |
Date: | 2005-12-20 21:41:24 |
Message-ID: | 20051220214124.GR28771@pervasive.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-sql |
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(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-12-20 22:16:07 | Re: horology regression test failure |
Previous Message | Hans-Jürgen Schönig | 2005-12-20 21:40:52 | status of concurrent VACUUM patch ... |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-12-20 23:31:15 | Re: Performance of a view |
Previous Message | Tom Lane | 2005-12-20 15:07:39 | Re: Sub-query as function argument |