pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve logging of auto-vacuum and auto-analyze
Date: Tue, 16 Mar 2021 18:48:08 +0000
Message-ID: <E1lMEjg-0006Ml-NC@gemulon.postgresql.org> (raw)

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.eur...

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(-)



Message-ID: <E1lMEjg-0006Ml-NC@gemulon.postgresql.org>
Permalink:  ../E1lMEjg-0006Ml-NC@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lMEjg-0006Ml-NC@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: sfrost@snowman.net
  Subject: Re: pgsql: Improve logging of auto-vacuum and auto-analyze
  In-Reply-To: <E1lMEjg-0006Ml-NC@gemulon.postgresql.org>
  References: <E1lMEjg-0006Ml-NC@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox