Hi!

On 04.01.2025 06:41, wenhui qiu wrote:
Hi Sami
 Thank you for your path,it seems some path monitor vacuum status,Can we synthesize their good ideas together。

I've been working on a patch that collects vacuum statistics since May [0]. It includes heap and index relation vacuum statistics, and of course, database vacuum statistics. We welcome reviews and any feedback!

It collects a bit more information than total_time, such as delay_time, buffer statistics, wal statistics, number of processed, skipped pages and tuples during vacuum operations, so this information gives a complete picture of vacuum efficiency, because analyzing only total_time statistics does not give a complete picture of what vacuum did: was it cleaning almost huge index, cleaning tables or just sleeping.

[0] https://commitfest.postgresql.org/51/5012/

--
Regards,
Alena Rybakina
Postgres Professional



Reply via email to