Re: [GENERAL] Autovacuum Improvements

From: Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
To: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
Subject: Re: [GENERAL] Autovacuum Improvements
Date: 2007-01-17 19:47:55
Message-ID: 45AE7D6B.60405@cheapcomplexdevices.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Matthew T. O'Connor wrote:
> Alvaro Herrera wrote:
>> 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, [...]
>
> I think most people would just be happy if we could get autovacuum to
> log it's actions at a much higher log level. I think that "autovacuum
> vacuumed table x" is important and shouldn't be all the way down at the
> debug level.

+1 here. Even more than "autovacuum vacuumed table x", I'd like to see
"vacuum starting table x" and "vacuum done table x". The reason I say
that is because the speculation "autovacuum might have been running"
is now a frequent phrase I hear when performance questions are asked.
If vacuum start and end times were logged at a much earlier level,
that feature plus log_min_duration_statement could easily disprove
the "vacuum might have been running" hypothesis.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message af300wsm 2007-01-17 20:09:16 Alter definition of a column
Previous Message John D. Burger 2007-01-17 19:27:05 Re: Building web sites using a database

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-01-17 19:50:25 Re: ideas for auto-processing patches
Previous Message Stefan Kaltenbrunner 2007-01-17 19:32:35 Re: Idea for fixing the Windows fsync problem