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

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: View based upon function won't use index on joins
Дата
Msg-id 603c8f070911230847h50b06cbav6400201f6090ace6@mail.gmail.com
обсуждение исходный текст
Ответ на Re: View based upon function won't use index on joins  (Jonathan Foy <thefoy@gmail.com>)
Список pgsql-performance
2009/11/20 Jonathan Foy <thefoy@gmail.com>:
> Shy of just throwing a trigger in the
> table to actually populate a second table with the same data solely for
> reporting purposes,

That's what I would do in your situation, FWIW.  Query optimization is
a hard problem even under the best of circumstances; getting the
planner to DTRT with a crazy schema is - well, really hard.

...Robert

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

Предыдущее
От: Jonathan Blitz
Дата:
Сообщение: Re: Why is the query not using the index for sorting?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Query times change by orders of magnitude as DB ages