| От | Tom Lane |
|---|---|
| Тема | Re: new BUG: "postgresql 9.2.3: very long query time" |
| Дата | |
| Msg-id | 5015.1361558088@sss.pgh.pa.us обсуждение |
| Ответ на | Re: new BUG: "postgresql 9.2.3: very long query time" (Jeff Janes <jeff.janes@gmail.com>) |
| Ответы |
new BUG: "postgresql 9.2.3: very long query time"
|
| Список | pgsql-bugs |
Jeff Janes <jeff.janes@gmail.com> writes:
> The slowness was introduced with this:
> Use parameterized paths to generate inner indexscans more flexibly.
Try increasing from_collapse_limit to 11 or more.
I'm not exactly sure why the param-path patch might have changed this
behavior, but in any case the collapse limits ought to be the first
thing you think of when you see a crappy plan for a many-relation query.
The curious join nesting in this query makes me wonder if perhaps it was
hand-optimized to fit the behavior of some old version of the planner ...
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера