Re: Autovacuum on by default?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autovacuum on by default?
Date: 2006-08-17 16:58:03
Message-ID: 200608171658.k7HGw3T14702@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Matthew T. O'Connor wrote:
> Bruce Momjian wrote:
> > Matthew T. O'Connor wrote:
> >
> >> Would be fine by me, but I'm curious to see what the community has to
> >> say. A few comments:
> >>
> >> Autovacuum can cause unpredictable performance issues, that is if it
> >> vacuums in the middle of a busy day and people don't want that, of
> >> course they turn it off easy enough, but they might be surprised.
> >>
> >> I haven't played with CVS HEAD much, but I think the logging issue has
> >> been addressed no? That is my single biggest gripe with the 8.1
> >> autovacuum is that it's very hard to see if it's actually done anything
> >> without having to turn up the logging significantly.
> >>
> >
> > This has not been addressed, except that pg_stat_activity now shows
> > autovacuum. Someone was going to work on per-module log output, but it
> > wasn't completed for 8.2. Does pg_stat_activity now show the table
> > being vacuumed?
>
> Hmm... I though it had, not the full blown per-module log output stuff,
> but just a simple reorgainzing of the log levels for autovacuum
> messages. That is lowering the level for:
> LOG: autovacuum: processing database "foo"

Yes, this was done.

> and increasing the log level when autovacuum actually fires off a VACUUM
> or ANALYZE command.

This was not done because the logging control only for autovacuum was
going to be added. Right now, if you want to see the vacuum activity,
you end up seeing debug stuff too (very ugly).

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthew T. O'Connor 2006-08-17 16:58:12 Re: Autovacuum on by default?
Previous Message Magnus Hagander 2006-08-17 16:56:40 Re: BugTracker (Was: Re: 8.2 features status)