Re: pgsql: Add VACUUM instrumentation for scanned pages, relfrozenxid.

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Peter Geoghegan <pg(at)bowt(dot)ie>, pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Add VACUUM instrumentation for scanned pages, relfrozenxid.
Date: 2022-09-14 20:20:10
Message-ID: 62707bc1-8e31-dc8a-e99c-4e4db8bafd5e@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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?

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-09-14 20:43:47 pgsql: Doc: add some doco about using the libpq_pipeline test module.
Previous Message Daniel Gustafsson 2022-09-14 20:00:48 pgsql: pgcrypto: Remove unused code