]> granicus.if.org Git - postgresql/commit
Add progress reporting for CLUSTER and VACUUM FULL.
authorRobert Haas <rhaas@postgresql.org>
Mon, 25 Mar 2019 14:59:04 +0000 (10:59 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 25 Mar 2019 14:59:04 +0000 (10:59 -0400)
commit6f97457e0ddd8b421ca5e483439ef0318e6fc89a
tree9d520dd37b2affbf242b7f8db69eacf0044b225a
parent1d88a75c424664cc85f307a876cde85191d27272
Add progress reporting for CLUSTER and VACUUM FULL.

This uses the same progress reporting infrastructure added in commit
c16dc1aca5e01e6acaadfcf38f5fc964a381dc62 and extends it to these
additional cases.  We lack the ability to track the internal progress
of sorts and index builds so the information reported is
coarse-grained for some parts of the operation, but it still seems
like a significant improvement over having nothing at all.

Tatsuro Yamada, reviewed by Thomas Munro, Masahiko Sawada, Michael
Paquier, Jeff Janes, Alvaro Herrera, Rafia Sabih, and by me.  A fair
amount of polishing also by me.

Discussion: http://postgr.es/m/59A77072.3090401@lab.ntt.co.jp
doc/src/sgml/monitoring.sgml
src/backend/catalog/index.c
src/backend/catalog/system_views.sql
src/backend/commands/cluster.c
src/backend/utils/adt/pgstatfuncs.c
src/include/catalog/catversion.h
src/include/commands/progress.h
src/include/pgstat.h
src/test/regress/expected/rules.out