首页 > Linux操作系统 > Linux操作系统 > 提高完全刷新mview速度的方法
1、 alter table mv_name nologging;
2、 disable all indexes on mv
3、 call refresh
4、 rebuild index nologging parallel
5、 alter table logging
如果很慢,设置sql_trace=true,看看刷新方式是否truncate + insert /*+ append */
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/228190/viewspace-133964/ ,如需转载,请注明出处,否则将追究法律责任。