Re: We need to log aborted autovacuums - Mailing list pgsql-hackers

From Tom Lane
Subject Re: We need to log aborted autovacuums
Date
Msg-id 26954.1290036945@sss.pgh.pa.us
Whole thread Raw
In response to Re: We need to log aborted autovacuums  (Josh Berkus <josh@agliodbs.com>)
Responses Re: We need to log aborted autovacuums
List pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
>> There *is* an elog(DEBUG3) in autovacuum.c
>> that reports whether autovac thinks a table needs vacuumed/analyzed ...
>> maybe that needs to be a tad more user-accessible.

> Yeah, it would be really good to be able to log that without bumping the
> log levels of the server in general to DEBUG3.  On a busy production
> server, using any of the DEBUG levels is pretty much out of the question
> ... they can produce up to 1GB/minute in output.

Well, the way to deal with that would be to add a GUC that enables
reporting of those messages at LOG level.  But it's a bit hard to argue
that we need such a thing without more evidence.  Maybe you could just
locally modify the DEBUG3 to LOG and see whether it teaches you
anything?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: We need to log aborted autovacuums
Next
From: Itagaki Takahiro
Date:
Subject: Re: We need to log aborted autovacuums