Re: POC: track vacuum/analyze cumulative time per relation - Mailing list pgsql-hackers

From Alena Rybakina
Subject Re: POC: track vacuum/analyze cumulative time per relation
Date
Msg-id 594fd111-8016-4f44-bc8c-e1a0d66f26f6@postgrespro.ru
Whole thread Raw
In response to Re: POC: track vacuum/analyze cumulative time per relation  (wenhui qiu <qiuwenhuifx@gmail.com>)
Responses Re: POC: track vacuum/analyze cumulative time per relation
List pgsql-hackers
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




pgsql-hackers by date:

Previous
From: Nazir Bilal Yavuz
Date:
Subject: Re: pgbench error: (setshell) of script 0; execution of meta-command failed
Next
From: Fujii Masao
Date:
Subject: Re: pgbench error: (setshell) of script 0; execution of meta-command failed