pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bill Moran <wmoran@collaborativefusion.com>
To: Steven Flatt <steven.flatt@gmail.com>
Cc: Francisco Reyes <lists@stringsutils.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Database-wide VACUUM ANALYZE
Date: Thu, 21 Jun 2007 16:07:32 -0400
Message-ID: <20070621160732.58497e2b.wmoran@collaborativefusion.com> (raw)
In-Reply-To: <357fa7590706211236y2856ed96q5394b9302b9a528f@mail.gmail.com>
References: <357fa7590706211009w2ef6071fn83c5759db6be1e80@mail.gmail.com>
	<cone.1182452313.269532.11564.5001@35st.simplicato.com>
	<357fa7590706211236y2856ed96q5394b9302b9a528f@mail.gmail.com>

In response to "Steven Flatt" <steven.flatt@gmail.com>:

> On 6/21/07, Francisco Reyes <lists@stringsutils.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?

/usr/local/etc/periodic/daily/502.pgsql

> 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):
daily_pgsql_vacuum_enable="YES"
daily_pgsql_backup_enable="NO"

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.
http://people.collaborativefusion.com/~wmoran/

wmoran@collaborativefusion.com
Phone: 412-422-3463x4023



view thread (11+ messages)  latest in thread

Message-ID: <20070621160732.58497e2b.wmoran@collaborativefusion.com>
Permalink:  ../20070621160732.58497e2b.wmoran@collaborativefusion.com/
Also on:    postgresql.org/message-id/20070621160732.58497e2b.wmoran@collaborativefusion.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: wmoran@collaborativefusion.com, steven.flatt@gmail.com, lists@stringsutils.com
  Subject: Re: Database-wide VACUUM ANALYZE
  In-Reply-To: <20070621160732.58497e2b.wmoran@collaborativefusion.com>

* 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