pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew T. O'Connor <matthew@tocr.com>
To: Michael Goldner <MGoldner@agmednet.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Is it normal for Autovacuum running continuously?
Date: Tue, 13 Feb 2007 11:08:24 -0500
Message-ID: <45D1E278.4030602@tocr.com> (raw)
In-Reply-To: <C1F74684.84C2%mgoldner@agmednet.com>
References: <C1F74684.84C2%mgoldner@agmednet.com>

Yes, because all these messages really mean is that autovacuum woke up, 
and looked at database xx, it may or may not have decided to do anything 
(analyze or vacuum) and judging by the fact that these messages are 
almost exactly 1 minute apart, I would say that autovacuum never felt 
the need to take action during this log segment.

One of the deficiencies in autovacuum in 8.1 is that it's not easy to 
know when autovacuum actually did take action.  This is somewhat 
improved in 8.2.


Michael Goldner wrote:
> I notice in my postgres logfile that autovacuum is running every minute.
> The server had no overnight activity, yet this has been going on for days.
> Overall performance of the database seems to be slow, and I assume that it
> is related.
> 
> I'm running 8.1.4 on Redhat EL4.3.
> 
> Is this normal for autovacuum?
> 
> Here is the tail of the log (even though it doesn't say much):
> 
> [4836---2007-02-13 08:28:28.194 EST]LOG:  autovacuum: processing database
> "xx"
> [4859---2007-02-13 08:29:28.200 EST]LOG:  autovacuum: processing database
> "xx"
> [4863---2007-02-13 08:30:28.196 EST]LOG:  autovacuum: processing database
> "xx"
> [4865---2007-02-13 08:31:28.191 EST]LOG:  autovacuum: processing database
> "xx"
> [4870---2007-02-13 08:32:28.201 EST]LOG:  autovacuum: processing database
> "xx"
> [4916---2007-02-13 08:34:23.555 EST]LOG:  autovacuum: processing database
> "xx"
> [4921---2007-02-13 08:35:23.550 EST]LOG:  autovacuum: processing database
> "xx"
> [4923---2007-02-13 08:36:23.555 EST]LOG:  autovacuum: processing database
> "xx"
> [4959---2007-02-13 08:37:27.169 EST]LOG:  autovacuum: processing database
> "xx"
> [4965---2007-02-13 08:38:27.165 EST]LOG:  autovacuum: processing database
> "xx"
> [5057---2007-02-13 08:39:27.178 EST]LOG:  autovacuum: processing database
> "xx"
> 
> Thanks,
> 
> Mike
> 



view thread (3+ messages)  latest in thread

Message-ID: <45D1E278.4030602@tocr.com>
Permalink:  ../45D1E278.4030602@tocr.com/
Also on:    postgresql.org/message-id/45D1E278.4030602@tocr.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-admin@postgresql.org
  Cc: matthew@tocr.com, MGoldner@agmednet.com
  Subject: Re: Is it normal for Autovacuum running continuously?
  In-Reply-To: <45D1E278.4030602@tocr.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