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.96) (envelope-from ) id 1w59jy-002xAW-0M for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Mar 2026 21:56:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w59jw-009Dt5-06 for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Mar 2026 21:56:44 +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.96) (envelope-from ) id 1w59jv-009Dsw-2Q for pgsql-hackers@lists.postgresql.org; Tue, 24 Mar 2026 21:56:44 +0000 Received: from fout-a7-smtp.messagingengine.com ([103.168.172.150]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w59ju-00000000rNd-17sk for pgsql-hackers@postgresql.org; Tue, 24 Mar 2026 21:56:43 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 78E41EC00FF; Tue, 24 Mar 2026 17:56:41 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Tue, 24 Mar 2026 17:56:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-transfer-encoding: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=fm1; t=1774389401; x=1774475801; bh=Ti2dSuJzC3d47B1IoKVOSoePiysgfw6j21VnM2F6Fa0=; b= KbhpJRiaYyT1Mmu3+dLBpxpKN7YKH2ND6yNu2A7zW7Mi2sNXuTALYMIfzcwxYbX7 chWwC+WwnUcMvDWBmvupb5iUQrlevZllfIaw5LvMBsQ1EVDe3tuqxHeFaF7qhA/4 j7C/3URyfS7H2J68u62wt1BJ1B7YhCkwTbKG45ZDLc7CaN4qY/PfgsL7yqohA6Vp lhUPstu7N0VFgufH8WLgz3YiLoM1F40F2sstqycgTngxZf/v8DYQDvslZpg7xBq/ a0skHgb25a1j0i42HxDmVWgpQM6HSH9Eo1HJri7ERAyA4Iwi95tO10d2bPsnTdmP MHl/SlrOi+Pah+/B0F6Hiw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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=1774389401; x= 1774475801; bh=Ti2dSuJzC3d47B1IoKVOSoePiysgfw6j21VnM2F6Fa0=; b=o yw+z1liwbGTRtqKd7fMpjnoteXdPCYH6cCgULk62me3UPnU444aawzl6ctVOnqZD Qph9LmtGJR0qQlCVSxe6DynVjDCzEQ6fXr6uaVOaR7sjWq5uS+WcJKWx//B3lBwE cEHEIOgrcIE50LPe2G2UbhDMS2/itFetkLGF2IKaxP8O12pUITxrDgHTx2h86lip vBVrAIShwsZplZW3GvhzQOK+Y1fKp/a+TdIO2R2piKVINEzAPMscSqsaBXd49oPm rK+8LjGOOieSZ1gwArbqNC9FpajqSfXTtKYLjxqfsVNfP2qwzgu9n66bpVjczQ8a rO5CHWm/evsWTwJRKo0kg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefvddvjedvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkfhggtggugfgjsehtkefstddttddunecuhfhrohhmpeetnhgurhgv shcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrg htthgvrhhnpeehvdefffdujeevlefgheekueeuueevgfethfeivdffkeeufeehueeufeei teeugeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grnhgurhgvshesrghnrghrrgiivghlrdguvgdpnhgspghrtghpthhtohepudegpdhmohgu vgepshhmthhpohhuthdprhgtphhtthhopegrughrihgvnhdrnhgrhihrrghtsegrnhgrhi hrrghtrdhinhhfohdprhgtphhtthhopegrnhhthhhonhhinhdrsghonhhnvghfohihsegu rghtrgguohhghhhqrdgtohhmpdhrtghpthhtohepmhihohhnseguvggsihgrnhdrohhrgh dprhgtphhtthhopegvuhhlvghrsegvuhhlvghrthhordgtohhmpdhrtghpthhtohephhht rghmfhhiughssehgmhgrihhlrdgtohhmpdhrtghpthhtohepmhgsrghntghksehgmhigrd hnvghtpdhrtghpthhtohepphhoshhtghhrvghssehjvghlthgvfhdrnhhlpdhrtghpthht oheprghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvpdhrtghpthhtohepphhgshhqlh dqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 24 Mar 2026 17:56:39 -0400 (EDT) Date: Tue, 24 Mar 2026 17:56:39 -0400 From: Andres Freund To: Pierre Ducroquet Cc: Tom Lane , Tomas Vondra , Jelte Fennema-Nio , Greg Sabino Mullane , Adrien Nayrat , Christoph Berg , Euler Taveira , =?utf-8?Q?=C3=81lvaro?= Herrera , PostgreSQL Hackers , Andreas Karlsson , Anthonin Bonnefoy , pgsql-hackers , Michael Banck Subject: Re: Change default of jit to off Message-ID: References: <49490d8d-e8b9-497b-9a58-712daadb9ca9@anayrat.info> <5b5d04c3-e34e-4ae9-8b39-12b52e63154a@vondra.me> <1629115.1774023867@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2026-03-23 06:33:33 +0000, Pierre Ducroquet wrote: > Le vendredi 20 mars 2026 à 5:25 PM, Tom Lane a écrit : > > > Tomas Vondra writes: > > > ISTM there's a clear consensus to get this committed for PG19, so > > > barring objections I'll take care of that in the next couple days. > > > Unless someone else wants to ... > > > > +1 > > > > > Another option would be to leave that for mid-beta, which is where we > > > tweaked the io_method GUCs last year. But we did that to get some > > > testing for 'worker' (in case we revert to 'sync'), and we don't need > > > that for jit. > > > > Doesn't seem like something to change mid-beta. If it makes anyone > > unhappy, we'd best find out sooner not later. > > I've not seen any feedback on my "counter"-proposal: switch > jit_tuple_deforming to off by default. Sure, for the perfect llvmjit use > cases this will reduce the performance benefits, but it will remove most if > not all the problematic queries (for instance queries running on many > partitions, adding/moving columns leading to explosions in compilation > time...) Of course if there are other troublesome situations, I would love > being proven wrong. I doubt that that addresses the problem in any meaningful way. In nearly all the cases I've looked at expression compilation completely dominates the cost, due to being instantiated for every partition etc. So I'm rather surprised to see this claim? We should add the function deduplication pass for O0, to reduce the cost of tuple deforming when accessing many partitions, but in my measurements that isn't the critical path right now. Greetings, Andres Freund