Re: [GENERAL] Autovacuum Improvements - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [GENERAL] Autovacuum Improvements
Date
Msg-id 20070116142918.GX24671@alvh.no-ip.org
Whole thread Raw
In response to Re: [GENERAL] Autovacuum Improvements  (elein <elein@varlena.com>)
Responses Re: [GENERAL] Autovacuum Improvements  (Darcy Buskermolen <darcy@ok-connect.com>)
Re: [GENERAL] Autovacuum Improvements  ("Matthew T. O'Connor" <matthew@zeut.net>)
List pgsql-hackers
elein wrote:

> Have you made any consideration of providing feedback on autovacuum to users?
> Right now we don't even know what tables were vacuumed when and what was
> reaped.  This might actually be another topic.

I'd like to hear other people's opinions on Darcy Buskermolen proposal
to have a log table, on which we'd register what did we run, at what
time, how long did it last, how many tuples did it clean, etc.  I feel
having it on the regular text log is useful but it's not good enough.
Keep in mind that in the future we may want to peek at that collected
information to be able to take better scheduling decisions (or at least
inform the DBA that he sucks).

Now, I'd like this to be a VACUUM thing, not autovacuum.  That means
that manually-run vacuums would be logged as well.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Enabling autovacuum by default (was Re: Autovacuum
Next
From: Alvaro Herrera
Date:
Subject: Re: Enabling autovacuum by default (was Re: Autovacuum