Re: [HACKERS] Vacuum full stats reporting

2017-04-12 Thread Robert Haas
On Mon, Apr 10, 2017 at 4:36 AM, Magnus Hagander wrote: > Right now, VACUUM FULL are not reported in pgstat. That seems bad:ish. I can > see two reasonable ways to proceed: > > 1. Start reporting VACUUM FULL as regular vacuums, so they count up > vacuum_count and last_vacuum

[HACKERS] Vacuum full stats reporting

2017-04-10 Thread Magnus Hagander
Right now, VACUUM FULL are not reported in pgstat. That seems bad:ish. I can see two reasonable ways to proceed: 1. Start reporting VACUUM FULL as regular vacuums, so they count up vacuum_count and last_vacuum in pg_stat_*_tables. 2. Create a new set of counters for CLUSTER and VACUUM FULL