由于物化视图定义为on commit导致update更新基表慢的解决方案 以下是模拟和解决测试过程: (模拟update慢的过程) 1.首先基于基表创建物化视图日志: create materialized view log on scott.emp with rowid; 2.首先基于scott用户下emp创建物化视图: create materialized view mv_emp REFRESH FAST on commit as select * from scott.emp; 3.通过…
SQL可以对视图进行加密.也就是,可永久隐藏视图定义的文本. 注意 此操作不可逆.加密视图后,无法再修改它,因为无法再看到视图定义.如果需要修改加密视图,则必须删除它并重新创建另一个视图. 示例代码: create view userFt as select users.userID,users.userName,users.ftNum,ft.Subject,ft.Content from users inner join ft on users.userID=ft.userID go al…