Materialized View
Query rewrite feature of Materialized view depends on 2 parameters:
1. QUERY_REWRITE_INTEGRITY = { enforced | trusted | stale_tolerated } , This determines the degree to which Oracle must enforce query rewriting .
enforced =Oracle enforces and guarantees consistency and integrity.
stale_tolerated Materialized views are eligible for rewrite even if they are known to be inconsistent with the underlying detail data.
2. QUERY_REWRITE_ENABLED = {TRUE | False }
Realtime Materialized View can be created using ENABLE QUERY COMPUTATION keyword, it nake use of mview logs and base table.
Tips for Materialized view
https://danischnider.wordpress.com/2019/02/18/materialized-view-refresh-for-dummies/
No comments:
Post a Comment