From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Dürr Software <info@fduerr.de>
To: pgsql-general@postgresql.org
Subject: Re: PgSQL 15.3: Execution plan not using index as expected
Date: Thu, 10 Aug 2023 07:41:01 -0700
Message-ID: <fd6c587b-6694-aeb3-063d-38b3243dc455@aklaver.com> (raw)
In-Reply-To: <e7534f4d-489f-e29f-9932-834853445814@fduerr.de>
References: <e7534f4d-489f-e29f-9932-834853445814@fduerr.de>
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.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, info@fduerr.de
Subject: Re: PgSQL 15.3: Execution plan not using index as expected
In-Reply-To: <fd6c587b-6694-aeb3-063d-38b3243dc455@aklaver.com>
References: <e7534f4d-489f-e29f-9932-834853445814@fduerr.de> <fd6c587b-6694-aeb3-063d-38b3243dc455@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox