Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ozw6N-0004Im-NC for pgsql-performance@arkaria.postgresql.org; Tue, 29 Nov 2022 08:36:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ozw6L-00051E-T0 for pgsql-performance@arkaria.postgresql.org; Tue, 29 Nov 2022 08:36:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ozw6L-000514-K0 for pgsql-performance@lists.postgresql.org; Tue, 29 Nov 2022 08:36:25 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ozw6F-000139-2b for pgsql-performance@lists.postgresql.org; Tue, 29 Nov 2022 08:36:24 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id A8B763200979; Tue, 29 Nov 2022 03:36:17 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 29 Nov 2022 03:36:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1669710977; x=1669797377; bh=T MvykRcmexFWNFtz9Sv5h7z1za9MKoHK/Ck9cQszJrE=; b=fKM5vVygOoUG0wXiq 98TXfiiJD0MHRz7fHFlJAm9w7EpFKW0t6RUdc0818KXjkP1JPEEqXm2x6wHgnk+9 9pwgz1OzzPTy2EZbQlCcGvyB5ggaXOins8kGyeKj8kCWNsjwEHQijHDmo7Tl/Le2 gHJWce7LQUBAEJfYjXZpFH/TRNmQ/11QT5xe7Ee6dtQL8HaCUkr6ajdHVvvyFxXR FrovRDE/d1GNk1+OX4gNIwpfO+2YC/QCRKGY5SJUYx1z4q1jeL/B5dTycxVh479G obJFXEKKvRaydD+3zWlY1wEENJ69j9UgPQkAgXGiXbrDEaIU7zBF8RCIx85Kq+cB DjD3g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrjeefgdduvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffhjeejhffgieeuueekjeek fffgudffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhv hhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 29 Nov 2022 03:36:16 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 5DFB0E98; Tue, 29 Nov 2022 09:36:15 +0100 (CET) Date: Tue, 29 Nov 2022 09:36:15 +0100 From: Alvaro Herrera To: Mladen Gogala Cc: pgsql-performance@lists.postgresql.org Subject: Re: Catching up with performance & PostgreSQL 15 Message-ID: <20221129083615.fseqfvd5svtjbrb6@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7dff29ee-de7c-00b6-4efb-064b9df1c871@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-Nov-28, Mladen Gogala wrote: > As for JIT, I've recently asked that question myself. I was told that > PostgreSQL with LLVM enabled performs approximately 25% better than without > it. Hmm, actually, normally you're better off turning JIT off, because it's very common to diagnose cases of queries that become much, much slower because of it. Some queries do become faster, but it's not a wide margin, and it's not a lot. There are rare cases where JIT is beneficial, but those tend to be queries that take upwards of several seconds already. IMO it was a mistake to turn JIT on in the default config, so that's one thing you'll likely want to change. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end." (2nd Commandment for C programmers)