Re: Report index currently being vacuumed in pg_stat_progress_vacuum - Mailing list pgsql-hackers

From Sami Imseih
Subject Re: Report index currently being vacuumed in pg_stat_progress_vacuum
Date
Msg-id CAN12+YKmLS5VvPO269A2op8hmkHJLzd2WKKZ4Fa1_PHT3HDBsw@mail.gmail.com
Whole thread
In response to Re: Report index currently being vacuumed in pg_stat_progress_vacuum  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
v8- looks good to me.

Only one doc nit:

+    During a parallel vacuum, the leader and each of its workers reports its
+    own row, all sharing the same <structfield>relid</structfield>.  Only
+    <structfield>phase</structfield>,

I think we should make it more clear about how long the worker rows exist
for. Maybe the below:

During parallel index vacuuming or cleanup, the leader and each active
worker report separate rows, all sharing the same
<structfield>relid</structfield>.  Worker rows exist only while the worker is
performing parallel vacuum work.

--
Sami



pgsql-hackers by date:

Previous
From: shihao zhong
Date:
Subject: Commitfest PG20-2 is now closed
Next
From: Grigorev Jurij
Date:
Subject: Re: BUG #19599: RestoreBlockImage: the decode cross-checks never bound hole_offset + hole_length against BLCKSZ