Re: Postgres 7.4 and vacuum_cost_delay.

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Chris Mckenzie <Chris(dot)McKenzie(at)entrust(dot)com>
Cc: "'pgsql-performance(at)postgresql(dot)org'" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Postgres 7.4 and vacuum_cost_delay.
Date: 2006-05-02 21:38:47
Message-ID: 20060502213847.GF97354@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

show all and grep are your friend. From my laptop with 8.1:

decibel(at)phonebook(dot)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(at)phonebook(dot)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(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Jim C. Nasby 2006-05-02 21:42:36 Re: postgresql transaction id monitoring with nagios
Previous Message Jim C. Nasby 2006-05-02 21:29:42 Re: Cluster vs. non-cluster query planning