Re: To use a VIEW or not to use a View.....

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: To use a VIEW or not to use a View.....
Дата
Msg-id 3E2ED547.DF9F68D4@Yahoo.com
обсуждение исходный текст
Ответ на To use a VIEW or not to use a View.....  ("Ries van Twisk" <ries@jongert.nl>)
Список pgsql-sql
Tomasz Myrta wrote:
> 
> Jan Wieck wrote:
> 
> >Use tables, views and views over views, it's all fine and your indexes
> >will be used.
> 
> I can't agree with using views over views. It has some limitations.
> I asked about it on this list several months ago
> and Tom Lane's conclusion was:

It has less to do with the nesting level of rewriting, than with what
you do with the view in general. If you cram up all the functionality
with aggregating subselects into one monster view it might do better,
except for maintaining the code.


Jan

-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: To use a VIEW or not to use a View.....
Следующее
От: Tomasz Myrta
Дата:
Сообщение: Re: To use a VIEW or not to use a View.....