經在網上查詢4194錯誤通常說明UNDO段出現問題,但我的oracle數據庫版本為10.1.0.2。由于這個版本己經沒有undo 段,用undo表空間進
由于電腦經常非法關機,導致數據關閉時,出現以下錯誤。
Errors in file c:\Oracle\product\10.1.0\admin\orcl\bdump\orcl_smon_5140.trc:
ORA-00607: Internal error occurred while making a change to a data block
ORA-00600: internal error code, arguments: [4194], [24], [22], [], [], [], [], []
經在網上查詢4194錯誤通常說明UNDO段出現問題,,但我的oracle數據庫版本為10.1.0.2。由于這個版本己經沒有undo 段,用undo表空間進行管理,所以網上有說undo段,那都是針對oracle 9i的。這里只是采用新建undo表空間進行替換進行的,這種方法也用undo表空間不回收時使用。
SQL>shutdown immediate; -- 正常關不掉
ORA-00607: Internal error occurred while making a change to a data block
ORA-00600: internal error code, arguments: [4194], [24], [22], [], [], [], [], []
SQL> shutdown abort -- 強制關
SQL> startup
SQL> create undo tablespace undotbs2 datafile 'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\UNDOTBS02.DBF' size 200m;
SQL> alter system set undo_tablespace=undotbs2; -- 修改數據庫的undo表空間
SQL> shutdown immediate --正常關庫
-- 手動改初始化文件,
###########################################
undo_management=AUTO
undo_tablespace=UNDOTBS2
###########################################
SQL> shutdown immediate;
數據庫已經關閉。
已經卸載數據庫。
ORACLE 例程已經關閉。
SQL> startup pfile='C:\oracle\product\10.1.0\admin\orcl\pfile\init.ora.10152011101227';
ORACLE 例程已經啟動。
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 144964076 bytes
Database Buffers 25165824 bytes
Redo Buffers 1048576 bytes
數據庫裝載完畢。
數據庫已經打開。
--恢復原來的表空間
SQL> drop tablespace undotbs1 including contents;
表空間已刪除。
SQL>create undo tablespace undotbs1 datafile 'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\UNDOTBS01.DBF' size 200m;
表空間已創建。.
SQL> alter system set undo_tablespace=undotbs1;
系統已更改。
SQL> shutdown immediate; -- 關庫
--修改參數文件,變更undo表空間回原來的值 .undo_tablespace=undotbs1
SQL> startup pfile='C:\oracle\product\10.1.0\admin\orcl\pfile\init.ora.10152011101227';
ORACLE 例程已經啟動。
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 144964076 bytes
Database Buffers 25165824 bytes
Redo Buffers 1048576 bytes
數據庫裝載完畢。
數據庫已經打開。
SQL> drop tablespace uundotbs2 including contents;
表空間已刪除。
聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com