Re: CLUSTER all tables at once?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: CLUSTER all tables at once?
Дата
Msg-id 200208141740.g7EHeXR13271@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: CLUSTER all tables at once?  ("Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Domains and Indexes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump output portability