Re: Vacuum statistics
Sami Imseih <samimseih@gmail.com>
From: Sami Imseih <samimseih@gmail.com>
To: Jim Nasby <jnasby@upgrade.com>
Cc: Alena Rybakina <a.rybakina@postgrespro.ru>, Ilia Evdokimov <ilya.evdokimov@tantorlabs.com>,
Andrei Zubkov <zubkov@moonset.ru>, Masahiko Sawada <sawada.mshk@gmail.com>,
Melanie Plageman <melanieplageman@gmail.com>, jian he <jian.universality@gmail.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>, a.lepikhov@postgrespro.ru, Alexander Korotkov <aekorotkov@gmail.com>
Date: 2025-01-03T19:46:25Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Move wal_buffers_full from PgStat_PendingWalStats to WalUsage
- eaf502747bac 18.0 cited
> I guess one question is how realistic it is to try and put everything about (auto)vacuum in a single view. > Given the complexity, the answer to that might just be “no”. In that case leaving existing fields in pg_stat_all_tables > is a lot more reasonable. Agree. I also think the total_time should be in pg_stat_all_tables. total_time is a high level metric that along with vacuum_count can calculate average run time of vacuums on a specific table. Everything else in the new view are more granular details. Regards, Sami