Re: BUG #17717: Regression in vacuumdb (15 is slower than 10/11 and possible memory issue)
Christophe Pettus <xof@thebuild.com>
From: Christophe Pettus <xof@thebuild.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Tom Lane <tgl@sss.pgh.pa.us>,
postgresql@taljaren.se,
pgsql-bugs@lists.postgresql.org,
Peter Geoghegan <pg@bowt.ie>
Date: 2022-12-18T02:23:27Z
Lists: pgsql-bugs, pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add options to control whether VACUUM runs vac_update_datfrozenxid.
- a46a7011b271 16.0 landed
-
Use catalog query to discover tables to process in vacuumdb
- e0c2933a767c 12.0 cited
> In order to control all that, rather than a hardcoded rule, could it > be as simple as introducing an option like vacuumdb --batch=N > defaulting to 1 to let users control the number of relations grouped > in a single command with a round robin distribution for each slot? My first reaction to that is: Is it possible to explain to a DBA what N should be for a particular cluster?