共計 1490 個字符,預計需要花費 4 分鐘才能閱讀完成。
本篇內容介紹了“oracle 快照不自動創建導致沒辦法收集 awr 報告的原因和解決方法”的有關知識,在實際案例的操作過程中,不少人都會遇到這樣的困境,接下來就讓丸趣 TV 小編帶領大家學習一下如何處理這些情況吧!希望大家仔細閱讀,能夠學有所成!
今天發現客戶 oracle rac 環境一節點不能自動創建快照,導致沒有辦法收集 awr 報告,只能手工創建快照,經過信息排除,發現一節點比二節點少了一些進程,發現一節點沒有 mmon 和 mmnl 進程,這兩進程就是自動創建快照的進程,這連個進程是 oracle 的非核心進程,可以 kill 掉,殺掉進程 oracle 會自動啟動進程,并且自動維護。但客戶這里的這兩個進程是徹底的死掉了。在 oracle mos 中查找解決的原因。
1. 關于 MMON 和 MMNL 后臺進程的 MOS Document:
APPLIES TO:
Oracle Database – Enterprise Edition – Version 11.2.0.4 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.
SYMPTOMS
Due to other reasons, the MMON process died and subsequent AWR reports are therefore not getting generated.
The MMON process should automatically be respawned but it is not.
CAUSE
MMON/MMNL not being respawned or recreated is due to:
unpublished bug: Bug 19565533 – MMON/MMNL CAN NOT BE AUTOMATICALLY RESTARTED AFTER KILLED
The issue only occurs on 11.2.0.4 and is a regression of the fix for
Apply interimAs a workaround, you can respawn the MMON process by next methods:
Restart the database instance
– OR –
Set the instance to restricted session mode and then bring it back to normal mode using following commands as SYSDBA:
alter system enable restricted session;
alter system disable restricted session;
原因。是 bug 所導致的 mmon 和 mmnl 進程死掉
解決辦法:
1、重啟實例
2、不需要重啟實例,將數據庫設置成 restricted session 模式
alter system enable restricted session; br font-size:14.6667px;white-space:normal;background-color:#E0EAF1; / alter system disable restricted session;
設置 restricted session 模式,對 dba 權限沒有影響,普通用戶是無法連接數據庫,需要授予 restricted session 權限才能連接數據庫,普通用戶現有的鏈接不會有影響。
問題解決。
“oracle 快照不自動創建導致沒辦法收集 awr 報告的原因和解決方法”的內容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業相關的知識可以關注丸趣 TV 網站,丸趣 TV 小編將為大家輸出更多高質量的實用文章!