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 1uFuXZ-00AG5U-0b for pgsql-bugs@arkaria.postgresql.org; Fri, 16 May 2025 12:51:53 +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 1uFuXW-001wrp-Be for pgsql-bugs@arkaria.postgresql.org; Fri, 16 May 2025 12:51:50 +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 1uFuXW-001wrh-3L for pgsql-bugs@lists.postgresql.org; Fri, 16 May 2025 12:51:50 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uFuXT-002BmC-0R for pgsql-bugs@lists.postgresql.org; Fri, 16 May 2025 12:51:49 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 54GCphgP1908481; Fri, 16 May 2025 08:51:43 -0400 From: Tom Lane To: Sajith Prabhakar Shetty cc: "pgsql-bugs@lists.postgresql.org" Subject: Re: Postgres: Queries are too slow after upgrading to PG17 from PG15 In-reply-to: References: <11970.1747323991@sss.pgh.pa.us> Comments: In-reply-to Sajith Prabhakar Shetty message dated "Thu, 15 May 2025 16:21:10 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <16973.1747399903.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 16 May 2025 08:51:43 -0400 Message-ID: <16974.1747399903@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Sajith Prabhakar Shetty writes: > In my first test, I used pg_upgrade to upgrade the instance from 15 to 1= 7, and in my second test, I created PG15 and PG17 separately from brew rep= o, I don=E2=80=99t think I am using debug build here. Might be worth checking the brew recipes... it's common for packagers to set the debug option for beta versions, and I could believe that whoever packages PG for HomeBrew forgot to take that out again for 17.0. But, assuming it's not that, could you put together a self-contained test case that demos what you're seeing? regards, tom lane