物理备库open ORA-10458
2016-05-27 22:06
375 查看
刚创建的物理备库在打开时可能会报 ORA-10458: standby database requires recovery 这个错,此时只要打开备库的 日志恢复,让备库apply重做日志即可。
[oracle@n2 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Wed May 25 09:52:17 2016
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 630501376 bytes
Fixed Size 2255872 bytes
Variable Size 234882048 bytes
Database Buffers 390070272 bytes
Redo Buffers 3293184 bytes
Database mounted.
ORA-10458: standby database requires recovery
ORA-01196: file 1 is inconsistent due to a failed media recovery session
ORA-01110: data file 1: '/oracle/db/oradata/orcl/system01.dbf'
SQL> alter database recover managed standby database using current logfile disconnect;
Database altered.
SQL> alter database recover managed standby database cancel;
Database altered.
SQL> alter database open;
Database altered.
SQL>
相关文章推荐
- linux 多线程学习
- Linux Shell编程三:shell脚本基础
- Learning OpenCV: cvCreateVideoWriter to save AVI video file
- linux C select函数学习
- linux下报错bash: service: command not found
- 使用adb shell 进入手机修改文件的权限
- Linux Shell编程二:sed&awk
- Linux 虚拟文件系统(VFS)介绍
- Linux Shell编程一:shell命令
- HDU 4405 Aeroplane chess(期望)
- 一站式linux0.11内核head.s代码段图表详解
- 吸引子传播(Affinity Propagation)算法
- Learning OpenCV: read video from Camera
- Codeforces Round #225 (Div. 1) C-Propagating tree (DFS序+线段树/树状数组)
- linux基本命令(40)——wc命令
- Learning OpenCV:cvCvtColor and cvCanny
- Linux屏幕录像
- linux基本命令(39)——grep命令
- Spark 附带示例完整解释(原文已在IBM Developworks发表)
- Vim 高级用法 1 点的妙用