PostgreSQL实体化视图增量刷新

时间:2019-07-15 09:19:33

标签: postgresql materialized-views

postgresql实例化视图增量刷新:

5.34lksdfns

 CREATE OR REPLACE FUNCTION refresh_settledetailgroup_search()
  RETURNS trigger AS
$BODY$
  BEGIN
  REFRESH MATERIALIZED VIEW  settle_detailgroup_materialized_v;
  RETURN NULL;
  END $BODY$
  LANGUAGE plpgsql VOLATILE
  COST 100;

0 个答案:

没有答案