Re: Permanent alias for postgresql table

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Permanent alias for postgresql table
Дата
Msg-id gpb6r7$5o0$1@ger.gmane.org
обсуждение исходный текст
Ответ на Re: Permanent alias for postgresql table  ("Marco Lechner" <marco.lechner@geographie.uni-freiburg.de>)
Список pgsql-sql
Marco Lechner, 12.03.2009 15:26:
> Hi Mina,
> 
> thanks for your answer. I thought about that, but don't
> views decrease performance, because they are "calculated"
> on access?

I'm not sure what you mean with "calculated". A view is just a SQL query.
There is no difference in executing the SQL query that's behind a view or the view itself. Except for the minimal time
ittakes to retrieve the view definition. 
 

But I would never sacrifice easy of development or usage for the microseconds of overhead the VIEW generates. 

And the "overhead" (if at all) will be neglectable compared to the time it takes to return the result.

Thomas



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

Предыдущее
От: Joshua Tolley
Дата:
Сообщение: Re: Permanent alias for postgresql table
Следующее
От: Duffer Do
Дата:
Сообщение: select count of all overlapping geometries and return 0 if none.