Re: scalability bottlenecks with (many) partitions (and more)
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
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:13:19Z
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
On 2025-03-04 Tu 6:04 PM, Tom Lane wrote:
> Andrew Dunstan<andrew@dunslane.net> writes:
>> Will check your patch out too.
> Comparing previous run against current, I now see that my patch
> caused it to skip these steps:
>
> module-ldap_password_func-check
> module-pg_bsd_indent-check
> contrib-sepgsql-check
>
> Skipping the ldap and sepgsql tests is desirable, but it shouldn't
> have skipped pg_bsd_indent. I think the cause of that is that
> src/tools/pg_bsd_indent isn't built in any of the previous build
> steps. Up to now it got built as a side-effect of invoking the
> tests, which isn't great because any build errors/warnings disappear
> into the install log which the script doesn't capture. I agree
> with not capturing the install log, because that's generally
> uninteresting once we get past make-install; but we have to be sure
> that everything gets built before that.
Yeah ... I think an easy fix is to put this in make_testmodules():
+
+ # build pg_bsd_indent at the same time
+ # this doesn't really belong here, but it's convenient
+ if (-d "$pgsql/src/tools/pg_bsd_indent" && !$status)
+ {
+ my @indentout = run_log("cd
$pgsql/src/tools/pg_bsd_indent && $make_cmd");
+ $status = $? >> 8;
+ push(@makeout,@indentout);
+ }
A lot of this special processing goes away when we're building with meson.
cheers
andrew
--
Andrew Dunstan
EDB:https://www.enterprisedb.com