Re: View based upon function won't use index on joins

Поиск
Список
Период
Сортировка
От Віталій Тимчишин
Тема Re: View based upon function won't use index on joins
Дата
Msg-id 331e40660911200834g375a9673w20e6afcd3114c90e@mail.gmail.com
обсуждение исходный текст
Ответ на Re: View based upon function won't use index on joins  (Jonathan Foy <thefoy@gmail.com>)
Ответы Re: View based upon function won't use index on joins  (Jonathan Foy <thefoy@gmail.com>)
Список pgsql-performance


20 листопада 2009 р. 17:01 Jonathan Foy <thefoy@gmail.com> написав:
This seems to result in the same problem; should I attempt to pull for a specific id_nbr/id_qfr, postgres uses the index without a problem. If I try to join the two tables/views however, it insists on doing a sequential scan (actually two in this case) and will not use the index.  Any other ideas/explanations?

Have you tried to do same (join) when not using the viewes or converting columns into records? May be the problem is not in conversion, but in something simplier, like statistics or index bloat?

Best regards, Vitalii Tymchyshyn

В списке pgsql-performance по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Postgres query completion status?
Следующее
От: Hrishikesh Mehendale
Дата:
Сообщение: Re: Partitions and max_locks_per_transaction