Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id A6CBC9FB32E for ; Wed, 27 Sep 2006 13:13:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 21878-01 for ; Wed, 27 Sep 2006 13:13:25 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from skynet.simkin.ca (skynet.simkin.ca [199.175.137.210]) by postgresql.org (Postfix) with ESMTP id B1A239FA2AD for ; Wed, 27 Sep 2006 13:13:25 -0300 (ADT) Received: from hal.simkin.ca (S0106000c6eb33e73.vc.shawcable.net [24.80.109.220]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by skynet.simkin.ca (Postfix) with ESMTP id 5F5F8FA8A for ; Wed, 27 Sep 2006 09:13:24 -0700 (PDT) From: Alan Hodgson Organization: Simkin Network Consulting To: pgsql-performance@postgresql.org Subject: Re: autovacuum on a -mostly- r/o table Date: Wed, 27 Sep 2006 09:13:22 -0700 User-Agent: KMail/1.9.1 References: <451AA1FE.9050704@axa.it> In-Reply-To: <451AA1FE.9050704@axa.it> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609270913.22644@hal.medialogik.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.422 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200609/359 X-Sequence-Number: 21045 On Wednesday 27 September 2006 09:08, Edoardo Ceccarelli wrote: > > How can I configure the vacuum to run after the daily batch > insert/update? > If you really only want it to run then, you should disable autovacuum and continue to run the vacuum manually. You might also investigate the vacuum cost delay options, which will make vacuum take longer but will have less of an impact on your database while running. -- "If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." -- Somerset Maugham, Author