9i出现内存分配错误

9.2.0.8 RAC环境中,告警日志频繁出现内存分配错误的信息。

 

 

错误信息如下:

Wed May 2 10:20:43 2012
Trace dumping is performing id=[cdmp_20120502102043]
There are 1444 memory allocation errors for object-level stat
in the last 15 minutes
.
.
.
There are 1605 memory allocation errors for object-level stat
in the last 15 minutes

在另外一个节点上则出现了ORA-4031错误:

Sun Apr 29 22:30:52 2012
Errors in file /oracle/admin/orcl/bdump/orcl2_j000_1204632.trc:
ORA-12012: error on auto execute of job 527
ORA-04031: unable to allocate 4224 bytes of shared memory ("shared pool","unknown object","sga heap(2,0)","object level s")
ORA-06512: at "PERFSTAT.STATSPACK", line 2479
ORA-06512: at "PERFSTAT.STATSPACK", line 91
ORA-06512: at line 1
Sun Apr 29 23:03:14 2012
Errors in file /oracle/admin/orcl/bdump/orcl2_j001_1528536.trc:
ORA-12012: error on auto execute of job 527
ORA-04031: unable to allocate 4256 bytes of shared memory ("shared pool","unknown object","sga heap(2,0)","obj stat memor")
ORA-06512: at "PERFSTAT.STATSPACK", line 2479
ORA-06512: at "PERFSTAT.STATSPACK", line 91
ORA-06512: at line 1
There is 1 memory allocation error for object-level stat
in the last 15 minutes
There are 66 memory allocation errors for object-level stat
in the last 15 minutes
There are 8 memory allocation errors for object-level stat
in the last 15 minutes
Mon Apr 30 00:07:38 2012
Errors in file /oracle/admin/orcl/bdump/orcl2_j001_942754.trc:
ORA-12012: error on auto execute of job 527
ORA-04031: unable to allocate 4256 bytes of shared memory ("shared pool","unknown object","sga heap(2,0)","obj stat memor")
ORA-06512: at "PERFSTAT.STATSPACK", line 2479
ORA-06512: at "PERFSTAT.STATSPACK", line 91
ORA-06512: at line 1
There are 354 memory allocation errors for object-level stat
in the last 15 minutes
There are 653 memory allocation errors for object-level stat
in the last 15 minutes
Mon Apr 30 02:07:45 2012
Thread 2 advanced to log sequence 71531
Current log# 5 seq# 71531 mem# 0: /dev/rlv_redo22_128m
Mon Apr 30 02:07:45 2012
ARC0: Evaluating archive log 4 thread 2 sequence 71530
ARC0: Beginning to archive log 4 thread 2 sequence 71530
Creating archive destination LOG_ARCHIVE_DEST_1: '/archive2/2_71530.dbf'
ARC0: Completed archiving log 4 thread 2 sequence 71530
There are 41 memory allocation errors for object-level stat
in the last 15 minutes

ORA-4031错误比较常见,简单的说就是内存不足所致。从上面的错误信息看,内存不足发生在共享池上。而Memory allocation errors同样是共享池空间不足的表现,可以参考文章Memory Allocation Errors For Object-Level Stat Appearing in the Alert Log File [ID 757895.1]

针对这个问题,可以通过设置隐含参数_OBJECT_STATISTICS=FALSE来禁用对象级统计信息,但是最彻底的方法还是增加共享池空间。

 

 

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

转载于:http://blog.itpub.net/4227/viewspace-723103/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值