| От | Tom Lane |
|---|---|
| Тема | Re: strange query behavior |
| Дата | |
| Msg-id | 12115.1166047135@sss.pgh.pa.us обсуждение |
| Ответ на | Re: strange query behavior ("Tim Jones" <TJones@optio.com>) |
| Ответы |
Re: strange query behavior
|
| Список | pgsql-performance |
"Tim Jones" <TJones@optio.com> writes:
> The tables for theses queries are vacuumed and analyzed regularly. I
> just did an analyze to be sure and here are the results
> ...
There's something pretty wacko about the choice of plan in the slow case
--- I don't see why it'd not have used the same plan structure as for
the IN case. It's coming up with a cost a lot higher than for the
other, so it certainly knows this isn't a great plan ...
Which PG version is this exactly? Are you running with any nondefault
planner parameters?
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера