From: Alvaro Herrera <alvherre@commandprompt.com>
To: Chris Hoover <revoohc@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: 8.1.3 - autovacuum question
Date: Mon, 26 Jun 2006 16:59:30 -0400
Message-ID: <20060626205930.GC11926@surnet.cl> (raw)
In-Reply-To: <1d219a6f0606261338r52b14003vc384b1701718e38c@mail.gmail.com>
References: <1d219a6f0606261338r52b14003vc384b1701718e38c@mail.gmail.com>
Chris Hoover wrote:
> I turned on autovacuum on one of my database servers over the weekend. I
> have been looking at the logs trying to see what it is doing. However, all
> I see are lines like this:
> ,7674,,2006-06-26 16:31:37.650 EDT,,1,,,,LOG: autovacuum: processing
> database "postgres"
>
> Is there a way to tell if autovacuum is actually doing any work?
Yeah, autovacuum is pretty stupid in its logging. You can put
log_min_messages (or min_log_messages, I always forget which one it is)
DEBUG2 to get more detailed messages. You'll get a lot other stuff as
well :-(
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: alvherre@commandprompt.com, revoohc@gmail.com
Subject: Re: 8.1.3 - autovacuum question
In-Reply-To: <20060626205930.GC11926@surnet.cl>
References: <1d219a6f0606261338r52b14003vc384b1701718e38c@mail.gmail.com> <20060626205930.GC11926@surnet.cl>
* 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