Vacuum, reindex, cluster, in propper order ? - Mailing list pgsql-general

From NTPT
Subject Vacuum, reindex, cluster, in propper order ?
Date
Msg-id 004801c45324$8adcc9f0$74beebd5@wbp1
Whole thread Raw
List pgsql-general
Hi. I need to  do some routine maintance task drived by crontab. It  is vacuuming, reindexing an clustering for faster access.
 
 
 So I need to ask, what order of  commands is correct for best performance and low maintance window  ?  I do not found any word of it in the documentation. i use pg 7.3.2 
 
 
1: vacuuum full analyze
2: reindex table foo (and other tables)
3: cluster table foo (and other tables) on indexname 
4:  vacuum analyze
 
thanx for help
 
 

pgsql-general by date:

Previous
From: Adam Smith
Date:
Subject: Re: Installation problem - mutex_lock/unlock or libpq.so ?
Next
From: Vams
Date:
Subject: plpgsql - Inserting DEFAULT Value.