Oracle普通视图和物化视图的区别

本文深入探讨Oracle数据库中物化视图的概念,包括普通视图与物化视图的区别,物化视图的创建、使用及快速刷新的限制条件。通过实际案例,解析物化视图在多表连接、数据聚集等场景下的应用技巧。

普通视图和物化视图的区别

https://blog.youkuaiyun.com/aiynmimi/article/details/54287320

Oracle物化视图快速刷新、多表连接、聚集

https://blog.youkuaiyun.com/demonson/article/details/81451985

Oracle 物化视图 说明

https://www.cnblogs.com/xiaohuilong/p/5995596.html

ORACLE物化视图(物理视图)

https://www.cnblogs.com/qqzy168/p/3689334.html

 

官方文档

https://docs.oracle.com/cd/E11882_01/server.112/e10706/repmview.htm#REPLN266

物化视图的快速刷新

https://yq.aliyun.com/articles/576823

Oracle 物化视图 快速刷新 限制 说明

https://blog.youkuaiyun.com/tianlesoftware/article/details/7719679

Oracle物化视图的创建及使用

https://www.cnblogs.com/jianshuai520/p/10246136.html

 

刚看了一下10g的快速刷新限制条件,明确说明了包含分析函数的物化视图是无法快速刷新的:

General Restrictions on Fast Refresh
The defining query of the materialized view is restricted as follows:

The materialized view must not contain references to non-repeating expressions like SYSDATE and ROWNUM.

The materialized view must not contain references to RAW or LONG RAW data types.

It cannot contain a SELECT list subquery.

It cannot contain analytical functions (for example, RANK) in the SELECT clause.

It cannot contain a MODEL clause.

It cannot contain a HAVING clause with a subquery.

It cannot contain nested queries that have ANY, ALL, or NOT EXISTS.

It cannot contain a [START WITH …] CONNECT BY clause.

It cannot contain multiple detail tables at different sites.

On-commit materialized view cannot have remote detail tables.

Nested materialized views must have a join or aggregate.

转载于:https://www.cnblogs.com/hwubin5/p/10450810.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值