| From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
|---|---|
| To: | Sami Imseih <samimseih(at)gmail(dot)com> |
| Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Add pg_stat_autovacuum_priority |
| Date: | 2026-03-30 15:12:17 |
| Message-ID: | 202603301508.up22nvhgnnoj@alvherre.pgsql |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 2026-Mar-27, Sami Imseih wrote:
> 0002 introduces the view with documentation and testing in
> vacuum.c (xid age and mxid age scores are not tested as
> they require xid_wraparound to consume enough XIDs to
> trigger a score, which will cost too much time for a
> regression test).
After this patch, there are three copies of the combined call to
pgstat_fetch_stat_tabentry_ext() and relation_needs_vacanalyze(). Can
we avoid that, ideally reducing to only one such? Or, at least, it
looks like recheck_relation_needs_vacanalyze() may no longer need to
exist at all.
--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
"Ed is the standard text editor."
http://groups.google.com/group/alt.religion.emacs/msg/8d94ddab6a9b0ad3
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sami Imseih | 2026-03-30 15:16:50 | Re: Add pg_stat_autovacuum_priority |
| Previous Message | Andrew Dunstan | 2026-03-30 15:06:39 | Re: [PATCH] Add support for INSERT ... SET syntax |