pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc Spitzer <marc@oscar.eng.cv.net>
To: pgsql-admin@postgresql.org
Subject: Re: How do I vacuum safely?  And how often should I reindex
Date: Tue, 18 Dec 2001 13:09:40 -0500
Message-ID: <20011218130940.A71900@oscar.eng.cv.net> (raw)
In-Reply-To: <OPEOLKEAAIMGBAMJNACKAEEDDFAA.f.helmberger@uptime.at>
References: <OPEOLKEAAIMGBAMJNACKAEEDDFAA.f.helmberger@uptime.at>

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



view thread (4+ messages)

Message-ID: <20011218130940.A71900@oscar.eng.cv.net>
Permalink:  ../20011218130940.A71900@oscar.eng.cv.net/
Also on:    postgresql.org/message-id/20011218130940.A71900@oscar.eng.cv.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: marc@oscar.eng.cv.net
  Subject: Re: How do I vacuum safely?  And how often should I reindex
  In-Reply-To: <20011218130940.A71900@oscar.eng.cv.net>
  References: <OPEOLKEAAIMGBAMJNACKAEEDDFAA.f.helmberger@uptime.at> <20011218130940.A71900@oscar.eng.cv.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox