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

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         

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值