Re: PgSQL 15.3: Execution plan not using index as expected

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Dürr Software <info(at)fduerr(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: PgSQL 15.3: Execution plan not using index as expected
Date: 2023-08-10 14:41:01
Message-ID: fd6c587b-6694-aeb3-063d-38b3243dc455@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8/9/23 01:14, Dürr Software wrote:
> Dear list,
>
> i have a strange problem when migrating a DB from version 9.3.4 to 15.3:
> An index which seems perfect for the query and is used in 9.3.4 as
> expected is not used in 15.3.

Did you run ANALYZE on the 15.3 database after the migration?

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2023-08-10 16:06:58 Re: How to set default privilege for new users to have no access to other databases?
Previous Message Ashok Patil 2023-08-10 05:11:37 Query regarding certificate authentication in postgres