Re: A serious change in performance between PG 15 and PG 16, 17, 18. - Mailing list pgsql-performance

From Joe Conway
Subject Re: A serious change in performance between PG 15 and PG 16, 17, 18.
Date
Msg-id b0752470-6536-4a00-a00a-b2111986b2fd@joeconway.com
Whole thread Raw
In response to A serious change in performance between PG 15 and PG 16, 17, 18.  (Clive Boughton <clive.boughton@softimp.com.au>)
Responses Re: A serious change in performance between PG 15 and PG 16, 17, 18.
List pgsql-performance
On 2/15/26 22:49, Clive Boughton wrote:
> After adding quite basic indexing, that time was reduced to 1 or 2
> minutes. PG 10.2 remained in place until 2023 when the DB was
> upgraded to PG 15.2 with no problems. In fact performance increased.

> When I recently upgraded to PG 18.1 (without any changes to the DB 
> functions or tables, or indexing) it took 7-10 hours to produce the same 
> result - a *300-600 times decrease in performance*.

> My first step was to reduce the jump in versioning of PG from 15 to 18 
> down to 15 - 16.  This action produced the same very poor performance 
> result as when using PG 18.1


Are some of your indexes on collatable columns? If so, what version of 
glibc is on each of your systems (i.e. did you change OS major versions)?


-- 
Joe Conway
PostgreSQL Contributors Team
Amazon Web Services: https://aws.amazon.com



pgsql-performance by date:

Previous
From: Greg Sabino Mullane
Date:
Subject: Re: Postgres IO sweet spot
Next
From: Riaan Stander
Date:
Subject: Re: Postgres IO sweet spot