Is it possible to partially refresh a materialized view in Oracle?

前端 未结 4 1312
梦如初夏
梦如初夏 2021-01-11 15:44

I have a very complex Oracle view based on other materialized views, regular views as well as some tables (I can\'t \"fast refresh\" it). Most of the time, existing records

4条回答
  •  悲哀的现实
    2021-01-11 15:50

    Partition by date as in answer 3 (skaffman).

    You could just do the refresh of a normal mv(table_refreshed below) and than use the exchange keyword i.e.

    ALTER TABLE all_partitions
      EXCHANGE PARTITION to_calculate
      WITH TABLE table_refreshed
      WITHOUT VALIDATION
      UPDATE GLOBAL INDEXES;
    

提交回复
热议问题