You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Track per-relation cumulative time spent in [auto]vacuum and [auto]analyze
This commit adds four fields to the statistics of relations, aggregatingthe amount of time spent for each operation on a relation:- total_vacuum_time, for manual vacuum.- total_autovacuum_time, for vacuum done by the autovacuum daemon.- total_analyze_time, for manual analyze.- total_autoanalyze_time, for analyze done by the autovacuum daemon.This gives users the option to derive the average time spent for theseoperations with the help of the related "count" fields.Bump catalog version (for the catalog changes) and PGSTAT_FILE_FORMAT_ID(for the additions in PgStat_StatTabEntry).Author: Sami ImseihReviewed-by: Bertrand Drouvot, Michael PaquierDiscussion:https://postgr.es/m/CAA5RZ0uVOGBYmPEeGF2d1B_67tgNjKx_bKDuL+oUftuoz+=Y1g@mail.gmail.com