Re: Postgresql Materialized views

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Postgresql Materialized views
Дата
Msg-id 14479.1200326062@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Postgresql Materialized views  ("Zeugswetter Andreas ADI SD" <Andreas.Zeugswetter@s-itsolutions.at>)
Ответы Re: Postgresql Materialized views  ("Zeugswetter Andreas ADI SD" <Andreas.Zeugswetter@s-itsolutions.at>)
Список pgsql-hackers
"Zeugswetter Andreas ADI SD" <Andreas.Zeugswetter@s-itsolutions.at> writes:
> Traditionally materialized views exist, so that you do not need to code differently.
> Your queries still run on the detail table, but are silently answered
> by a suitable MV. The MV might have count + other aggregated columns
> grouped by some columns, and thus be able e.g. shortcircuit a 
> "select count(*) from atab". The MV should be MVCC aware (have different
> values for different snapshots) and not substantially reduce possible 
> concurrency of updates to the base table.

Note that you just raised the minimum bar for implementation of the
feature by a couple orders of magnitude.  We cannot automatically
substitute an MV into queries unless this is guaranteed not to change
the results.  No lazy updates, MVCC transparency required, etc.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Index trouble with 8.3b4
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: could not open relation: Invalid argument