Oracle Error ORA-32321: REFRESH FAST of “string”.”string” unsupported after detail table TRUNCATE

Oracle Error Message

ORA-32321: REFRESH FAST of “string”.”string” unsupported after detail table TRUNCATE

Reason for the Error

A detail table has been truncated and no materialized view supports fast refersh after a detail table has been truncated

Solution

Use REFRESH COMPLETE. Note: you can determine why your materialized view does not support fast refresh after TRUNCATE using the DBMS_MVIEW.EXPLAIN_MVIEW() API.