Re: Views- Advantages and Disadvantages

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: Views- Advantages and Disadvantages
Дата
Msg-id 6A1520DB-897D-42F7-BDAA-7884983D58DF@seespotcode.net
обсуждение исходный текст
Ответ на Re: Views- Advantages and Disadvantages  ("Dann Corbit" <DCorbit@connx.com>)
Ответы Re: Views- Advantages and Disadvantages  ("Dann Corbit" <DCorbit@connx.com>)
Список pgsql-general
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.

Michael Glaesemann
grzm seespotcode net



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

Предыдущее
От: "Marcelo de Moraes Serpa"
Дата:
Сообщение: Re: Audit-trail engine: getting the application's layer user_id
Следующее
От: Tilmann Singer
Дата:
Сообщение: Re: Audit-trail engine: getting the application's layer user_id