Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 8937E47603A for ; Tue, 5 Nov 2002 21:02:20 -0500 (EST) Received: from new-smtp1.ihug.com.au (new-smtp1.ihug.com.au [203.109.250.27]) by postgresql.org (Postfix) with ESMTP id D7B8F476022 for ; Tue, 5 Nov 2002 21:02:19 -0500 (EST) Received: from p709-tnt1.mel.ihug.com.au (postgresql.org) [203.173.162.201] by new-smtp1.ihug.com.au with esmtp (Exim 3.22 #1 (Debian)) id 189FWQ-00067i-00; Wed, 06 Nov 2002 13:02:22 +1100 Message-ID: <3DC8782B.A7979D94@postgresql.org> Date: Wed, 06 Nov 2002 13:02:19 +1100 From: Justin Clift X-Mailer: Mozilla 4.8 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Andrew Bartley Cc: pgsql-general@postgresql.org Subject: Re: Vacuum full References: <003a01c28536$9f4395d0$3200a8c0@abartleypc> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/174 X-Sequence-Number: 32595 Hi Andrew, How much activity do you have on these archive type of tables? If you run SELECT queries on them a lot, and you're often updating or deleting rows (am specifically not meaning INSERTing new rows) then it might be worthwhile VACUUMing them. Otherwise, it looks like you might not gain much from doing so. :) As a curiosity question, when you VACUUM, do you use the ANALYZE option? As a second curiosity question, when you mention PostgreSQL 7.2, do you mean 7.2 literally or 7.2.3? 7.2.3 is the recommended production version due to bugs having been found in 7.2.2 and 7.2.1. Hope that helps. :-) Regards and best wishes, Justin Clift Andrew Bartley wrote: > > We are using postgres 7.2 Can anyone tell me what the ramifications are if I do not vacuum full the whole DB? Say if I was to selectively vacuum all of the PG tables, and only some of the Application tables. We have a number of tables that are effectively archive type tables. They are large, but do not change. If I was to vacuum these tables on a regular basis, it would add a significant portion of time to the housekeeping process. Thanks Andrew -- "My grandfather once told me that there are two kinds of people: those who work and those who take the credit. He told me to try to be in the first group; there was less competition there." - Indira Gandhi