当前位置:数据库 > Oracle >>

oracle database 11g新特性之设置result cache

oracle database 11g新特性之设置result  cache
 
oracle database 11g 新特性 之设置 result  cache
 
如果系统以前没有使用过result cache,则在使用:
 
alter system set result_cache_max_size =  scope  ;
 
虽然能查到result_cache_max_size已经有值了,但是result cache 还是处于禁用状态。
 
可以使用以下查询来确定是否已经启用result cache:
 
select dbms_result_cache_status() from dual;
 
也可以使用V$RESULT_CACHE_STATISTICS 或者DBMS_RESULT_CACHE.MEMORY_REPORT
注意result cache 的内存来自shared pool ,在增加result cache 的大小时需要关注shared pool的 使用情况。
 
可以使用 DBMS_RESULT_CACHE.FLUSH 清除result cache ,并将内存释放回shared pool
Oracle
MySQL
Access
SQLServer
DB2
Excel
SQLite
SYBASE
Postgres
如果你遇到数据库难题:
请访问www.zzzyk.com 试试
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,