签到成功

知道了

CNDBA社区CNDBA社区

Ogg报错 error ogg-02028 ora-4031

2018-01-18 17:28 7306 0 原创 goldengate
作者: Anshen

ERROR OGG-02028 Failed to attach to logmining server Error code 12801,
error message: ORA-12801: error signaled in parallel query server P080, instance psin9p623:UA01OSL2 (2)
ORA-12853: insufficient memory for PX buffers: current 4478816K, max needed 52002720K
ORA-04031: unable to allocate 65560 bytes of shared memory (“large pool”,”unknown object”,”large pool”,”PX msg pool”)
ORA-06512: at “SYS.LOGMNR_KRVRDLUID3”, line 1351
ORA-06512: at line 1.

ERROR OGG-01668 PROCESS ABENDING.http://www.cndba.cn/redhat/article/2575

cause:引起的原因是:
CPU_COUNT and PARALLEL_MAX_SERVERS causing the issue.http://www.cndba.cn/redhat/article/2575

The issue in here appears to be with not enough space for PX msg pool. Changing the PARALLEL_MAX_SERVERS and CPU_COUNT to lesser values will fix the issue.

http://www.cndba.cn/redhat/article/2575

To enable Instance Caging, set the cpu_count of each instance and then enable CPU Resource Manager.

alter system set cpu_count = 4;
alter system set resource_manager_plan = ‘default_plan’;http://www.cndba.cn/redhat/article/2575

Monitor Instance Caging http://www.cndba.cn/redhat/article/2575

http://www.cndba.cn/redhat/article/2575

To verify that Instance Caging is enabled, check that “instance_caging” equals “ON” and that “cpu_count” is set appropriately.http://www.cndba.cn/redhat/article/2575

http://www.cndba.cn/redhat/article/2575

select instance_caging from v$rsrc_plan where is_top_plan = ‘TRUE’;
show parameter cpu_count;

http://www.cndba.cn/redhat/article/2575

To monitor Instance Caging on an instance, monitor the average number of running and waiting sessions.

select to_char(begin_time, ‘HH24:MI’) time, sum(avg_running_sessions) avg_running_sessions, sum(avg_waiting_sessions) avg_waiting_sessions from v$rsrcmgrmetric_history group by begin_time order by begin_time;
“avg_running_sessions” is the average number of running sessions for this minute. If avg_running_sessions is much smaller than cpu_count, the instance is not fully utilizing its cpu_count allocation. cpu_count could be decreased without affecting performance.

http://www.cndba.cn/redhat/article/2575

“avg_waiting_sessions” is the average number of sessions waiting to be scheduled for this minute. If avg_waiting_sessions is consistently bigger than 0, the performance of the instance could be improved by increasing cpu_count by this amount.

Tuning Instance Caging

You can dynamically tune Instance Caging by adjusting the value of cpu_count. Changes will take effect within seconds.

We do not recommend that you change cpu_count too frequently, since changing its value has some overhead. We also don’t recommend that you set it to 1 or change the value from a very small number to an extremely large value.

版权声明:本文为博主原创文章,未经博主允许不得转载。

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
Anshen

Anshen

关注

成功不是将来才有的,而是从决定去做的那一刻起,持续累积而成。

  • 69
    原创
  • 0
    翻译
  • 5
    转载
  • 8
    评论
  • 访问:287140次
  • 积分:326
  • 等级:中级会员
  • 排名:第13名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ