Re: How do I vacuum safely? And how often should I reindex

From: Marc Spitzer <marc(at)oscar(dot)eng(dot)cv(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: How do I vacuum safely? And how often should I reindex
Date: 2001-12-18 18:09:40
Message-ID: 20011218130940.A71900@oscar.eng.cv.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2001-12-19 00:56:32 Re: Primary Key Problems
Previous Message Florian Helmberger 2001-12-18 10:29:02 How do I vacuum safely? And how often should I reindex