| От | Tom Lane |
|---|---|
| Тема | Re: Slow planing... |
| Дата | |
| Msg-id | 4902.1575643524@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Slow planing... (Mladen Marinović <mladen.marinovic@kset.org>) |
| Список | pgsql-general |
=?UTF-8?Q?Mladen_Marinovi=C4=87?= <mladen.marinovic@kset.org> writes: > After a couple of hours of trying different stuff, set enable_mergejoin = > off made the planning time look better: Planning time: 0.322 ms > Any ideas why this helps? Hmm, possibly because it's reducing the number of calls to get_actual_variable_range. Do you have an indexed column, with a lot of recently-dead entries at the end of its range, that is a join key in the slow query? If so, you might be hitting the problem that was fixed (not for 9.6) here: https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=3ca930fc3 regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера