Oracle 11.2.0.1 Result Cache 测试 - 1

        result cache,结果缓存,当表的访问方式"以读为主"前提下,从一张大表中过滤出"少量的记录"作为结果集的查询语句适合把查询结果集放入result cache,后续相同的查询语句可以直接从result cache里获取想要的结果,省去了CPU、I/O上的开销,result cache位于shared pool里的某一块区域中,其大小可以通过result_cache_max_size进行调整。 

受益的查询特性:
Access Large Amount of Data
Return Few Rows
Execute Somewhat Frequently
Based on Slowly Changing Data
Limited Number of Bind Values: Results are cached by Bind Value


-- New in Oracle 11g, Improved in 11gR2
SQL Query Results (local and distributed)
PL/SQL Function Results
OCI Client Results

Cached Data is shared across executions
Automatically marked stale if underlying data is changed
Can Dramatically Increase Performance


Stores Results of Query or Function Call
Uses a Slice of the Shared Pool
Not Affected by Flushing Shared Pool


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-1433503/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/35489/viewspace-1433503/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值