RESULT CACHE

来源:互联网 发布:淘宝开店免费教程 编辑:程序博客网 时间:2024/04/30 18:03

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参数,可以升但不可以降。)


1 0
原创粉丝点击