Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group