1.Oracle SGA体系
1.1 Oracle-sga → large_pool , jave_pool , streams_buffer , redo_log_buffer分析,从此进
http://blog.csdn.net/together8/article/details/14090831
1.2 Oracle-SGA → sga_target and sga_max_size分析,从此进
http://blog.csdn.net/together8/article/details/14087985
1.3Oracle - SGA → data_buffer_cache分析,从此进
http://blog.csdn.net/together8/article/details/14095795
2.Oracle v$sysstat视图
在进行oracle性能调优和诊断oracle故障时,v$sysstat视图绝对可以给你带来很多你需要的数据,同时协助你对oracle进行调优。
简要说下:
内存参数调整
数据缓冲区命中率
select value from v$sysstat where name ='physical reads';
select value from v$sysstat where name ='physical reads direct';
select value from v$sysstat where name ='physical reads direct (lob)';
select value from v$sysstat where name ='consistent gets';
select value from v$sysstat where name = 'db block gets';
这里命中率的计算应该是
令 x = physical reads direct physical reads direct (lob)
命中率 =100 - ( physical reads - x) / (consistent gets db block gets - x)*100
通常如果发现命中率低于90%,则应该调整应用可可以考虑是否增大数据缓冲区;
select value from v$sysstat where name ='physical reads';
select value from v$sysstat where name ='physical reads direct';
select value from v$sysstat where name ='physical reads direct (lob)';
select value from v$sysstat where name ='consistent gets';
select value from v$sysstat where name = 'db block gets';
这里命中率的计算应该是
令 x = physical reads direct physical reads direct (lob)
命中率 =100 - ( physical reads - x) / (consistent gets db block gets - x)*100
通常如果发现命中率低于90%,则应该调整应用可可以考虑是否增大数据缓冲区;