码迷,mamicode.com
首页 > 数据库 > 详细

[Oracle][OnlineREDO]数据库无法启动时的对应策略:

时间:2017-10-04 17:07:12      阅读:172      评论:0      收藏:0      [点我收藏+]

标签:which   over   策略   exec   mode   store   star   open   logs   

[Oracle][OnlineREDO]数据库无法启动时的对应策略:

1. Start with mount.

  SQL> conn / as sysdba
  SQL> startup mount

 2. Check the redo log in which v $ log failed.

  SQL> select * from v $ log;

   ===> If STATUS = ‘INACTIVE‘, perform step 3.
        If STATUS = ‘INACTIVE‘, do step 4.

 3. Clear the redo log file.

  SQL> alter database clear logfile group X;
  SQL> alter database open;

 4. Execute the recover statement.

  SQL> recover database until cancel;
  SQL> alter database open resetlogs;
   
If you can not deal with the above method, the following actions are required.

 a) In the archive log mode

  Apply the created archive log and recover.

 b) In case of no archive log mode

  Please restore the acquired cold backup.

[Oracle][OnlineREDO]数据库无法启动时的对应策略:

标签:which   over   策略   exec   mode   store   star   open   logs   

原文地址:http://www.cnblogs.com/gaojian/p/7625781.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!