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 1uKEfP-00GvZp-Ta for pgsql-performance@arkaria.postgresql.org; Wed, 28 May 2025 11:09:52 +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 1uKEfN-00GTLd-6D for pgsql-performance@arkaria.postgresql.org; Wed, 28 May 2025 11:09:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uKEfM-00GTKV-Ce for pgsql-performance@lists.postgresql.org; Wed, 28 May 2025 11:09:48 +0000 Received: from fout-b1-smtp.messagingengine.com ([202.12.124.144]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uKEfG-000XVJ-2a for pgsql-performance@lists.postgresql.org; Wed, 28 May 2025 11:09:45 +0000 Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfout.stl.internal (Postfix) with ESMTP id C44CA11400D3; Wed, 28 May 2025 07:09:40 -0400 (EDT) Received: from phl-imap-17 ([10.202.2.105]) by phl-compute-02.internal (MEProxy); Wed, 28 May 2025 07:09:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mahdibm.com; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1748430580; x=1748516980; bh=sH58qjD24w 4DgWLhmpQb5QqS4WQwBOpqw1kgzBE5Cs4=; b=c9KkyfejwMNuajRXirP/xQYh/d QZuJdDDsJLBFTERdtBrm0X64cfEtquQOGtDg0Ajd6lJ8kY9vfQDKBMKastyY6hge G3Ehh2sv+JCup8zVgJPi18TthMCjHVQ6jpK/DNM5QJZBGblloo90vv8UtqSiYBhY OAYrKRiU8kENSJp6DcD1ps9SqAYoH5N7apmzbZg1nwANfez0xdU9Cxn3/CqEGipz kiG6NZCWFUs/aSUFoHyXH7CAdk0tmtzq18fSeIOfP5ETcVehnRUBKwQAVTCN330G /WZN9r9v9u+emRaHbmc6DJxZNYdMI/tK/vYxaPTegh5tAsVzZbqKkqTGlNCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1748430580; x=1748516980; bh=sH58qjD24w4DgWLhmpQb5QqS4WQwBOpqw1k gzBE5Cs4=; b=h6hbh7h6Y6fkmXY0nI1yLtA4F/LZA3p1DMsAyltnDuwH/+o9wBw 9KY2PghkXIKVd3Q9xtxwG2B2tJAwYX2BdL8z5V0JTiT7duO4gdmtVhyhamM2VWQT DkJQ+WO9myDr9k39eGO0P3E7JeLZCEZtrneV4aFChKTPXKByu5E1eEes/tp46xSR CDpk7fYn7iip3VjhdTdIBw9l5c4YwHRMUtyNiyI5Krr/rFqUaJ1o2d5g31rIrjY0 55UPdgJr8Pt78qfHB40Kfct5jT0tMswLPuK/ivm/HbuhLh/2iJv+kk/LOiG0UL++ pSqo84Mc95d7lAfjgoW4VDkcc8VV8lHb08A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddtgddvfedutdculddtuddrgeefvddrtd dtmdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggft fghnshhusghstghrihgsvgdpuffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftd dtnecunecujfgurhepofggfffhvfevkfgjfhfutgesrgdtreerredttdenucfhrhhomhep fdforghhughiuceurghhrhgrmhhifdcuoehpghhsqhhlsehmrghhughisghmrdgtohhmqe enucggtffrrghtthgvrhhnpeeliefhledvtddtjeejkeetgeetudeltdetfeffleeukedt tdefhfegteegiefggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehpghhsqhhlsehmrghhughisghmrdgtohhmpdhnsggprhgtphhtthhopedv pdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegrlhhvhhgvrhhrvgeskhhurhhilh gvmhhurdguvgdprhgtphhtthhopehpghhsqhhlqdhpvghrfhhorhhmrghntggvsehlihhs thhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ib7d648f3:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 449BBC40065; Wed, 28 May 2025 07:09:40 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: T9df08ae4920d62bd Date: Wed, 28 May 2025 14:39:20 +0330 From: "Mahdi Bahrami" To: =?UTF-8?Q?=C3=81lvaro_Herrera?= Cc: pgsql-performance@lists.postgresql.org Message-Id: In-Reply-To: <202505271507.xvfbdztae74a@alvherre.pgsql> References: <202505271507.xvfbdztae74a@alvherre.pgsql> Subject: Re: Database creation performance drop going from pg 14 to pg 15+ Content-Type: multipart/alternative; boundary=5952d84869b94752b4d3c6bd3cfcf512 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --5952d84869b94752b4d3c6bd3cfcf512 Content-Type: text/plain Content-Transfer-Encoding: 7bit Thanks for the hint, that was exactly it! I also asked the original author of the issue and he has confirmed the performance of pg 15+ now matches those of pg 13/14. As mentioned "This issue is not necessarily a big deal to us, but can anyone please explain the why?" so it was partially out of curiosity, and partially because of the way the author of the issue is using Postgres which apparently is sensitive to these milliseconds. Not exactly sure what's their set up, but they did mention with the PostgresNIO SASL improvements which saves only some 10-20-30-40 milliseconds or so, their tests now run in 15s instead of 1m30s, which then it means they can now use pg versions higher than pg 13 and still have around the same performance. I think they run tests in parallel, and they possibly recreate the whole DB once for each test. --5952d84869b94752b4d3c6bd3cfcf512 Content-Type: text/html Content-Transfer-Encoding: 7bit
Thanks for the hint, that was exactly it! I also asked the original author of the issue and he has confirmed the performance of pg 15+ now matches those of pg 13/14.

As mentioned "This issue is not necessarily a big deal to us, but can anyone please explain the why?" so it was partially out of curiosity, and partially because of the way the author of the issue is using Postgres which apparently is sensitive to these milliseconds.

Not exactly sure what's their set up, but they did mention with the PostgresNIO SASL improvements which saves only some 10-20-30-40 milliseconds or so, their tests now run in 15s instead of 1m30s, which then it means they can now use pg versions higher than pg 13 and still have around the same performance.
I think they run tests in parallel, and they possibly recreate the whole DB once for each test.


--5952d84869b94752b4d3c6bd3cfcf512--