Re: Vacuum statistics

Alena Rybakina <a.rybakina@postgrespro.ru>

From: Alena Rybakina <a.rybakina@postgrespro.ru>
To: Alexander Korotkov <aekorotkov@gmail.com>, jian he <jian.universality@gmail.com>, Ilia Evdokimov <ilya.evdokimov@tantorlabs.com>
Cc: Andrei Zubkov <zubkov@moonset.ru>, Alena Rybakina <lena.ribackina@yandex.ru>, pgsql-hackers <pgsql-hackers@postgresql.org>, a.lepikhov@postgrespro.ru
Date: 2024-09-04T17:23:00Z
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 →
  1. Move wal_buffers_full from PgStat_PendingWalStats to WalUsage

Attachments

Hi, all!

I noticed that the pgstat_accumulate_extvac_stats function may be 
declared as static in the pgstat_relation.c file rather than in the 
pgstat.h file.

I fixed part of the code with interrupt counters. I believe that it is 
not worth taking into account the number of interrupts if its level is 
greater than ERROR, for example PANIC. Our server will no longer be 
available to us and statistics data will not help us.

I have attached the new version of the code and the diff files 
(minor-vacuum.no-cbot).