Re: a verbose option for autovacuum - Mailing list pgsql-hackers

From Tom Lane
Subject Re: a verbose option for autovacuum
Date
Msg-id 1250443.1611354786@sss.pgh.pa.us
Whole thread Raw
In response to a verbose option for autovacuum  (Tommy Li <tommy@coffeemeetsbagel.com>)
Responses Re: a verbose option for autovacuum  (Tommy Li <tommy@coffeemeetsbagel.com>)
List pgsql-hackers
Tommy Li <tommy@coffeemeetsbagel.com> writes:
> I was surprised to see that there's no way to get `VACUUM VERBOSE`-like
> output from autovacuum. Is there any interest in enabling this?

Seems like that would very soon feel like log spam.  What would be the
use case for having this on?  If you want one-off results you could
run VACUUM manually.

> Additionally, is there any interest in exposing more vacuum options to be
> run by autovac? Right now it runs FREEZE and ANALYZE, which leaves the
> VERBOSE, SKIP_LOCKED, INDEX_CLEANUP, and TRUNCATE unconfigurable.

To the extent that any of these make sense in autovacuum, I'd say they
ought to be managed automatically.  I don't see a strong argument for
users configuring this.  (See also nearby thread about allowing index
AMs to control some of this.)

            regards, tom lane



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Polyphase merge is obsolete
Next
From: Jim Finnerty
Date:
Subject: Re: Challenges preventing us moving to 64 bit transaction id (XID)?