From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql-server/src/backend/commands cluster.c |
Date: | 2002-11-04 02:34:51 |
Message-ID: | 200211040234.gA42Yqk04066@candle.pha.pa.us |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Tom Lane wrote:
> Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> writes:
> > On Sat, Nov 02, 2002 at 04:20:47PM -0500, Tom Lane wrote:
> >> During swap_relfilenodes, swap relation size statistic fields along with
> >> the relfilenode and toast fields. This ensures that the newly-computed
> >> statistics will be available on completion of CLUSTER.
>
> > I haven't seen the change, but does this mean that ANALYZE is no longer
> > needed right after CLUSTER?
>
> If the pg_statistic entries were already good, then you shouldn't need
> an ANALYZE, no.
The CLUSTER manual page recommends a analyze to update the clustered
nature of the table. Is that still needed?
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-11-04 02:42:43 | Re: pgsql-server/src/backend/commands cluster.c |
Previous Message | Christopher Kings-Lynne | 2002-11-04 02:32:52 | Re: pgsql-server/src/bin/psql print.c |