Re: scalability bottlenecks with (many) partitions (and more)
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Andres Freund <andres@anarazel.de>, Tomas Vondra <tomas@vondra.me>,
Jakub Wartak <jakub.wartak@enterprisedb.com>,
Robert Haas <robertmhaas@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-03-05T00:16:33Z
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
Andrew Dunstan <andrew@dunslane.net> writes: > On 2025-03-04 Tu 5:28 PM, Tom Lane wrote: >> ... I eventually concluded that there's >> something wrong with the "scalar glob()" idiom you used. > Well, in scalar context it should give us back the first item found, or > undef if nothing is found, AIUI. That's what I would have thought too, but it didn't seem to work that way when I was testing the logic standalone: the script processed or skipped directories according to no rule that I could figure out. Anyway, for the moment I think we're all right with just the directory path fix. regards, tom lane