pgsql: Improve logging of auto-vacuum and auto-analyze

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve logging of auto-vacuum and auto-analyze
Date: 2021-03-16 18:48:08
Message-ID: E1lMEjg-0006Ml-NC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/94d13d474dc61800e8a17cc1959c55815b050ecd

Modified Files
--------------
doc/src/sgml/config.sgml | 8 +--
src/backend/access/heap/vacuumlazy.c | 18 +++++++
src/backend/commands/analyze.c | 100 ++++++++++++++++++++++++++++++++---
3 files changed, 116 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2021-03-16 19:48:14 pgsql: Fix a confusing amcheck corruption message.
Previous Message Tom Lane 2021-03-16 15:16:51 pgsql: Improve logging of bad parameter values in BIND messages.