Re: scalability bottlenecks with (many) partitions (and more)
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Tomas Vondra <tomas@vondra.me>
Cc: Jakub Wartak <jakub.wartak@enterprisedb.com>, Robert Haas <robertmhaas@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-03-03T18:10:08Z
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 →
-
Make FP_LOCK_SLOTS_PER_BACKEND look like a function
- c878de1db438 18.0 landed
-
Fix asserts in fast-path locking code
- a7e5237f268e 18.0 landed
-
Increase the number of fast-path lock slots
- c4d5cb71d229 18.0 landed
Hi, On 2024-09-21 20:33:49 +0200, Tomas Vondra wrote: > I've finally pushed this, after many rounds of careful testing to ensure > no regressions, and polishing. One minor nit: I don't like that FP_LOCK_SLOTS_PER_BACKEND is now non-constant while looking like a constant: #define FP_LOCK_SLOTS_PER_BACKEND (FP_LOCK_SLOTS_PER_GROUP * FastPathLockGroupsPerBackend) I don't think it's a good idea to have non-function-like #defines that reference variables that can change from run to run. Greetings, Andres Freund