pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <kgrittn@mail.com>
To: AJ Weber <aweber@comcast.net>
To: pgsql-performance@postgresql.org
Subject: Re: autovacuum fringe case?
Date: Wed, 23 Jan 2013 17:17:00 -0500
Message-ID: <20130123221700.119100@gmx.com> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



view thread (7+ messages)  latest in thread

Message-ID: <20130123221700.119100@gmx.com>
Permalink:  ../20130123221700.119100@gmx.com/
Also on:    postgresql.org/message-id/20130123221700.119100@gmx.com

 · 

reply

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: kgrittn@mail.com, aweber@comcast.net
  Subject: Re: autovacuum fringe case?
  In-Reply-To: <20130123221700.119100@gmx.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