pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Instrument freezing in autovacuum log reports.
Date: Thu, 08 Sep 2022 17:31:01 +0000
Message-ID: <E1oWLMj-0021ug-2a@gemulon.postgresql.org> (raw)

Instrument freezing in autovacuum log reports.

Add a new line to log reports from autovacuum (as well as VACUUM VERBOSE
output) that shows information about freezing.  Emphasis is placed on
the total number of heap pages that had one or more tuples frozen by
VACUUM.  The total number of tuples frozen is also shown.

Author: Peter Geoghegan <pg@bowt.ie>
Reviewed-By: Jeff Janes <jeff.janes@gmail.com>
Discussion: https://postgr.es/m/CAH2-WznTY6D0zyE8VLrC6Gd4kh_HGAXxnTPtcOQOOsxzLx9zog@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d977ffd923d207164eef78ed107d5293aee6c660

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 27 ++++++++++++++++++++-------
1 file changed, 20 insertions(+), 7 deletions(-)



Message-ID: <E1oWLMj-0021ug-2a@gemulon.postgresql.org>
Permalink:  ../E1oWLMj-0021ug-2a@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oWLMj-0021ug-2a@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: pg@bowt.ie
  Subject: Re: pgsql: Instrument freezing in autovacuum log reports.
  In-Reply-To: <E1oWLMj-0021ug-2a@gemulon.postgresql.org>
  References: <E1oWLMj-0021ug-2a@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