Re: Un-clustering an index

From: Alvaro Herrera Munoz <alvherre(at)dcc(dot)uchile(dot)cl>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Un-clustering an index
Date: 2003-05-23 14:09:19
Message-ID: 20030523140919.GA28857@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, May 23, 2003 at 10:28:59AM +0800, Christopher Kings-Lynne wrote:
> It seems to me that there's no way of Unclustering an index once it's
> clustered? ie. You cannot turn off ALL clustering on a table?

Err... no. Why would you want that? If you don't want it clustered,
just don't run CLUSTER on it.

Oh, but it'll still get clustered by CLUSTER ALL. Maybe there should be
a way to set it not to cluster (ALTER TABLE ... NO CLUSTER?)

There's still the catalog modification path (set indisclustered=false),
of course.

--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"No hay hombre que no aspire a la plenitud, es decir,
la suma de experiencias de que un hombre es capaz"

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera Munoz 2003-05-23 14:17:23 Re: Static snapshot data
Previous Message Tom Lane 2003-05-23 13:41:40 Re: problem inserting tuples with access methods