Re: How to stop autovacuum silently - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: How to stop autovacuum silently
Date
Msg-id CAH2-Wzm5r6Th9OuikT5ZkWC6F4jsZ46Z=uPRgfnj5_1_1uj8bg@mail.gmail.com
Whole thread Raw
In response to How to stop autovacuum silently  (Maxim Orlov <orlovmg@gmail.com>)
Responses Re: How to stop autovacuum silently
List pgsql-hackers
On Wed, Nov 22, 2023 at 8:18 AM Maxim Orlov <orlovmg@gmail.com> wrote:
> Recently, one of our customers had reported a not working autovacuum.  After a minor investigation, I've found that
> autovacuum launcher did, actually, run vacuum as expected, but with no results.  At the same time, no warnings or
> other anomies were present in the logs.

Are you aware of commit e83ebfe6d7, which added a similar WARNING at
the point when VACUUM overwrites a relfrozenxid/relminmxid "from the
future"? It's a recent one.

> At first, I've thought may be statistics is broken, thus vacuum is not working as expected.  But in fact, something
> more interesting is had happened.

Was pg_upgrade even run against this database? My guess is that the
underlying problem was caused by the bug fixed by commit 74cf7d46.

--
Peter Geoghegan



pgsql-hackers by date:

Previous
From: "Tristan Partin"
Date:
Subject: Re: psql not responding to SIGINT upon db reconnection
Next
From: Nathan Bossart
Date:
Subject: Re: autovectorize page checksum code included elsewhere