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

Which Order Vacuum Full Analyze Cluster Reindex?

From: "borajetta" <borajetta(at)hotmail(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Which Order Vacuum Full Analyze Cluster Reindex?
Date: 2004-08-27 18:40:53
Message-ID: (view raw or whole thread)
Lists: pgsql-general
I am trying to firgure out what the best order is?

I was thinking 

Vacuum Full table;
Cluster table;
Analyze table;

I belive the vacuum full should be done first as it will remove the rows where no data exits so that when it is clustered it will be a perfect table, then analyze to build the info for the table.

Also where should the reindex's come in and should they be done?


pgsql-general by date

Next:From: Tom LaneDate: 2004-08-27 18:43:45
Subject: Re: performance of IN (subquery)
Previous:From: Tom LaneDate: 2004-08-27 18:25:05
Subject: Re: Strange difference in query execution time

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