Re: CLUSTER command progress monitor
Jeff Janes <jeff.janes@gmail.com>
From: Jeff Janes <jeff.janes@gmail.com>
To: Tatsuro Yamada <yamada.tatsuro@lab.ntt.co.jp>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-09-15T18:09:13Z
Lists: pgsql-hackers
On Wed, Aug 30, 2017 at 7:12 PM, Tatsuro Yamada < yamada.tatsuro@lab.ntt.co.jp> wrote: > > The view provides the information of CLUSTER command progress details as > follows > postgres=# \d pg_stat_progress_cluster > View "pg_catalog.pg_stat_progress_cluster" > Column | Type | Collation | Nullable | Default > ---------------------+---------+-----------+----------+--------- > pid | integer | | | > datid | oid | | | > datname | name | | | > relid | oid | | | > phase | text | | | > scan_method | text | | | > scan_index_relid | bigint | | | > heap_tuples_total | bigint | | | > heap_tuples_scanned | bigint | | | > I think it should be cluster_index_relid, not scan_index_relid. If the scan_method is seq, then the index isn't being scanned. Cheers, Jeff
Commits
-
Fix progress reporting of CLUSTER / VACUUM FULL
- 6212276e4343 13.0 landed
- da47e43dc32e 12.0 landed
-
Fix thinko when ending progress report for a backend
- f4b91a50e9e6 9.6.16 landed
- 4950f09e7ae2 10.11 landed
- af28744288b1 11.6 landed
- 4c3e750ab4b5 12.0 landed
- ae060a52b288 13.0 landed
-
Report progress of REINDEX operations
- 03f9e5cba0ee 12.0 cited
-
Add progress reporting for CLUSTER and VACUUM FULL.
- 6f97457e0ddd 12.0 landed
-
Un-hide most cascaded-drop details in regression test results.
- 940311e4bb32 12.0 cited
-
Fix memory leak in printtup.c.
- f2004f19ed9c 12.0 cited
-
Remove unused macro
- fb5806533f9f 12.0 cited