Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何更新物化视图?更新物化视图有什么缺点吗?我的情况是,我可以
这两个选项围绕重建物化视图所需的大量时间(字面意思是 5 天以上)。
版本:Oracle 10g
物化视图的目的是存储一些复杂的长时间运行查询的结果,查询重写机制可以使用这些查询来节省大量时间。看起来用于构建 MV 的 sql 需要一些 tweeking。
您无法更新 MV,除非您打算进行完整/快速刷新/重建。
MV刷新期间吃的时间是什么?你检查过 addm 报告吗?您是否配置了完全刷新或快速刷新?