在上篇博文中,使用了duplicate方式来创建物理standby http://blog.csdn.net/aaron8219/article/details/38434579 今天来说说在11g中採用非duplicate方式创建备库碰到的一些问题,并做个总结. 在10g中,通常能够使下面几种方法创建备库控制文件 RMAN> backup current controlfile for standby format 'c:\ctl_%U'; RMAN> backup full databas…
1.停止Standby select process, status from v$managed_standby; --查看备库是否在应用日志进行恢复 alter database recover managed standby database cancel; shutdown immediate; 2.切换到只读模式 -----由shutdown模式切换到只读模式------- startup nomount; alter database mount standby database…
很多正在使用dataguard的客户,都会遇到一个棘手的问题: 在备份端与主库同步的过程中由于网络原因或磁盘问题导致一个或多个归档日志丢失,进而dataguard同步无法继续.很多客户都选择了重新全库恢复,并重新搭建dataguard. 如果我们的源数据库非常大(超过100G的数据量),其实可以选择一种更简便并高效的恢复方法--通过rman的增量备份恢复dataguard中standby端的数据.具体恢复过程如下:1) Stop the managed recovery process (MRP…
http://www.itpub.net/thread-1782245-1-1.html DataGuard一主一物理备,sid为primary和standby,现在要把primary切换成备库,standby切换成主库.在switchover时primary上已经做了 SQL>alter database commit to switchover to physical standby with session shutdown;并且shutdown immediate;startup mou…
Applies to: Oracle Server - Enterprise Edition - Version 11.1.0.6 to 11.2.0.4 [Release 11.1 to 11.2]Information in this document applies to any platform.GoalStep by step guide on how to create a physical standby database using RMAN DUPLICATE FROM ACT…
1,在脚本中代入create db flash backup point for recover dg 2,测试前主备库状态(备库现角色验证,主库监听状态-->有意stop) 主要验证思路, 脚本从备库对dg主库连接性做测试,若主库连接性有问题(监听,网络,.....),自动切换备库角色到主库角色;…
开启STANDBY库为READ WRITE 1.取消主库传送归档 SQL> alter system set log_archive_dest_state_2=defer; 2.取消备库应用日志 SQL> alter database recover managed standby database cancel; 3.修改相关参数 SQL> alter system db_recovery_file_dest='/oracle/fast_recovery_area'; SQL>…
####Primary#### [oracle@primary ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on 金 10月 13 15:40:32 2017 Copyright (c) 1982, 2013, Oracle. All rights reserved. アイドル・インスタンスに接続しました. SQL> startupORACLEインスタンスが起動しました. Total System Global…
1.先使用控制文件构筑好PHYSICAL STANDBY环境(Primary:Single 11.2.0.4,Standby Single 11.2.0.4) 2.构筑好Catalog用的服务器(Catalog:Single 11.2.0.4) 3.构建Catalog |SQL> startup mount ------------------Mount启动|ORACLEインスタンスが起動しました.||Total System Global Area 839282688 bytes|Fixed…
今天遇到了一个客户,问题是这样的,客户构筑了一个RACtoRAC的 LOGICAL STANDBY环境.并用EM在监视同期情况,发现EM页面上55115和55116这两个SEQUENCE一直在应用. 首先向客户要了下列的资料 Primary端Script to Collect Data Guard Primary Site Diagnostic Information for Version 10g and Above (Including RAC). (Doc ID 1577401.1) St…