pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: Table maintenance: order of operations important?
Date: Thu, 20 May 2004 20:53:51 +0200
Message-ID: <40ACFEBF.7000406@bigfoot.com> (raw)
In-Reply-To: <3030.1085075532@sss.pgh.pa.us>
References: <fe92d61c6c9a3eea2baa0b200ea5572f@news.teranews.com>
	<3030.1085075532@sss.pgh.pa.us>

Tom Lane wrote:

> Jeff Boes <mur@qtm.net> writes:
> 
>>   DELETE FROM foo WHERE date_expires < now();
>>   VACUUM ANALYZE foo;
>>   CLUSTER foo;
>>   REINDEX TABLE foo;
> 
> 
>>How would you choose to order these (under 7.4.x) for fastest 
>>turn-around? Does it matter?
> 
> 
> If you are going to CLUSTER then the VACUUM and the REINDEX are both
> utterly redundant.

Without cluster with 7.4.2 a REINDEX is redundant after a VACUUM FULL ?



Regards
Gaetano Mendola





view thread (3+ messages)

Message-ID: <40ACFEBF.7000406@bigfoot.com>
Permalink:  ../40ACFEBF.7000406@bigfoot.com/
Also on:    postgresql.org/message-id/40ACFEBF.7000406@bigfoot.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mendola@bigfoot.com, tgl@sss.pgh.pa.us
  Subject: Re: Table maintenance: order of operations important?
  In-Reply-To: <40ACFEBF.7000406@bigfoot.com>
  References: <fe92d61c6c9a3eea2baa0b200ea5572f@news.teranews.com> <3030.1085075532@sss.pgh.pa.us> <40ACFEBF.7000406@bigfoot.com>

* 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