pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Michael Monnerie <michael.monnerie@is.it-management.at>
Cc: pgsql-admin@postgresql.org
Subject: Re: reindexdb dying with SIGPIPE on 8.2.5
Date: Fri, 19 Dec 2008 00:09:59 -0300
Message-ID: <20081219030959.GM5447@alvh.no-ip.org> (raw)
In-Reply-To: <200812190311.58087@zmi.at>
References: <1218035421.19154.24.camel@oberschatzi.cff>
	<200812171010.53114@zmi.at>
	<494A029A.5090503@lelarge.info>
	<200812190311.58087@zmi.at>

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.



view thread (9+ messages)  latest in thread

Message-ID: <20081219030959.GM5447@alvh.no-ip.org>
Permalink:  ../20081219030959.GM5447@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20081219030959.GM5447@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alvherre@commandprompt.com, michael.monnerie@is.it-management.at
  Subject: Re: reindexdb dying with SIGPIPE on 8.2.5
  In-Reply-To: <20081219030959.GM5447@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox