Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id A95A09FB7AC for ; Thu, 21 Jun 2007 17:00:10 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 93479-10 for ; Thu, 21 Jun 2007 17:00:01 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) by postgresql.org (Postfix) with ESMTP id 157269FB615 for ; Thu, 21 Jun 2007 17:00:00 -0300 (ADT) Received: from thebighonker.lerctr.org ([192.147.25.65]:59972) by thebighonker.lerctr.org with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.67 (FreeBSD)) (envelope-from ) id 1I1Sou-000B1j-Cy; Thu, 21 Jun 2007 14:59:57 -0500 Date: Thu, 21 Jun 2007 14:59:53 -0500 (CDT) From: Larry Rosenman To: Steven Flatt cc: Francisco Reyes , pgsql-performance@postgresql.org Subject: Re: Database-wide VACUUM ANALYZE In-Reply-To: <357fa7590706211236y2856ed96q5394b9302b9a528f@mail.gmail.com> Message-ID: <20070621145901.M42326@thebighonker.lerctr.org> References: <357fa7590706211009w2ef6071fn83c5759db6be1e80@mail.gmail.com> <357fa7590706211236y2856ed96q5394b9302b9a528f@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-LERCTR-Spam-Score: -4.4 (----) X-LERCTR-Spam-Report: SpamScore (-4.4/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, DKIM_POLICY_SIGNSOME=0 DomainKey-Status: no signature X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/487 X-Sequence-Number: 25520 On Thu, 21 Jun 2007, Steven Flatt wrote: > 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? And it does a db-wide > VACUUM ANALYZE every day?! That is certainly not necessary, and in fact, > costly for us. > > Hmmm... I wonder why this would just start now, three days ago. Everything > seemed to be normal for the last two weeks. > The current FreeBSD port places the script in: /usr/local/etc/periodic/daily/502.pgsql And it can be controlled from /etc/periodic.conf See the top of that script. LER > Steve > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893