]> granicus.if.org Git - postgresql/commit
Add simple VACUUM progress reporting.
authorRobert Haas <rhaas@postgresql.org>
Tue, 15 Mar 2016 17:31:18 +0000 (13:31 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 15 Mar 2016 17:32:56 +0000 (13:32 -0400)
commitc16dc1aca5e01e6acaadfcf38f5fc964a381dc62
tree6fa736eac082c521a56151badea923c039ef806a
parent0e9b89986b7ced6daffdf14638a25a35c45423ff
Add simple VACUUM progress reporting.

There's a lot more that could be done here yet - in particular, this
reports only very coarse-grained information about the index vacuuming
phase - but even as it stands, the new pg_stat_progress_vacuum can
tell you quite a bit about what a long-running vacuum is actually
doing.

Amit Langote and Robert Haas, based on earlier work by Vinayak Pokale
and Rahila Syed.
doc/src/sgml/monitoring.sgml
src/backend/catalog/system_views.sql
src/backend/commands/vacuumlazy.c
src/backend/postmaster/pgstat.c
src/include/catalog/catversion.h
src/include/commands/progress.h [new file with mode: 0644]
src/include/pgstat.h
src/test/regress/expected/rules.out