pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
un-CLUSTER?
3+ messages / 3 participants
[nested] [flat]

* un-CLUSTER?
@ 2004-02-26 20:10  Jeff Boes <jboes@nexcerpt.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Jeff Boes @ 2004-02-26 20:10 UTC (permalink / raw)
  To: pgsql-admin

Is there a way to turn off the CLUSTER setting for a table?

I did a "CLUSTER index ON table" for a number of tables. Now I want to 
do a raw CLUSTER command across the whole database, but I'd really like 
to turn off the CLUSTER setting for one of the tables (because it takes 
too long). I don't see anything that will allow me to do that (other 
than dropping and recreating the table).

-- 
Jeff Boes                                      vox 269.226.9550 ext 24
Database Engineer                                     fax 269.349.9076
Nexcerpt, Inc.                                 http://www.nexcerpt.com
            ...Nexcerpt... Extend your Expertise



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: un-CLUSTER?
@ 2004-02-26 22:34  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Jeff Boes <jboes@nexcerpt.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2004-02-26 22:34 UTC (permalink / raw)
  To: Jeff Boes <jboes@nexcerpt.com>; +Cc: pgsql-admin

Jeff Boes <jboes@nexcerpt.com> writes:
> Is there a way to turn off the CLUSTER setting for a table?

I think you'd just have to reach in and turn off the indisclustered
(sp?) flag in the appropriate row of pg_index.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: un-CLUSTER?
@ 2004-03-03 05:16  Bruce Momjian <pgman@candle.pha.pa.us>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Bruce Momjian @ 2004-03-03 05:16 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Jeff Boes <jboes@nexcerpt.com>; pgsql-admin

Tom Lane wrote:
> Jeff Boes <jboes@nexcerpt.com> writes:
> > Is there a way to turn off the CLUSTER setting for a table?
> 
> I think you'd just have to reach in and turn off the indisclustered
> (sp?) flag in the appropriate row of pg_index.

Added to TODO:
	
	Add way to remove cluster specification on a table

-- 
  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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2004-03-03 05:16 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-02-26 20:10 un-CLUSTER? Jeff Boes <jboes@nexcerpt.com>
2004-02-26 22:34 ` Tom Lane <tgl@sss.pgh.pa.us>
2004-03-03 05:16   ` Bruce Momjian <pgman@candle.pha.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox