Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3
Дата
Msg-id
20070313130945.GB4490@alvh.no-ip.org
Ответ на
Список
Дерево обсуждения
Execution plan changed after upgrade from 7.3.9 to 8.2.3 <vincent.moreau@leroymerlin.fr>
Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3 Michael Fuhr <mike@fuhr.org>
Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3 <vincent.moreau@leroymerlin.fr>
Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3 Alvaro Herrera <alvherre@commandprompt.com>
Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3 <vincent.moreau@leroymerlin.fr>
Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3 Alvaro Herrera <alvherre@commandprompt.com>
Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3 <vincent.moreau@leroymerlin.fr>
Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3 <vincent.moreau@leroymerlin.fr>
Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3 Richard Huxton <dev@archonet.com>
Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3 <vincent.moreau@leroymerlin.fr>
Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3 "Dave Dutcher" <dave@tridecap.com>
Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3 <vincent.moreau@leroymerlin.fr>
Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3 "Dave Dutcher" <dave@tridecap.com>
Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3 Richard Huxton <dev@archonet.com>
vincent.moreau@leroymerlin.fr wrote:
> 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.

There are only nested loops and hash joins, while the other plan seems
to be more elaborate -- I wonder if you have disabled bitmap scan, merge
joins, in 8.2?   Try a SHOW enable_mergejoin in psql.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-performance по дате отправления
От: femski
Дата:
От: Dave Dutcher
Дата:
FAQ