Re: CLUSTER all tables at once? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: CLUSTER all tables at once?
Date
Msg-id 200208141740.g7EHeXR13271@candle.pha.pa.us
Whole thread Raw
In response to Re: CLUSTER all tables at once?  ("Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>)
List pgsql-hackers
Sounds good to me.  TODO updated:
       o Cluster all tables at once using pg_index.indisclustered set during previous CLUSTER

---------------------------------------------------------------------------

Zeugswetter Andreas SB SD wrote:
> 
> > Added to TODO:
> > 
> >     o Cluster all tables at once using pg_index.indisclustered or primary key
> > 
> > > > And what happens with those tables that do not have any such index?
> > > 
> > > Nothing, would be my vote.  You'd just re-CLUSTER all tables that have
> > > been clustered before, the same way they were last clustered.
> 
> I second Tom's opinion. If the table was not clustered before leave it as is.
> 
> Thus the TODO should imho (if at all :-) read:
>     o Cluster all tables at once that have a pg_index.indisclustered
> 
> Andreas
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 

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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Domains and Indexes
Next
From: Tom Lane
Date:
Subject: Re: pg_dump output portability