Re: Autovacuum on by default?

From: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
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 17:27:29
Message-ID: 44E4A701.3030807@zeut.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
> Matthew T. O'Connor wrote:
>
>> Any chance we can make this change before release? I think it's very
>> important to be able to look through the logs and *know* that you tables
>> are getting vacuumed or not.
>>
>
> Agreed. I just IM'ed Alvaro and he says pg_stat_activity should now
> show exactly what autovacuum is doing (and if it doesn't, let's fix it).
> I think that is the best solution to the monitoring problem, rather than
> throwing lines in the server logs.

I'm not sure I agree with this. I can use the pg_stat_activity table to
see if autovacuum is doing something right now, but what I want to be
able to do is look through my logs and see that table_foo hasn't been
vacuumed since last week, or that table_bar has been vacuumed 7 times
today. Can I do that just with the stat system alone?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2006-08-17 17:28:00 Re: Autovacuum on by default?
Previous Message Alvaro Herrera 2006-08-17 17:25:03 Re: Autovacuum on by default?