> 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