Re: parallel vacuum comments
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: "houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>,
Peter Geoghegan <pg@bowt.ie>, Andres Freund <andres@anarazel.de>
Date: 2021-12-10T12:08:43Z
Lists: pgsql-hackers
Attachments
- v8-0001-Improve-parallel-vacuum-implementation.patch (application/octet-stream) patch v8-0001
On Thu, Dec 9, 2021 at 6:05 PM Masahiko Sawada <sawada.mshk@gmail.com> wrote: > > On Thu, Dec 9, 2021 at 7:44 PM Amit Kapila <amit.kapila16@gmail.com> wrote: > > Agreed with the above two points. > > I've attached updated patches that incorporated the above comments > too. Please review them. > I have made the following minor changes to the 0001 patch: (a) An assert was removed from dead_items_max_items() which I added back. (b) Removed an unnecessary semicolon from one of the statements in compute_parallel_vacuum_workers(). (c) Changed comments at a few places. (d) moved all parallel_vacuum_* related functions together. (e) ran pgindent and slightly modify the commit message. Let me know what you think of the attached? -- With Regards, Amit Kapila.
Commits
-
Move parallel vacuum code to vacuumparallel.c.
- 8e1fae193864 15.0 landed
-
Move index vacuum routines to vacuum.c.
- cc8b25712b5e 15.0 landed
-
Improve parallel vacuum implementation.
- 22bd3cbe0c28 15.0 landed
-
Fix parallel amvacuumcleanup safety bug.
- c59278a1aa5e 15.0 landed
- f6162c020c88 14.1 landed
-
Simplify state managed by VACUUM.
- b4af70cb2103 14.0 cited