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

Re: Database-wide VACUUM ANALYZE

From: Bill Moran <wmoran(at)collaborativefusion(dot)com>
To: "Steven Flatt" <steven(dot)flatt(at)gmail(dot)com>
Cc: "Francisco Reyes" <lists(at)stringsutils(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Database-wide VACUUM ANALYZE
Date: 2007-06-21 20:07:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
In response to "Steven Flatt" <steven(dot)flatt(at)gmail(dot)com>:

> On 6/21/07, Francisco Reyes <lists(at)stringsutils(dot)com> wrote:
> >
> > Are you on FreeBSD by any chance?
> >
> > I think the FreeBSD port by default installs a script that does a daily
> > vacuum.
> Yes, FreeBSD.  Do you know what script that is?


> And it does a db-wide
> VACUUM ANALYZE every day?!  That is certainly not necessary, and in fact,
> costly for us.

You can control it with knobs in /etc/periodic.conf (just like other
periodic job):

are the defaults.

> Hmmm... I wonder why this would just start now, three days ago.  Everything
> seemed to be normal for the last two weeks.

Someone alter /etc/periodic.conf?  Perhaps it's been running all along but
you never noticed it before now?

Bill Moran
Collaborative Fusion Inc.

Phone: 412-422-3463x4023

In response to


pgsql-performance by date

Next:From: Steven FlattDate: 2007-06-21 20:09:31
Subject: Re: Very long SQL strings
Previous:From: Larry RosenmanDate: 2007-06-21 19:59:53
Subject: Re: Database-wide VACUUM ANALYZE

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