简体   繁体   English

物化视图的作用力和完整性

[英]Materialized Views force and complete

What is the difference between force and complete refreshes in Materialized Views 实例化视图中的强制刷新和完全刷新有什么区别

CREATE MATERIALIZED VIEW MV1 REFRESH FORCE ON DEMAND AS SELECT * FROM T1;
CREATE MATERIALIZED VIEW MV1 REFRESH COMPLETE ON DEMAND AS SELECT * FROM T1;
CREATE MATERIALIZED VIEW MV1 REFRESH ON DEMAND AS SELECT * FROM T1;

Need Just a brief difference between these statements? 这些语句之间是否需要简短的区别?

COMPLETE 完成

Refreshes by recalculating the materialized view's defining query. 通过重新计算实例化视图的定义查询来刷新。

FAST 快速

Applies incremental changes to refresh the materialized view using the information logged in the materialized view logs, or from a SQL*Loader direct-path or a partition maintenance operation. 应用增量更改以使用实例化视图日志中记录的信息或通过SQL * Loader直接路径或分区维护操作刷新实例化视图。

FORCE

Applies FAST refresh if possible; 如果可能,应用FAST刷新; otherwise, it applies COMPLETE refresh. 否则,将应用COMPLETE刷新。

NEVER 决不

Indicates that the materialized view will not be refreshed with refresh mechanisms. 指示将不使用刷新机制来刷新实例化视图。

The docs are the best available reference!! 文档是最好的参考!!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM