Re: [GENERAL] Incremental refresh - Materialized view

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: [GENERAL] Incremental refresh - Materialized view
Дата
Msg-id 1510041269.2845.44.camel@cybertec.at
обсуждение исходный текст
Ответ на [GENERAL] Incremental refresh - Materialized view  (Krithika Venkatesh <krithikavenkatesh31@gmail.com>)
Список pgsql-general
Krithika Venkatesh wrote:
> I need to implement incremental refresh of materialized view.
> 
> Please let me know how to do the incremental refresh of materialized view in postgresql 9.5.9 version. 
> 
> Is there anything similar to materialized view log in postgresql.

There is no such feature in PostgreSQL (yet), so you'll have to
do it yourself.

The "materialized view" would then be a regular table (with read only
access), and each underlying table would have a trigger that records
changes with a timestamp to a log table.

You can then write a function that brings the "materialized view"
up to date.

Yours,
Laurenz Albe


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: Krithika Venkatesh
Дата:
Сообщение: Re: [GENERAL] Incremental refresh - Materialized view
Следующее
От: Rakesh Kumar
Дата:
Сообщение: Re: [GENERAL] Incremental refresh - Materialized view