X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 458F29FB1F0 for ; Tue, 2 May 2006 18:39:07 -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 70347-05 for ; Tue, 2 May 2006 18:38:54 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 10DF69FAD5A for ; Tue, 2 May 2006 18:38:53 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 4480456437; Tue, 2 May 2006 16:38:49 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Tue, 2 May 2006 16:38:47 -0500 Date: Tue, 2 May 2006 16:38:47 -0500 From: "Jim C. Nasby" To: Chris Mckenzie Cc: "'pgsql-performance@postgresql.org'" Subject: Re: Postgres 7.4 and vacuum_cost_delay. Message-ID: <20060502213847.GF97354@pervasive.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060502:chris.mckenzie@entrust.com::475vRwXjCeYC9ys2:00000000000 000000000000000000000000DscC X-Hashcash: 1:20:060502:pgsql-performance@postgresql.org::WpV82j9g2twCQcmP:00000 0000000000000000000000009915 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/49 X-Sequence-Number: 18836 show all and grep are your friend. From my laptop with 8.1: decibel@phonebook.1[16:36]~:4%psql -tc 'show all' | grep vacuum_cost_delay|tr -s ' ' autovacuum_vacuum_cost_delay | -1 | Vacuum cost delay in milliseconds, for autovacuum. vacuum_cost_delay | 0 | Vacuum cost delay in milliseconds. decibel@phonebook.1[16:37]~:5% I don't have a 7.4 copy around, but you can just check it yourself. On Mon, May 01, 2006 at 02:40:41PM -0400, Chris Mckenzie wrote: > Hi everyone. > > I've got a quick and stupid question: Does Postgres 7.4 (7.x) support > vacuum_cost_delay? > > For all my googles and documentation reading I've determined it's not > supported, only because I can't find a 7.x doc or forum post claiming > otherwise. > > Upgrading to 8.x is out of the question, but I still need to employ > something to auto-vacuum a large and active database (possibly more than > once a day) in a manner that wouldn't affect load at the wrong time. > > If I could combine pg_autovacuum with vacuum_cost_delay I could potentially > have a solution. (barring some performance testing) > > The only problem with pg_autovacuum is the need for pg_statio, which itself > will reduce performance at all times. > > Any suggestions? > > Thanks! > > - Chris > > > -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461