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 1vrppw-008bou-1E for pgsql-performance@arkaria.postgresql.org; Mon, 16 Feb 2026 04:03:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vrppu-003QKD-2l for pgsql-performance@arkaria.postgresql.org; Mon, 16 Feb 2026 04:03:50 +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 1vrppu-003QK4-1l for pgsql-performance@lists.postgresql.org; Mon, 16 Feb 2026 04:03:50 +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.98.2) (envelope-from ) id 1vrppr-00000000pLg-3sT5 for pgsql-performance@postgresql.org; Mon, 16 Feb 2026 04:03:49 +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 61G43g9Q1007983; Sun, 15 Feb 2026 23:03:42 -0500 From: Tom Lane To: Clive Boughton cc: pgsql-performance@postgresql.org Subject: Re: A serious change in performance between PG 15 and PG 16, 17, 18. In-reply-to: <5A68A5FD-3CD2-4863-B274-51804235BE3C@softimp.com.au> References: <5A68A5FD-3CD2-4863-B274-51804235BE3C@softimp.com.au> Comments: In-reply-to Clive Boughton message dated "Mon, 16 Feb 2026 14:49:02 +1100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1007981.1771214622.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 15 Feb 2026 23:03:42 -0500 Message-ID: <1007982.1771214622@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Clive Boughton writes: > When I recently upgraded to PG 18.1 (without any changes to the DB funct= ions or tables, or indexing) it took 7-10 hours to produce the same result= - a 300-600 times decrease in performance. This complaint is completely un-actionable for lack of relevant details. There are some hints here about describing performance problems usefully: https://wiki.postgresql.org/wiki/Slow_Query_Questions regards, tom lane