Re: reindexdb dying with SIGPIPE on 8.2.5 - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: reindexdb dying with SIGPIPE on 8.2.5
Date
Msg-id 20081219030959.GM5447@alvh.no-ip.org
Whole thread Raw
In response to Re: reindexdb dying with SIGPIPE on 8.2.5  (Michael Monnerie <michael.monnerie@is.it-management.at>)
Responses Re: reindexdb dying with SIGPIPE on 8.2.5  (Michael Monnerie <michael.monnerie@is.it-management.at>)
List pgsql-admin
Michael Monnerie wrote:
> On Donnerstag 18 Dezember 2008 Guillaume Lelarge wrote:
> > You should do a VACUUM and then a REINDEX.
>
> Thank you. And as I just learned about CLUSTER... would the correct
> order be CLUSTER, VACUUM, REINDEX ? I guess so, as CLUSTER helps a lot
> with cleaning up already, so there's less work for VACUUM/REINDEX.
> Right?

You don't need to vacuum or reindex after a cluster; it removes all dead
rows (except those that vacuum won't remove anyway)

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-admin by date:

Previous
From: Michael Monnerie
Date:
Subject: Re: reindexdb dying with SIGPIPE on 8.2.5
Next
From: Laszlo Nagy
Date:
Subject: Re: rebellious pg stats collector (reopened case)