Re: POC: Parallel processing of indexes in autovacuum

Daniil Davydov <3danissimo@gmail.com>

From: Daniil Davydov <3danissimo@gmail.com>
To: zengman <zengman@halodbtech.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-01-07T20:52:04Z
Lists: pgsql-hackers
Hi,

On Wed, Jan 7, 2026 at 8:51 PM zengman <zengman@halodbtech.com> wrote:
>
> I noticed one thing: autovacuum_max_parallel_workers is initialized to 0 in globals.c,
> but its GUC default (boot_val) is '2' in guc_parameters.dat. While GUC overrides it on startup,
> this mismatch may cause confusion. Perhaps we should modify this to match the approach for max_parallel_workers.
>

Good catch, thank you!
I'll fix it in the next version of the patch.

--
Best regards,
Daniil Davydov



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Allow autovacuum to use parallel vacuum workers.

  2. Add parallel vacuum worker usage to VACUUM (VERBOSE) and autovacuum logs.

  3. doc: Put new options in consistent order on man pages