Re: "vacuum" and "cluster"

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Jimmy Choi <yhjchoi(at)gmail(dot)com>
Cc: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>, pgsql-general(at)postgresql(dot)org
Subject: Re: "vacuum" and "cluster"
Date: 2008-04-16 19:27:33
Message-ID: 20080416192733.GC7942@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jimmy Choi escribió:
> Presumably, even if CLUSTER does reindexing internally, it only does
> that for the index used for clustering. Since REINDEX includes all
> indices, CLUSTER cannot truly replace REINDEX. Correct?

No. Cluster rewrites all indexes (otherwise their entries would end up
pointing to incorrect places in the heap.)

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2008-04-16 19:40:45 Re: Storage sizes for dates/times (documentation bug?)
Previous Message David Wilson 2008-04-16 19:27:24 Re: table as log (multiple writers and readers)