Re: CLUSTER and indisclustered - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: CLUSTER and indisclustered
Date
Msg-id Pine.LNX.4.44.0208082128160.18479-100000@cm-lcon1-46-187.cm.vtr.net
Whole thread Raw
In response to Re: CLUSTER and indisclustered  (Neil Conway <nconway@klamath.dyndns.org>)
Responses Re: CLUSTER and indisclustered  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
Neil Conway dijo: 

> Alvaro Herrera <alvherre@atentus.com> writes:
> > What if I [try to] extend the grammar to support an additional ANALYZE
> > in CLUSTER, so that it analyzes the table automatically?
> 
> I don't like this -- it seems like bloat.

Maybe you are right.


> > Or maybe just do an analyze of the table automatically after the
> > CLUSTERing.
> 
> Hmmm... I don't really see the problem with adding a note in the docs
> suggesting that users following a CLUSTER with an ANALYZE (...).

ANALYZE is an inexpensive operation (compared to CLUSTER, anyway), so it
can't hurt to have it done automatically.

-- 
Alvaro Herrera (<alvherre[a]atentus.com>)
"Linux transformó mi computadora, de una `máquina para hacer cosas',
en un aparato realmente entretenido, sobre el cual cada día aprendo
algo nuevo" (Jaime Salinas)




pgsql-hackers by date:

Previous
From: "J. R. Nield"
Date:
Subject: Re: PITR, checkpoint, and local relations
Next
From: Don Baccus
Date:
Subject: Re: Why is MySQL more chosen over PostgreSQL?