Re: View vs. direct Table access

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: View vs. direct Table access
Дата
Msg-id 19071.1017245554@sss.pgh.pa.us
обсуждение исходный текст
Ответ на View vs. direct Table access  (Erwin Ambrosch <ambre@ebutec.com>)
Список pgsql-general
Erwin Ambrosch <ambre@ebutec.com> writes:
> Are Views per default slower than direct table access?

No; they should be pretty much exactly the same (since a view is really
nothing but a macro that gets expanded in-line in the text of a query
that references it).

I speculate that you've got a complex query that is confusing the
planner into making some bad choices, but without more details
--- like a complete example and EXPLAIN output --- it's hard to say.

            regards, tom lane

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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: View vs. direct Table access
Следующее
От: Darren Ferguson
Дата:
Сообщение: Re: grants on functions