Improve logging of auto-vacuum and auto-analyze
authorStephen Frost <sfrost@snowman.net>
Tue, 16 Mar 2021 18:46:48 +0000 (14:46 -0400)
committerStephen Frost <sfrost@snowman.net>
Tue, 16 Mar 2021 18:46:48 +0000 (14:46 -0400)
commit94d13d474dc61800e8a17cc1959c55815b050ecd
treed64934303dc5b781cc221f30482deb241ebdca09
parent1ea396362be1615e926ea69d666c770081a0d3ef
Improve logging of auto-vacuum and auto-analyze

When logging auto-vacuum and auto-analyze activity, include the I/O
timing if track_io_timing is enabled.  Also, for auto-analyze, add the
read rate and the dirty rate, similar to how that information has
historically been logged for auto-vacuum.

Stephen Frost and Jakub Wartak

Reviewed-By: Heikki Linnakangas, Tomas Vondra
Discussion: https://www.postgresql.org/message-id/VI1PR0701MB69603A433348EDCF783C6ECBF6EF0%40VI1PR0701MB6960.eurprd07.prod.outlook.com
doc/src/sgml/config.sgml
src/backend/access/heap/vacuumlazy.c
src/backend/commands/analyze.c