From: | Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Revive num_dead_tuples column of pg_stat_progress_vacuum |
Date: | 2024-06-03 21:26:37 |
Message-ID: | CAD21AoBL5sJE9TRWPyv+w7k5Ee5QAJqDJEDJBUdAaCzGWAdvZw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
Commit 667e65aac3 changed num_dead_tuples and max_dead_tuples columns
to dead_tuple_bytes and max_dead_tuple_bytes columns, respectively.
But at PGConf.dev, I got feedback from multiple people that
num_dead_tuples information still can provide meaning insights for
users to understand the vacuum progress. One use case is to compare
num_dead_tuples to pg_stat_all_tables.n_dead_tup column.
I've attached the patch to revive num_dead_tuples column back to the
pg_stat_progress_vacuum view. This requires to bump catalog version.
We're post-beta1 but it should be okay as it's only for PG17.
Feedback is very welcome.
Regards,
--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com
Attachment | Content-Type | Size |
---|---|---|
0001-Revive-num_dead_tuples-column-of-pg_stat_progress_va.patch | application/octet-stream | 4.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2024-06-03 21:41:02 | Re: Schema variables - new implementation for Postgres 15 |
Previous Message | Pavel Stehule | 2024-06-03 20:55:46 | Re: Schema variables - new implementation for Postgres 15 |