Re: CLUSTER all tables at once?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)atentus(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: CLUSTER all tables at once?
Date: 2002-08-14 17:40:33
Message-ID: 200208141740.g7EHeXR13271@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-08-14 17:45:58 Re: pg_dump output portability
Previous Message Bruce Momjian 2002-08-14 17:38:59 Re: Domains and Indexes