Re: n_ins_since_vacuum stats for aborted transactions
David G. Johnston <david.g.johnston@gmail.com>
From: "David G. Johnston" <david.g.johnston@gmail.com>
To: Sami Imseih <samimseih@gmail.com>
Cc: Euler Taveira <euler@eulerto.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-04-09T18:49:07Z
Lists: pgsql-hackers
On Wed, Apr 9, 2025 at 11:32 AM Sami Imseih <samimseih@gmail.com> wrote: > The purpose of b07642dbcd8d is to trigger autovacuum for append only/mainly > workloads that don't generate dead tuples. > > Why does counting or not counting the dead tuples matter? Forget original purpose, is there presently a bug or not? Between the two options the one where we count dead tuples makes more sense on its face. David J.
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add code comment explaining ins_since_vacuum and aborted inserts
- 530050d8d285 18.0 landed
-
Trigger autovacuum based on number of INSERTs
- b07642dbcd8d 13.0 cited