Re: autovacuum fringe case?

From: "Kevin Grittner" <kgrittn(at)mail(dot)com>
To: "AJ Weber" <aweber(at)comcast(dot)net>,pgsql-performance(at)postgresql(dot)org
Subject: Re: autovacuum fringe case?
Date: 2013-01-23 22:17:00
Message-ID: 20130123221700.119100@gmx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

AJ Weber wrote:

> Is it possible that some spikes in IO could be attributable to
> the autovacuum process? Is there a way to check this theory?

Taking a look at the ps aux listing, pg_stat_activity, and pg_locks
should help establish a cause, or at least rule out a number of
possibilities. There is a known issue with autovacuum when it tries
to reduce the size of a table which is found to be larger than it
currently needs to be while other transactions try to access the
table. This issue will be fixed in the next minor release for 9.0
and above. If this is the issue a manual VACUUM ANALYZE will fix
things -- at least for a while.

-Kevin

Browse pgsql-performance by date

  From Date Subject
Next Message AJ Weber 2013-01-23 22:48:10 Re: autovacuum fringe case?
Previous Message Jeff Janes 2013-01-23 19:13:48 Re: autovacuum fringe case?