Re: Table maintenance: order of operations important?

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Table maintenance: order of operations important?
Date: 2004-05-20 18:53:51
Message-ID: 40ACFEBF.7000406@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Tom Lane wrote:

> Jeff Boes <mur(at)qtm(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message tatel 2004-05-20 19:00:34 tcpip_socket=false and psql is working?
Previous Message Kris Kiger 2004-05-20 18:30:53 Clustering Postgres