简体   繁体   中英

Update materialized view in oracle 11g

I want to update materialized view every 5 min such that it does a delta update not a full update. Can i use last modified date, and just update data that has been updated? my question is:

1) how to do update every 5 minute?

2) how to do just a delta import(update) so that it only updates the modified stuff and not go into the whole database.

Thanks.

What you're looking for here is a scheduled fast refresh, which requires a materialised view log on the master tables and which is subject to certain conditions (described in the documentation ).

Whether your MV is suitable for this or not depends on the query that defines it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM