oracle 10g 4031
oracle 10g慢慢退出了,但用的地方也还有。这里再记一下案例: 发现shared_pool一直在收缩; 查看对应的trc: LIBRARY CACHE STATISTICS: namespace gets hit ratio pins hit ratio reloads invalids -------------- --------- --------- --------- --------- ---------- ---------- CRSR 889957320 0.245 2974322326 0.877 6674225 3570108 出现大量的cursor无法共享; last wait for 'SGA: allocation forcing component growth' blocking sess=0x0000000000000000 seq=62360 wait_time=7064 seconds since wait started=0 =0,=0,=0 Dumping Session Wait History for 'SGA: allocation forcing component growth' count=1 wait_time=7064 =0,=0 现察subpool: Memory Utilization of Subpool 2 Allocation Name Size _________________________ __________ "free memory " -2020262480 由于系统已重启,只能检查现在的resize情况: set linesize 1000; SELECT start_time,component,oper_type,oper_mode,initial_size/1048576 "INITIAL MB",final_size/1048576 "FINAL MB",end_time FROM v$sga_resize_ops WHERE component IN ( 'DEFAULT buffer cache','shared pool' ) AND status = 'COMPLETE' ORDER BY start_time,component; 发现调整还是很频繁; 检查历史的sga分配情况:发现故障时段大量的内存分配了kgh:no access 解决办法: 4 调整_memory_broker_stat_interval的值,减少sga 的auto resize频率; (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |