教程中国
PHOTOSHOP CS9.0中文版 MAYA 8.5 FOR WINDOWS Corel Painter v9.0 Flash MX2004 中文版 Illustrator cs2 中文版
VC++6.0含sp6 中英文版 VB6.0 +sp6 简体中文版 Borland Delphi 7汉化版 MSDN for vb6.0中文版 Visual Studio 2005简体
教程中国下属 文件存储共享专家BIBIDU.COM 提供大型软件,教材,源码,电影,音乐,图书等下载 更多精品请点此进入
  您目前所在位置: 教程中国 >> Oracle >> 备份恢复 >> 用Control file恢复DB运行 RSS订阅
用Control file恢复DB运行
教程(视频,书籍)下载:  ASP.NET AutoCAD 数据库 C# ASP java photoshop 网页设计 delphi 3dmax Flash C++ VB 张孝祥 实例   更多请进入BIBIDU搜索
IT搜索引擎   

eason

 

由于应用程序的一些错误,导致Oracle session快速增长,DB 发生

 

ora00600 错误,Undotbs不够用,DB自己关闭,导致双机切换,切换后又发生类似现象,双机多次切换,导致DB关闭不正常,再次打开时发生如下错误:

 

ORA-01207 file is more recent than controlfile - old controlfile

 

Reference:该错误的oracle解释

 

Cause: The control file change sequence number in the datafile is greater than the number in the control file. This implies that the wrong control file is being used. Note that repeatedly causing this error can make it stop happening without correcting the real problem. Every attempt to open the database will advance the control file change sequence number until it is great enough.

 

Action: Use the current control file or do BACKUP CONTROLFILE RECOVERY to make the control file current. Be sure to follow all restrictions on doing a BACKUP CONTROLFILE RECOVERY.

 

Target: 尽快打开Oracle DB,恢复业务,更改应用软件错误部分。

 

Solution

 

1        Check alert filekill monitor process

2        Startup mount

3        alter database backup control to trace

4        Find the trace file,and open it

5        Startup nomount

6        recreate controlfile using resetlogs

7        recover database using backup controlfile

8        alter database open resetlogs;

9        alter tablespace temp add tempfile '.dbf' reuse;

 

ok!

 

Remark:

 

1.        在执行第6步的时候原本用noresetlogs,但recreate controlfile不成功,可能relogs也遭到破坏,其中对VG进行了释放再激活操作,仍旧create controlfile失败。最终采用resetlogs方式。

 

2.        在执行第7步时需注意,要一个一个的输入redolog以做尝试,输入一个正确的redolog后可能还需下一个redolog继续做恢复,直到出现“完成介质恢复”字样。

 

3.        8步执行时间较长。

来源:upschool.com.cn
作者:
关键字:用Control
发表日期:2007-1-6 0:48:53

网页显示有限 阅读全文请下载本文完整版WORD文档

上一篇:Oracle数据库备份技巧   下一篇:oracle触发器介绍


2008-11-21 1:39:42
本文的相类似文章
  • 使用Control.Invoke处理多线程应用程序界面
  • 在学习中进步 在进步中成长 教程中国相随您的成长之路
    华腾联合科技股份有限公司版权所有
    广告联系:Rosibo@163.com