Re: views?

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: views?
Дата
Msg-id 87k738ivl8.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответ на views?  ("Loeke" <LoekeDoeLoekeDoe@dontlikespam.hotmail.com>)
Ответы Re: views?  (Richard Huxton <dev@archonet.com>)
Список pgsql-performance
"Loeke" <LoekeDoeLoekeDoe@dontlikespam.hotmail.com> writes:
> do views exist fysically a separate "table", or are they generated
> on the fly whenever they are queried?

Views are implementing by rewriting queries into the appropriate query
on the view's base tables.

http://www.postgresql.org/docs/current/static/rules-views.html

> if they exist fysically they could improve performance (..php, web),

This is called a "materialized view". PostgreSQL doesn't support them
yet, but most people think it would be a Good Thing to have.

-Neil


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

Предыдущее
От: "Loeke"
Дата:
Сообщение: views?
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Unique index and estimated rows.