| From: | "Imseih (AWS), Sami" <simseih(at)amazon(dot)com> |
|---|---|
| To: | Andres Freund <andres(at)anarazel(dot)de> |
| Cc: | Nathan Bossart <nathandbossart(at)gmail(dot)com>, Peter Geoghegan <pg(at)bowt(dot)ie>, "Bossart, Nathan" <bossartn(at)amazon(dot)com>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> |
| Subject: | Re: Add index scan progress to pg_stat_progress_vacuum |
| Date: | 2022-04-05 18:45:09 |
| Message-ID: | 35855EFB-80FC-4AA3-81A3-2C2DD458A91C@amazon.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> Can't the progress data trivially be inferred by the fact that the worker
> completed?
Yes, at some point, this idea was experimented with in
0004-Expose-progress-for-the-vacuuming-indexes-cleanup-ph.patch.
This patch did the calculation in system_views.sql
However, the view is complex and there could be some edge
cases with inferring the values that lead to wrong values being reported.
Regards,
Sami Imseih
Amazon Web Services
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2022-04-05 18:59:53 | Re: Improve documentation for pg_upgrade, standbys and rsync |
| Previous Message | David G. Johnston | 2022-04-05 18:26:09 | Re: shared-memory based stats collector - v68 |