pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add VACUUM instrumentation for scanned pages, relfrozenxid.
Date: Wed, 14 Sep 2022 22:20:10 +0200
Message-ID: <62707bc1-8e31-dc8a-e99c-4e4db8bafd5e@enterprisedb.com> (raw)
In-Reply-To: <E1nIgbt-0000vX-Gu@gemulon.postgresql.org>
References: <E1nIgbt-0000vX-Gu@gemulon.postgresql.org>

On 12.02.22 01:49, Peter Geoghegan wrote:
> Add VACUUM instrumentation for scanned pages, relfrozenxid.

This patch introduced the log messages

     "new relfrozenxid: %u, which is %d XIDs ahead of previous value\n"

     "new relminmxid: %u, which is %d MXIDs ahead of previous value\n"

According to the surrounding math in each case, this means that the new 
%u is larger by %d than the previous value.

The use of "ahead of" had confused me here, since I needed to think 
three times about which direction is meant.  I suppose it's technically 
correct, but perhaps there is a clearer term?






view thread (3+ messages)  latest in thread

Message-ID: <62707bc1-8e31-dc8a-e99c-4e4db8bafd5e@enterprisedb.com>
Permalink:  ../62707bc1-8e31-dc8a-e99c-4e4db8bafd5e@enterprisedb.com/
Also on:    postgresql.org/message-id/62707bc1-8e31-dc8a-e99c-4e4db8bafd5e@enterprisedb.com

 · 

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: peter.eisentraut@enterprisedb.com, pg@bowt.ie
  Subject: Re: pgsql: Add VACUUM instrumentation for scanned pages, relfrozenxid.
  In-Reply-To: <62707bc1-8e31-dc8a-e99c-4e4db8bafd5e@enterprisedb.com>
  References: <E1nIgbt-0000vX-Gu@gemulon.postgresql.org> <62707bc1-8e31-dc8a-e99c-4e4db8bafd5e@enterprisedb.com>

* 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