操作環境
SuSE+Oracle11gR2
問題現象
單板宕機自動重啟后,ORACLE運行不正常,主要表現如下:
1、執行shutdown immedate停止數據庫時,提示ORA-00600: internal error code, arguments: [4193],[],[]
2、壓測性能時,oracle總是無緣無故關閉
問題分析
發現問題后查看告警日志<find $ORACLE_BASE -name "alert*.log">
1、查看告警日志alert*.log,發現日志中有ORA-00600: internal error code, arguments: [4193],[],[]錯誤信息。重新啟動時新生成的日志也存在相同的錯誤信息。
2、根據如上關鍵信息查找資料,發現該問題的產生是由於undo表空間的問題。需要重建undo表空間。
問題解決
重建undo表空間
1、create undo tablespace undotbs2 datafile '/home/oracle/oradata/undotbs2.dbf' size 1024M;
2、alter system set undo_tablespace='undotbs2';
3、alter tablespace undotbs1 offline; #offline舊的回滾表空間udotbs1
4、select usn,xacts,status,rssize/1024/1024/1024,hwmsize/1024/1024/1024,shrinks 2 from v$rollstat order by rssize;#查看舊的UNDO表空間UNDO SEGMENT OFFLINE都已經釋放
5、drop tablespace undotbs1 including contents and datafiles; #刪除舊的表空間
重啟數據庫實例(主要目的是讓系統釋放刪除的undotbs1對應的數據文件)
1、shutdown immediate;
2、startup;