REFRESH MATERIALIZED VIEW
This statement is used to manually refresh the specified asynchronous materialized view
syntax:
REFRESH MATERIALIZED VIEW mvName=multipartIdentifier (partitionSpec | COMPLETE | AUTO)
Explanation:
Asynchronous refresh of data for a materialized view
COMPLETE or designate the partitions to be refreshed), and then proceed to refresh the corresponding partitions accordingly.Refresh materialized view mv1 (automatically calculate the partition to be refreshed)
REFRESH MATERIALIZED VIEW mv1 AUTO;
Refresh partition named p_19950801_19950901和p_19950901_19951001
REFRESH MATERIALIZED VIEW mv1 partitions(p_19950801_19950901,p_19950901_19951001);
Force refresh of all materialized view data
REFRESH MATERIALIZED VIEW mv1 complete;
REFRESH, MATERIALIZED, VIEW