Re: Indicate anti-wraparound autovacuum in log_autovacuum_min_duration
Sergei Kornilov <sk@zsrv.org>
From: Sergei Kornilov <sk@zsrv.org>
To: Michael Paquier <michael@paquier.xyz>, Masahiko Sawada <sawada.mshk@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2018-09-13T09:00:49Z
Lists: pgsql-hackers
Attachments
- indicate_wraparound_in_log_autovacuum_min_duration_v2.patch (text/x-diff) patch v2
Hello > The brackets look rather useless to me, wouldn't it be better to remove > them? By doing so the longest message becomes: > "automatic aggressive vacuum to prevent wraparound of table blah.blah" Hmm, > 2018-09-13 11:48:09.303 MSK 6994 @ from [vxid:6/713 txid:0] [] LOG: automatic aggressive vacuum (to prevent wraparound) of table "template0.pg_toast.pg_toast_12252": index scans: 0 or > 2018-09-13 11:54:55.095 MSK 10115 @ from [vxid:3/100278 txid:0] [] LOG: automatic aggressive vacuum to prevent wraparound of table "template0.pg_toast.pg_toast_12252": index scans: 0 Looks better for me. Updated patch attached. regards, Sergei
Commits
-
Improve autovacuum logging for aggressive and anti-wraparound runs
- 28a8fa984c63 12.0 landed