查看等待时间,查看产生的地址争用
select p1 ,p1raw,p2 from v$session_wait where event='latch: row cache objects';
查看该使用地址块的,misses丢失率
select * from v$latch_children where name like '%row cache objects%'
查看row cache 中的对象
column cache# format 99999
column name format a33
column latch# format 999999
select distinct s.kqrstcln latch#,r.cache#,r.parameter name , r.type, r.subordinate#,r.gets from v$rowcache r,x$kqrst s where r.cache#=s.kqrstcid order by 1 , 4 , 5 ;
select t.parameter,t.gets,t.getmisses,t.modifications,t.flushes from v$rowcache t where cache#=16;
解决方法:
一、增加shared pool 大小
二、增加PGA大小
三、加大SESSION_CACHED_CURSORS参数
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29741328/viewspace-2199848/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29741328/viewspace-2199848/

被折叠的 条评论
为什么被折叠?



