最近在作总结,有些困惑,向大家请教
同一个数据库,开始时shared_pool_size如下:
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 2,560M
Shared Pool Size: 1,024M
此时,统计数据如下:
Shared Pool Statistics Begin End
—— ——
Memory Usage %: 94.27 94.33
% SQL with executions>1: 90.88 64.66
% Memory for SQL w/exec>1: 65.32 62.56
同一个数据库,开始时shared_pool_size如下:
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 2,560M
Shared Pool Size: 1,024M
此时,统计数据如下:
Shared Pool Statistics Begin End
—— ——
Memory Usage %: 94.27 94.33
% SQL with executions>1: 90.88 64.66
% Memory for SQL w/exec>1: 65.32 62.56
后来Shared Pool Size调小到600M,此时统计数据如下:
Shared Pool Statistics Begin End
—— ——
Memory Usage %: 96.06 96.12
% SQL with executions>1: 74.89 70.39
% Memory for SQL w/exec>1: 85.90 86.62
从统计数据上来看共享池的使用比例好象有点大,而且% SQL with executions>1的统计的确在减小, % Memory for SQL w/exec>1的统计数却在增加,能否说明共享池内存的使用效率提高了?
另外,Memory Usage %>90%能否说明共享池设置小了?
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9375/viewspace-555108/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/9375/viewspace-555108/