Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 4F8699FB8F3 for ; Thu, 21 Jun 2007 17:07:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 08918-04 for ; Thu, 21 Jun 2007 17:07:33 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by postgresql.org (Postfix) with ESMTP id 8560B9FB765 for ; Thu, 21 Jun 2007 17:07:33 -0300 (ADT) Received: from vanquish.pgh.priv.collaborativefusion.com (vanquish.pgh.priv.collaborativefusion.com [192.168.2.61]) (SSL: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Thu, 21 Jun 2007 16:07:32 -0400 id 00056407.467ADA84.00007676 Date: Thu, 21 Jun 2007 16:07:32 -0400 From: Bill Moran To: "Steven Flatt" Cc: "Francisco Reyes" , pgsql-performance@postgresql.org Subject: Re: Database-wide VACUUM ANALYZE Message-Id: <20070621160732.58497e2b.wmoran@collaborativefusion.com> In-Reply-To: <357fa7590706211236y2856ed96q5394b9302b9a528f@mail.gmail.com> References: <357fa7590706211009w2ef6071fn83c5759db6be1e80@mail.gmail.com> <357fa7590706211236y2856ed96q5394b9302b9a528f@mail.gmail.com> Organization: Collaborative Fusion X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.11; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/489 X-Sequence-Number: 25522 In response to "Steven Flatt" : > On 6/21/07, Francisco Reyes 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