oracle间歇性,oracle生产环境间歇性宕机ORA-04030

从AWR可以看出主机内存只有8G,给到数据库的memory_target只有3G(SGA+PGA),再从ALERT日志可以看到一直再报ORA-4030内存不足的错误:Thu Jul 12 22:00:11 2018

Errors in file e:\app\administrator\diag\rdbms\\\trace\_j002_11356.trc  (incident=10272):

ORA-04030: out of process memory when trying to allocate 131104 bytes (kxs-heap-w,bucket:qesandvSynopses)

Incident details in: e:\app\administrator\diag\rdbms\\\incident\incdir_10272\_j002_11356_i10272.trc

Errors in file e:\app\administrator\diag\rdbms\\\trace\_j002_11356.trc  (incident=10273):

ORA-04030: out of process memory when trying to allocate 824504 bytes (pga heap,kco buffer)

ORA-04030: out of process memory when trying to allocate 131104 bytes (kxs-heap-w,bucket:qesandvSynopses)

再加上Windows平台非常容易产生碎片,迟早会出现宕机的情况。

建议:

1、停掉主机上其他非数据库程序,将memory_target扩大到6G

2、扩大主机内存

3、如果近期无法增加内存,建议定期重启Windows主机和Oracle数据库(一般一周或者一个月)。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值