Oracle - How to create a materialized view with FAST REFRESH and JOINS

前端 未结 4 1024
攒了一身酷
攒了一身酷 2020-12-01 06:16

So I\'m pretty sure Oracle supports this, so I have no idea what I\'m doing wrong. This code works:

CREATE MATERIALIZED VIEW MV_Test
  NOLOGGING
  CACHE
  B         


        
4条回答
  •  半阙折子戏
    2020-12-01 06:47

    You will get the error on REFRESH_FAST, if you do not create materialized view logs for the master table(s) the query is referring to. If anyone is not familiar with materialized views or using it for the first time, the better way is to use oracle sqldeveloper and graphically put in the options, and the errors also provide much better sense.

提交回复
热议问题