From: | Sami Imseih <samimseih(at)gmail(dot)com> |
---|---|
To: | Greg Sabino Mullane <htamfids(at)gmail(dot)com>, wenhui qiu <qiuwenhuifx(at)gmail(dot)com>, nickyang <nickyang905(at)gmail(dot)com> |
Cc: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: add vacuum starttime columns |
Date: | 2024-12-31 21:35:02 |
Message-ID: | CAA5RZ0vehxJkK_aUHHPtupdsR1qkQQ5aMCeNskh=x+MyJavDZA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
worth mentioning here that there is discussion for tracking vacuum history
in this recent thread [1], and this includes both start_time and end_time
of the vacuum from what I can tell.
postgres=# select * from vacuum_history ;
start_time | end_time | dbid | relid | is_autovacuum | .....
It will also be good to see if there are other opinions for accumulating
the elapsed time for vacuums in pg_stat_all_tables.
[1] https://www.postgresql.org/message-id/flat/b68ab452-c41f-4d04-893f-eaab84f1855b%40vondra.me
Regards,
Sami
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2024-12-31 22:44:29 | Re: Strange issue with NFS mounted PGDATA on ugreen NAS |
Previous Message | Jim Nasby | 2024-12-31 20:54:15 | Re: PoC: history of recent vacuum/checkpoint runs (using new hooks) |