您的位置:首页 > 其它

RESULT CACHE

2015-12-18 10:46 141 查看
RESULT CACHE是11g的新特性。

RESULT CACHE MODE

MANUAL: When set to MANUAL (the default), query results are not stored in the result cache.
If cached results are required for individual queries then hints need to be used. See Using Hints section below.
FORCE: When set to FORCE, the result cache is used for all query results.


而让我脑裂的是,从10g升级过来的11g数据库,还有compatible参数,也就是说,如果compatible没有更改,那就是原来的10g的compatible,也就是说,没有result cache这个特性。当这个升级过来的数据库,作为11g的备库的时候(主库11g),当主库执行带有result cache的建表语句时,就会报错。这个时候,需要修改compatible的参数值。(就像ASM里面的compatible参数,可以升但不可以降。)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: