Re: Track the amount of time waiting due to cost_delay
Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
From: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: "Imseih (AWS), Sami" <simseih@amazon.com>, Masahiko Sawada <sawada.mshk@gmail.com>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>, Robert Haas <robertmhaas@gmail.com>
Date: 2024-10-11T17:12:34Z
Lists: 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 delay time to VACUUM/ANALYZE (VERBOSE) and autovacuum logs.
- 7720082ae532 18.0 landed
-
Add cost-based vacuum delay time to progress views.
- bb8dff9995f2 18.0 landed
-
Add is_analyze parameter to vacuum_delay_point().
- e5b0b0ce1509 18.0 landed
-
Refresh cost-based delay params more frequently in autovacuum
- 7d71d3dd080b 16.0 cited
Attachments
Hi, On Thu, Sep 19, 2024 at 07:54:21AM +0000, Bertrand Drouvot wrote: > Hi, > > On Wed, Sep 18, 2024 at 04:04:53PM -0500, Nathan Bossart wrote: > > On Thu, Sep 05, 2024 at 04:59:54AM +0000, Bertrand Drouvot wrote: > > > Please find attached v6, a mandatory rebase due to catversion bump conflict. > > > I'm removing the catversion bump from the patch as it generates too frequent > > > conflicts (just mention it needs to be done in the commit message). > > > > v6 looks generally reasonable to me. > > Thanks for looking at it! > > > I think the > > nap_time_since_last_report variable needs to be marked static, though. > > Agree. Please find attached v7 where nap_time_since_last_report is declared as static. That's the only change as compared to v6. Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com