Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3

From: <vincent(dot)moreau(at)leroymerlin(dot)fr>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3
Date: 2007-03-13 11:11:54
Message-ID: 45F686FA.2090909@leroymerlin.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

I have attached the requested information.

You will see that the query is quite messy and could be easily improved.
Unfortunately, it came from a third party application and we do not have
access to the source code.

Thanks for your help,

Best Regards,
Vincent

Michael Fuhr wrote:
> On Tue, Mar 13, 2007 at 09:19:47AM +0100, vincent(dot)moreau(at)leroymerlin(dot)fr wrote:
>
>> Is there an option in the 8.2.3 to change in order to have the same
>> execution plan than before ?
>>
>
> Let's see if we can figure out why 8.2.3 is choosing a bad plan.
> Have you run ANALYZE on the tables in 8.2.3? Could you post the
> query and the complete output of EXPLAIN ANALYZE (preferably without
> wrapping) for both versions?
>
>

Ce message et toutes les pièces jointes sont établis à l'attention exclusive de leurs destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d'en avertir immédiatement l'expéditeur. L'internet ne permettant pas d'assurer l'intégrité de ce message, le contenu de ce message ne représente en aucun cas un engagement de la part de Leroy Merlin.

Attachment Content-Type Size
explain.out text/plain 17.6 KB

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Richard Huxton 2007-03-13 11:26:43 Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3
Previous Message Heikki Linnakangas 2007-03-13 11:06:31 Re: Postgres batch write very slow - what to do