您的位置:首页 > 其它

ORA-00600: internal error code, arguments: [4193], [5925], [7486], [], [], [], [], []

2014-02-07 11:27 375 查看
alert日志错误:

DEBUG: Replaying xcb 0x6c2c9a20, pmd 0x6bc9682c for failed op 8

Doing block recovery for file 2 block 1724

No block recovery was needed

Fri Feb 07 10:55:18 2014

Errors in file d:\oracle\product\10.1.0\admin\orcl\udump\pstc_ora_2404.trc:

ORA-00600: internal error code, arguments: [4193], [5925], [7486], [], [], [], [], []

ORA-00600: internal error code, arguments: [4193], [5925], [7486], [], [], [], [], []

定位坏块

sqlplus / as sysdba --登陆

--查询

select owner,

        file_id,

        segment_name,

        segment_type,

        block_id,

        blocks 

from dba_extents  

where file_id = 2 and 

block_id <= 1724 and (block_id + blocks - 1) >= 1724;

可以看到是undo表空间损坏,重建undo

1、备份数据库文件orcl_data\orcl(关闭数据库复制一份)

2、重建undo

sqlplus / as sysdba

----设置undo管理方式为 ’手动‘

SQL> alter system set undo_management = manual scope=spfile;

SQL> alter system set undo_tablespace='' scope=spfile;

SQL>shutdown immediate

SQL>startup

SQL>create undo tablespace undotbs2 datafile 'E:\orcl_data\orcl\undotbs2.dbf' size 100M;

----设置undo管理方式为 ’自动‘

SQL> alter system set undo_management =auto scope=spfile;

----设置undotbs 为新建的undotbs2

SQL> alter system set undo_tablespace = undotbs2 scope=spfile;

----删除原来损坏的undo表空间

SQL> drop tablespace UNDOTBS1 including contents and datafiles;

SQL>shutdown immediate

SQL>startup

 

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐