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

本文提供了一套详细的Oracle数据库启动故障排除方案,包括使用mount模式启动数据库、检查redo日志状态、清除redo日志文件及执行数据库恢复等步骤。对于不同情况给出了具体的SQL指令,并针对归档模式和非归档模式提供了不同的解决方案。

[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.

转载于:https://www.cnblogs.com/gaojian/p/7625781.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值