agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add pg_stat_autovacuum_scores system view.
Date: Mon, 06 Apr 2026 21:58:03 +0000
Message-ID: <E1w9rxK-003IN6-0u@gemulon.postgresql.org> (raw)

Add pg_stat_autovacuum_scores system view.

This view contains one row for each table in the current database,
showing the current autovacuum scores for that specific table.  It
also shows whether autovacuum would vacuum or analyze the table.

Bumps catversion.

Author: Sami Imseih <samimseih@gmail.com>
Reviewed-by: Satyanarayana Narlapuram <satyanarlapuram@gmail.com>
Reviewed-by: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Reviewed-by: Robert Treat <rob@xzilla.net>
Discussion: https://postgr.es/m/CAA5RZ0s4xjMrB-VAnLccC7kY8d0-4806-Lsac-czJsdA1LXtAw%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/87f61f0c82806b7e4201f15bd77920e9e7108b11

Modified Files
--------------
doc/src/sgml/maintenance.sgml        |   6 ++
doc/src/sgml/monitoring.sgml         | 179 +++++++++++++++++++++++++++++++++++
src/backend/catalog/system_views.sql |  18 ++++
src/backend/postmaster/autovacuum.c  |  73 ++++++++++++++
src/include/catalog/catversion.h     |   2 +-
src/include/catalog/pg_proc.dat      |   7 ++
src/test/regress/expected/rules.out  |  15 +++
7 files changed, 299 insertions(+), 1 deletion(-)



Message-ID: <E1w9rxK-003IN6-0u@gemulon.postgresql.org>
Permalink:  ../E1w9rxK-003IN6-0u@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1w9rxK-003IN6-0u@gemulon.postgresql.org

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: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add pg_stat_autovacuum_scores system view.
  In-Reply-To: <E1w9rxK-003IN6-0u@gemulon.postgresql.org>

* 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