Re: 8.x Vaccum/Autovacuum settings

From: Jim Nasby <jnasby(at)pervasive(dot)com>
To: Chris Hoover <revoohc(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: 8.x Vaccum/Autovacuum settings
Date: 2006-06-28 00:25:48
Message-ID: 7CDD3C34-D0A7-466C-B4E0-57FA84C1943F@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Jun 24, 2006, at 5:03 PM, Chris Hoover wrote:
> What are most of you setting your vacuum and autovacuum parameters
> to for your 8.x databases. I just turned on autovacuuming on one
> of my db servers and went with a very conservative
> vacuum_cost_delay of 200 and vacuum_cost_limit of 50. I am
> wondering if anyone else has tested to find out just how far you
> can push your vacuum/autovacuum before you start to feel
> performance hits from running it?

It's highly, highly dependent on both your hardware and your
workload. If you have some kind of metric for how well your app is
performing, you can fire off a vacuum with different settings and see
when it starts to slow down your application.

If you're more write-constrained than read constrained, you'll want
to bump up the cost of dirty pages, probably bumping up
vacuum_cost_limit at the same time.
--
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-admin by date

  From Date Subject
Next Message Jim Nasby 2006-06-28 00:31:23 Re: Hiding table structure information
Previous Message Jim Nasby 2006-06-28 00:22:01 Re: strange fsm issues