From: Jim C. Nasby <jnasby@pervasive.com>
To: Eugeny N Dzhurinsky <bofh@redwerk.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: vacuuming
Date: Wed, 9 Aug 2006 16:20:46 -0500
Message-ID: <20060809212045.GT40481@pervasive.com> (raw)
In-Reply-To: <20060808073956.GA2087@office.redwerk.com>
References: <20060808073956.GA2087@office.redwerk.com>
On Tue, Aug 08, 2006 at 10:39:56AM +0300, Eugeny N Dzhurinsky wrote:
> Hello
>
> I have pg_autovacuum running with the arguments:
>
> pg_autovacuum -D -s 120 -v 10000
It's been a while since I looked at the pg_autovac settings, but I know
that it's threasholds were way, way to high. They were set to something
like 2, when 0.2 is a better idea.
> the database is postgresql 8.0.0
>
> Sometimes load average on server raises to 20 and it is almost impossible to
> login via SSH
>
> When I'm logging in finally, I see there is cpu usage: 6% and iowait 95%
>
> ps ax | grep post gives me
>
> postgres: postgres db [local] VACUUM
>
> Is there some solution to avoid such cases?
Have you turned on vacuum_cost_delay?
--
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: jnasby@pervasive.com, bofh@redwerk.com
Subject: Re: vacuuming
In-Reply-To: <20060809212045.GT40481@pervasive.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox