According to documents, non-atomic refresh of a materialized view uses truncate instead of delete in complete refresh. Is there any way to say oracle to use truncate instead of delete when creating a materialized view ?
According to documents, non-atomic refresh of a materialized view uses truncate instead of delete
Share
There’s no method that I’m aware of – you have to explicitly call dbms_mview.refresh with atomic => false:
EDIT: Unless you’re using Oracle 9.2 or earlier – these versions perform a non-atomic refresh by default.