public inbox for [email protected]  
help / color / mirror / Atom feed
From: Sami Imseih <[email protected]>
To: Shinya Kato <[email protected]>
Cc: Nathan Bossart <[email protected]>
Cc: Bharath Rupireddy <[email protected]>
Cc: Robert Treat <[email protected]>
Cc: [email protected]
Cc: pgsql-hackers <[email protected]>
Subject: Re: remove autoanalyze corner case
Date: Sun, 5 Apr 2026 17:28:06 -0500
Message-ID: <CAA5RZ0uSwqD8Sh5FZ8Q0QbHqcL2+jhc78ABEoeArVdU6-13U5A@mail.gmail.com> (raw)
In-Reply-To: <CAOzEurT6RJdEErH9=8jugMy5UMak1ZPJdY4xQ1pWS4VDwuoraQ@mail.gmail.com>
References: <adB9nSsm_S0D9708@nathan>
	<CAOzEurT6RJdEErH9=8jugMy5UMak1ZPJdY4xQ1pWS4VDwuoraQ@mail.gmail.com>

> > Well, autoanalyze only runs in this case if autovacuum is disabled via the
> > table's autovacuum_enabled reloption and _not_ disabled via the autovacuum
> > or track_counts GUCs.  I think this is pretty clearly unintentional, as I
> > can find no mention in the code, archives, or docs.  And unless I'm missing
> > something, it's completely unnecessary.  So IMHO we should just remove it.
>
> +1. I think it might be better to mention this in the documentation to
> make the behavior explicit. What do you think about stating that an
> anti-wraparound autovacuum does not perform an ANALYZE, like in the
> attached patch?

+1 to the additional documentation.

a small nit: We can just say "skipped" and not "still skipped".

--
Sami





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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: remove autoanalyze corner case
  In-Reply-To: <CAA5RZ0uSwqD8Sh5FZ8Q0QbHqcL2+jhc78ABEoeArVdU6-13U5A@mail.gmail.com>

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

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