| От | Tom Lane |
|---|---|
| Тема | Re: How to avoid hashjoin and mergejoin |
| Дата | |
| Msg-id | 15853.1193953318@sss.pgh.pa.us обсуждение |
| Ответ на | How to avoid hashjoin and mergejoin ("Carlo Stonebanks" <stonec.register@sympatico.ca>) |
| Ответы |
Re: How to avoid hashjoin and mergejoin
|
| Список | pgsql-performance |
"Carlo Stonebanks" <stonec.register@sympatico.ca> writes:
> Still, the Linux server did not create the same, fast plan as the Windows
> server. In order to get the same plan we had to:
> set enable_hashjoin to 'off';
> set enable_mergejoin to 'off';
This is just about never the appropriate way to solve a performance
problem, as it will inevitably create performance problems in other
queries.
What I'm wondering is whether the tables have been ANALYZEd recently,
and also whether there are any nondefault postgresql.conf settings in
use on the other server.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера