Re: pgsql-server/src/backend/commands cluster.c - Mailing list pgsql-committers

From Bruce Momjian
Subject Re: pgsql-server/src/backend/commands cluster.c
Date
Msg-id 200211040234.gA42Yqk04066@candle.pha.pa.us
Whole thread Raw
In response to Re: pgsql-server/src/backend/commands cluster.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql-server/src/backend/commands cluster.c  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
Tom Lane wrote:
> Alvaro Herrera <alvherre@dcc.uchile.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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-committers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: pgsql-server/src/bin/psql print.c
Next
From: Tom Lane
Date:
Subject: Re: pgsql-server/src/backend/commands cluster.c