oracle物化试图)

oracle物化试图

![物化试图说明]

增量刷新需要提前创建 有多少表就需要建多少个
create materialized view log on 表名1 with rowid;
create materialized view log on 表名2 with rowid;

create materialized view mv_ab
refresh fast on demand
start with sysdate
– 表示每分钟更新
next sysdate+1/1440
as
select a.rowid as arowid,b.rowid browid,…
from a , b
where a.id = b.aid

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_43195383/article/details/85259480