码迷,mamicode.com
首页 > 其他好文 > 详细

resmgr:cpu quantum 等待事件 top 1

时间:2018-11-30 13:45:46      阅读:227      评论:0      收藏:0      [点我收藏+]

标签:for   ida   昨天   mgr   man   方法   alt   style   解决方案   

早上看昨天现场的报告,发现晚上七八点,resmgr:cpu quantum 等待事件排在i第一位,如下:

技术分享图片

该事件是和资源管理相关的,如果启用资源管理计划,就可能遇到这个问题. 所以常规的解决方案是禁用资源管理。经查证是因为一个 bug 10326338  引起的。

解决方法如下:

ALTER SYSTEM SET RESOURCE_MANAGER_PLAN = ‘FORCE:‘ scope=both;

execute dbms_scheduler.set_attribute(‘WEEKNIGHT_WINDOW‘,‘RESOURCE_PLAN‘,‘‘);
execute dbms_scheduler.set_attribute(‘WEEKEND_WINDOW‘,‘RESOURCE_PLAN‘,‘‘);

execute dbms_scheduler.set_attribute(‘MONDAY_WINDOW‘,‘RESOURCE_PLAN‘,‘‘);
execute dbms_scheduler.set_attribute(‘TUESDAY_WINDOW‘,‘RESOURCE_PLAN‘,‘‘);
execute dbms_scheduler.set_attribute(‘WEDNESDAY_WINDOW‘,‘RESOURCE_PLAN‘,‘‘);
execute dbms_scheduler.set_attribute(‘THURSDAY_WINDOW‘,‘RESOURCE_PLAN‘,‘‘);
execute dbms_scheduler.set_attribute(‘FRIDAY_WINDOW‘,‘RESOURCE_PLAN‘,‘‘);
execute dbms_scheduler.set_attribute(‘SATURDAY_WINDOW‘,‘RESOURCE_PLAN‘,‘‘);
execute dbms_scheduler.set_attribute(‘SUNDAY_WINDOW‘,‘RESOURCE_PLAN‘,‘‘);

 

resmgr:cpu quantum 等待事件 top 1

标签:for   ida   昨天   mgr   man   方法   alt   style   解决方案   

原文地址:https://www.cnblogs.com/zhjh256/p/10043222.html

踩
(0)
赞
(0)
   
举报
评论 一句话评论(0)
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!