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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server/src/backend/commands cluster.c
Date: 2002-11-04 01:59:36
Message-ID: 25280.1036375176@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2002-11-04 02:04:28 Re: pgsql-server/src/bin/psql print.c
Previous Message Christopher Kings-Lynne 2002-11-04 01:58:30 Re: pgsql-server/src/bin/psql print.c