Re: Views- Advantages and Disadvantages

Поиск
Список
Период
Сортировка
От Dann Corbit
Тема Re: Views- Advantages and Disadvantages
Дата
Msg-id D425483C2C5C9F49B5B7A41F8944154701000642@postal.corporate.connx.com
обсуждение исходный текст
Ответ на Re: Views- Advantages and Disadvantages  (Michael Glaesemann <grzm@seespotcode.net>)
Ответы Re: Views- Advantages and Disadvantages  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Views- Advantages and Disadvantages  (Ron Johnson <ron.l.johnson@cox.net>)
Список pgsql-general
> -----Original Message-----
> From: Michael Glaesemann [mailto:grzm@seespotcode.net]
> Sent: Wednesday, May 09, 2007 12:14 PM
> To: Dann Corbit
> Cc: Ashish Karalkar; Andrej Ricnik-Bay; Ron Johnson; pgsql-
> general@postgresql.org
> Subject: Re: [GENERAL] Views- Advantages and Disadvantages
>
>
> On May 9, 2007, at 14:02 , Dann Corbit wrote:
>
> > Views can hide important information from the optimizer (especially
> > index information).
>
> Really? AIUI, views-at least in PostgreSQL-are implemented using
> PostgreSQL's rule system: the entire query is rewritten to include
> the view query, and the optimizer sees the rewritten query. What the
> optimizer sees is the same as if the view were inlined in the
> original query.

That is a significant achievement, since many database systems do not
have that ability.

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

Предыдущее
От: Tilmann Singer
Дата:
Сообщение: Re: Audit-trail engine: getting the application's layer user_id
Следующее
От: John DeSoi
Дата:
Сообщение: Re: User restrictions