暂无图片
oracle 12C RAC 经常内存耗尽?数据卡主
我来答
分享
阿雷
2021-10-09
oracle 12C RAC 经常内存耗尽?数据卡主

每台服务器128GB 内存,2台机器组成RAC集群,万兆网卡,存储SSD。有没有思路分析呢。

比如10.8号,出现如下提示,


Fri Oct 08 15:07:08 2021
Dumping diagnostic data in directory=[cdmp_20211008150707], requested by (instance=1, osid=45847 (DBRM)), summary=[incident=1314778].
Fri Oct 08 15:08:41 2021
WARNING: Heavy swapping observed on system in last 5 mins.
pct of memory swapped in [0.27%] pct of memory swapped out [2.00%].
Please make sure there is no memory pressure and the SGA and PGA
are configured correctly. Look at DBRM trace file for more details.
Errors in file /u01/app/oracle/diag/rdbms/wmprod/wmprod2/trace/wmprod2_dbrm_41436.trc (incident=1310113):
ORA-00700: soft internal error, arguments: [kskvmstatact: excessive swapping observed], [], [], [], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/wmprod/wmprod2/incident/incdir_1310113/wmprod2_dbrm_41436_i1310113.trc
Fri Oct 08 15:10:31 2021
Dumping diagnostic data in directory=[cdmp_20211008151029], requested by (instance=2, osid=41436 (DBRM)), summary=[incident=1310113].
Fri Oct 08 15:10:35 2021
DBRM (ospid: 41436) has not called a wait for 81 secs.
Fri Oct 08 15:10:37 2021
DBRM (ospid: 41436) is hung in an acceptable location (trcdump 0x102.05).
Fri Oct 08 15:12:01 2021
DBRM (ospid: 41436) has not called a wait for 184 secs.
Fri Oct 08 15:12:02 2021
DBRM (ospid: 41436) is hung in an acceptable location (trcdump 0x102.05).
Fri Oct 08 15:12:24 2021

我来答
添加附件
收藏
分享
问题补充
5条回答
默认
最新
你好我是李白

从两个节点awr下面截图中可以看到,内存pga有明显增长,所以可以从v$active_session_history/DBA_HIST_ACTIVE_SESS_HISTORY看PGA_ALLOCATED列在发生问题时间段,哪些会话在大量申请pga,然后再根据会话定位SID,定位SQL等信息。

看SQL统计信息跟ADDM,大概率还是SQL问题很大。



暂无图片 评论
暂无图片 有用 0
打赏 0
暂无图片
阿雷
暂无图片 评论
暂无图片 有用 0
打赏 0
阿雷
暂无图片 评论
暂无图片 有用 0
打赏 0
薛晓刚

不知道为什么点击具体SQL看不了。你这几个单次执行几个小时,一定是有问题的。具体需要打开看看


暂无图片 评论
暂无图片 有用 0
打赏 0
Uncopyrightable

优化sql提升硬盘的i/o性能

暂无图片 评论
暂无图片 有用 0
打赏 0
回答交流
提交
问题信息
请登录之后查看
附件列表
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏