Default | ||
Refresh Mode | on commit , on demand or on statement | on demand |
Refresh Option | complete , fast , force or never | force |
Trust constraints | trusted constraints or enforced constraints | enforced |
snapshot
instead of materialized view
. rowid
clause. count(*)
must be present for Single-Table Aggregates
count()
should be present.
from
list must contain base tables only (i.e. it must not select from views).
sysdate
or rownum
etc. are not permitted)
raw
or long raw
data types.
having
or connect by
clauses.
where
clause can contain only joins and they must be equi-joins (inner or outer) and all join predicates must be connected with ANDs. No selection predicates on individual tables are allowed
union
or minus
. select
list subquery
XMLindex
index.
model
clause
any
, all
or not exists
group by
DBA_MVIEWS
lists all materialized views in a database. DBA_BASE_TABLE_MVIEWS
lists magterialized views with logs. rewrite
hint dbms_advisor.tune_mview
optimizes materialized view creation statements to achieve refresh fast
and enable query rewrite
goals materialize
hint.