2013 年6月9號 周末
dbms: Oracle11.1.0.7 4nodes RAC
報系統運行變的極度緩慢
查看系統等待事件,積壓了很多的類如下語句
查看第一個節點的
insert into counterloadmessage(emsid,emsentityid,equipmentid,moentityid,startday,starttime,period,indicatorsetid,indicatortable,filename,succnum,failnum,loadstate,inserttime,taskid,inserttime_human,insertseq)select :1 as emsid,:2 as emsentityid,t1.equipmentid as equipmentid, t2.moentityid as moentityid,:3 as startday,:4 as starttime,:5 as period,:6 as indicatorsetid,:7 as indicatortable,:8 as filename,:9 as succnum,:10 as failnum,:11 as loadstate,to_char((sysdate - to_date('1970-01-01 00:00:00', 'yyyy-mm-dd hh24:mi:ss')) * 60 * 60 * 24 * 1000 + to_number(to_char(systimestamp, 'ff3'))) as inserttime,:12 as taskid,to_char(sysdate, 'yyyy-mm-dd hh24:mi:ss'),SEQ_COUNTERLOADMESSAGE.NEXTVAL from pm4h_ad.cm_equipment t1,pm4h_ad.mo_moentity t2,pm4h_ad.mdl_motype t3 where t1.motypeid=t2.motypeid and t2.motypeid=t3.motypeid and t3.iscommon=0 and t2.moentitycode= :13
主要等待事件為 enq: TX - index contention 這是一個很平常的sql 平均執一次要化1.5s
其它的節點基本沒有什麼負載
查看一下alter 日誌
Errors in file /opt/oracle/diag/rdbms/mos5200/mos52001/trace/mos52001_ora_19284.trc (incident=250211):
ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [kclcls_8], [1091616], [], [], [], [], [], [], [], [], [], []
Incident details in: /opt/oracle/diag/rdbms/mos5200/mos52001/incident/incdir_250211/mos52001_ora_19284_i250211.trc
Trace dumping is performing id=[cdmp_20130609064529]
Sun Jun 09 06:45:30 2013
發現大理的的ora-600 錯誤 ,metalink 上無法查到相關的 bug .
處理方案: 把rac 所有節點重啟一下,系統正常。
如果有那同位朋友查到相關的解決方案,請稿知,也為遇到此問題的朋友提供一個臨時解決方案吧,重啟。