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参数,可以升但不可以降。)
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参数,可以升但不可以降。)
相关文章推荐
- python学习记录(3)高阶函数
- TLD算法学习之L-K光流法理论篇一
- Git从远程版本库克隆
- oracle ip地址转换为整数 整数转换为ip代码
- Python_批量修改文件的编码格式
- 移植NFC驱动到android系统
- 润乾报表在web页面中的分页问题
- 【转】MySQL数据类型和常用字段属性总结
- iOS OpenGL 实现
- attr()和prop()的区别(-----简单易懂-----)
- VS2013 VC++ 项目引用的lib也需升级重新编译
- jQuery validate在没有校验通过的情况下拒绝提交
- arcgis api for javascript (1) 基本的地图显示及spatialReference
- jQuery Validate表单验证深入学习
- poj2112 网络流 二分求最大值最小值
- android 5.1+ Notification
- JavaScript判断字符串是否全为数字
- Eclipse 系统开发注释模板使用
- iOS 载入3d模型 OpenGL ES
- Linux 系统挂载数据盘