pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add progress reporting for CLUSTER and VACUUM FULL.
Date: Mon, 25 Mar 2019 15:02:42 +0000
Message-ID: <E1h8R7a-0000U8-Ng@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6f97457e0ddd8b421ca5e483439ef0318e6fc89a

Modified Files
--------------
doc/src/sgml/monitoring.sgml         | 199 +++++++++++++++++++++++++++++++++--
src/backend/catalog/index.c          |   9 ++
src/backend/catalog/system_views.sql |  27 +++++
src/backend/commands/cluster.c       |  88 ++++++++++++++++
src/backend/utils/adt/pgstatfuncs.c  |   2 +
src/include/catalog/catversion.h     |   2 +-
src/include/commands/progress.h      |  23 ++++
src/include/pgstat.h                 |   3 +-
src/test/regress/expected/rules.out  |  28 +++++
9 files changed, 373 insertions(+), 8 deletions(-)



Message-ID: <E1h8R7a-0000U8-Ng@gemulon.postgresql.org>
Permalink:  ../E1h8R7a-0000U8-Ng@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1h8R7a-0000U8-Ng@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Add progress reporting for CLUSTER and VACUUM FULL.
  In-Reply-To: <E1h8R7a-0000U8-Ng@gemulon.postgresql.org>
  References: <E1h8R7a-0000U8-Ng@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox