ORA-600 -3005和ORA-600-2662/2663

本文详细介绍了如何处理Oracle数据库中出现的ORA-600 3005和ORA-600 2662错误。通过检查数据文件头的SCN、运行实例恢复和手动打开数据库以重置日志等步骤,逐步解决数据库故障。同时提到了可能导致此类错误的原因,如隐含参数的使用、硬件错误和部分恢复等。
摘要由CSDN通过智能技术生成

oracle metalink  给出ORA-600   3005解决方案:

 

Solution

 

1.  Check the current state ofdatafiles and online redo logs

 

a.  Compare SCN(checkpoint_change#) from datafile headers:

 

selectstatus,checkpoint_change#,checkpoint_time, resetlogs_change#, resetlogs_time,count(*), fuzzy from v$datafile_header

group bystatus,checkpoint_change#,checkpoint_time, resetlogs_change#, resetlogs_time,fuzzy;

 

b. with the online log files (first_change#):

 

col member form a60

select v1.thread#, v1.group#, member,sequence#, first_change#, archived, v1.status from v$log v1, v$logfile v2 wherev1.group#=v2.group#;

 

NOTE: in most cases, the online redo logfile will be the one with v1.status = CURRENT

 

2.  Run instance recoverymanually

 

a.  Issue the command:

 

recover database using backup controlfileuntil cancel;

 

b.  when prompted, give it thefull online redo log file name associated with the THREAD#suggested. 

 

c.  Oracle should return:

 

Log applied.

Media recovery complete.

 

3.  Open the database withresetlogs:

alter database open resetlogs;

 

实际操作步骤:

SQL> selectstatus,checkpoint_change#,checkpoint_time, resetlogs_change#, resetlogs_time,count(*), fuzzy from v$datafile_header

  2 group by status,checkpoint_change#,checkpoint_time, resetlogs_change#,resetlogs_time, fuzzy;

 

STATUS  CHECKPOINT_CHANGE# CHECKPOINRESETLOGS_CHANGE# RESETLOGS   COUNT(*)FUZ

------------------------- --------- ----------------- --------- ---------- ---

ONLINE         

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值