Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tpb5T-008gGf-Lr for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Mar 2025 22:50:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tpb5S-00AMVH-7N for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Mar 2025 22:50:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tpb5R-00AMTm-Ts for pgsql-hackers@lists.postgresql.org; Tue, 04 Mar 2025 22:50:05 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tpb5Q-000zVw-0K for pgsql-hackers@lists.postgresql.org; Tue, 04 Mar 2025 22:50:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 524Mnv2K201793; Tue, 4 Mar 2025 17:49:57 -0500 From: Tom Lane To: Andrew Dunstan cc: Andres Freund , Tomas Vondra , Jakub Wartak , Robert Haas , PostgreSQL Hackers Subject: Re: scalability bottlenecks with (many) partitions (and more) In-reply-to: <200085.1741127335@sss.pgh.pa.us> References: <7c1eeafb-2375-4ff6-8469-0640d52d44ed@vondra.me> <5xahykogf2sg3ofdqk2li7xx3t2vh23m42jnvfwxoi5fhh7iya@girlhoxdxjzc> <486baeb2-2adc-48d2-ba9d-13c4ae43301c@vondra.me> <733e72fa-5fc2-48fc-ab1f-1d8f1ab387c3@vondra.me> <193453.1741123834@sss.pgh.pa.us> <197167.1741125678@sss.pgh.pa.us> <8a1a5c10-0644-4ea0-a9e8-73d3a2908e18@dunslane.net> <200085.1741127335@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Tue, 04 Mar 2025 17:28:55 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <201791.1741128597.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 04 Mar 2025 17:49:57 -0500 Message-ID: <201792.1741128597@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andrew Dunstan writes: >> I think I found a logic bug. Testing. Oh! I bet you are looking at this 18-to-19 diff: @@ -416,7 +416,8 @@ sub check_install_is_complete { $tmp_loc =3D "$tmp_loc/$install_dir"; $bindir =3D "$tmp_loc/bin"; - $libdir =3D "$tmp_loc/lib/postgresql"; + $libdir =3D "$tmp_loc/lib"; + $libdir .=3D '/postgresql' unless $libdir =3D~ /postgres|pgsql/; return (-d $bindir && -d $libdir); } elsif (-e "$build_dir/src/Makefile.global") # i.e. not msvc @@ -427,7 +428,8 @@ sub check_install_is_complete chomp $suffix; $tmp_loc =3D "$tmp_loc/$install_dir"; $bindir =3D "$tmp_loc/bin"; - $libdir =3D "$tmp_loc/lib/postgresql"; + $libdir =3D "$tmp_loc/lib"; + $libdir .=3D '/postgresql' unless $libdir =3D~ /postgres|pgsql/; } = I'd dismissed that because sifaka isn't running in a directory that has "postgres" or "pgsql" in its path, but just now I looked at the logs of one of these steps, and guess where it's installing: /usr/bin/make -C '../../../..' DESTDIR=3D'/Users/buildfarm/bf-data/HEAD/pg= sql.build'/tmp_install install >'/Users/buildfarm/bf-data/HEAD/pgsql.build= '/tmp_install/log/install.log 2>&1 I bet the "pgsql.build" name is confusing it into doing extra installs. This'd explain the impression I had that the test steps were running a bit slower than they ought to. If you check sifaka's just-posted green run against its history, that run took 13:48 versus recent times of 10:35 or thereabouts, so we're definitely eating a good deal of time someplace... regards, tom lane