【发布时间】:2013-06-15 00:44:46
【问题描述】:
我知道 Oracle 物化视图不能使用“不存在”子句快速刷新。 有解决办法吗。我尝试使用左外连接和 (+) 但这两个选项似乎也不起作用。任何帮助表示赞赏
create materialized view mv_myview refresh fast as
select a.*
from tableA a
where
not exists (select * from tableB b where a.my_id = b.my_id);
【问题讨论】:
-
请显示视图的脚本
-
创建物化视图 mv_myview 刷新速度快为 select a.* from tableA a where not exists (select * from tableB b where a.my_id = b.my_id);