Received: from oscar.eng.cv.net (oscar.eng.cv.net [167.206.9.141]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fBIIAkm99155 for ; Tue, 18 Dec 2001 13:10:46 -0500 (EST) (envelope-from marc@oscar.eng.cv.net) Received: (from marc@localhost) by oscar.eng.cv.net (8.11.4/8.11.3) id fBII9eF71974 for pgsql-admin@postgresql.org; Tue, 18 Dec 2001 13:09:40 -0500 (EST) (envelope-from marc) Date: Tue, 18 Dec 2001 13:09:40 -0500 From: Marc Spitzer To: pgsql-admin@postgresql.org Subject: Re: How do I vacuum safely? And how often should I reindex Message-ID: <20011218130940.A71900@oscar.eng.cv.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from f.helmberger@uptime.at on Tue, Dec 18, 2001 at 11:29:02AM +0100 X-Archive-Number: 200112/114 X-Sequence-Number: 2837 On Tue, Dec 18, 2001 at 11:29:02AM +0100, Florian Helmberger wrote: > Hi! > > > > 2: how often should I reindex my db, are there any standards > > > or accepted practices out there > > > > I recreate my indices every week, or after any extensive updates or > > deletes. Again, I believe that 7.2 has some new stuff to deal with this > > issue. > > This brings me to another point. Is it really necessary to recreate indices > if you vacuum analyze your database regulary (say, every once in a week)? > > Cheers, > Florian > In my exp absolutely, I have a db that adds and deletes +1,000,000 rows a day. If you dont have much change in your db then it should not matter much, not much space wasted. I hope this will change for the better in 7.2, I have to start coming up to speed on 7.2. marc > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org