| From: | Sami Imseih <samimseih(dot)pg(at)gmail(dot)com> |
|---|---|
| To: | Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Cc: | Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com> |
| Subject: | parallel autovacuum: Propagate track_cost_delay_timing to parallel workers |
| Date: | 2026-09-25 15:41:30 |
| Message-ID: | CAN12+YJZaALd3zMeKVVRTwcuY5_yDtR_vMPwWc8QNgeYxrn4Zg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
Here is a small patch to propagate track_cost_delay_timing to parallel
autovacuum workers. 1ff3180ca01 propagates the cost-based delay
parameters via PVSharedCostParams but left this one out, so a worker keeps
the value it inherited at parallel start, and workers will not report
sleep time if the GUC is turned on mid-flight.
This only impacts delay reporting, but should be backpatched to 19 which
introduced parallel autovacuum.
CC Sawada-san and Zsolt since there is a related discussion in [1], though
that one is about throttling.
--
Sami Imseih
Amazon Web Services (AWS)
| Attachment | Content-Type | Size |
|---|---|---|
| v1-0001-Propagate-track_cost_delay_timing-to-parallel-aut.patch | application/octet-stream | 4.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Viktor Holmberg | 2026-09-25 15:41:47 | Re: ON CONFLICT DO SELECT returns rows hidden by a view |
| Previous Message | shihao zhong | 2026-09-25 15:29:50 | Re: REPACK (CONCURRENTLY) can silently lose updates when the toast table is rewritten |