Re: Views- Advantages and Disadvantages

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: Views- Advantages and Disadvantages
Дата
Msg-id 7531B14F-2025-4938-AD59-6334CC744CD3@seespotcode.net
обсуждение исходный текст
Ответ на Re: Views- Advantages and Disadvantages  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Views- Advantages and Disadvantages  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On May 9, 2007, at 19:58 , Joshua D. Drake wrote:

> Brent Wood wrote:
>> Ashish Karalkar wrote:
>>> Thanks Brent for your replay,
>>>
>>>
>>> What about the Disadvantages, Performance issues?
>> As far as I'm aware, performance is the only real disadvantage.
>
> What performance are we talking about here? Executing from a view
> although has *some* overhead, I don't even know that it is worth
> considering in most cases.

Two people now have stated without much qualification that views have
some kind of associated performance (Brent Woods) or optimization
(Dann Corbit) penalty. Where does this idea come from? Views in
PostgreSQL are just rewritten with the view query inlined! There's
not much overhead there AIUI.

Michael Glaesemann
grzm seespotcode net



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

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: Views- Advantages and Disadvantages
Следующее
От: "Dann Corbit"
Дата:
Сообщение: Re: Views- Advantages and Disadvantages