MV refresh only when master tables changes

Поиск
Список
Период
Сортировка
От Firthouse banu
Тема MV refresh only when master tables changes
Дата
Msg-id CAK_Ha4xias8sJw49p75fgiJsvBRdy2ZL4P7g=wqYbQLWj5E4Zg@mail.gmail.com
обсуждение исходный текст
Список pgsql-admin
Hello everyone,

In oracle we have user table sys.all_mviews which will have columns like staleness and compile_state which shows us whether data in MV is in sync with master tables or not and we can refresh MV if compile_state is not valid or staleness is not fresh or unknown . Is there any same way to do refresh of MV in Postgres without having triggers on master tables or scheduling refresh for every 2 hours or so. Please pour your suggestions. 

Thanks

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Synthetic keys and index fillfactor
Следующее
От: kaido vaikla
Дата:
Сообщение: Meaning of "pg_control version number:"