【翻译自mos文章】在dg环境中flashback primary database的方法
2015-04-04 18:33
417 查看
在dg环境中flashback primary database的方法
本文的本意是:在flashback了primary database之后,flashback standby database的方法。
参考自:
How To Flashback Primary Database In Standby Configuration (文档 ID 728374.1)
适用于:
Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.3 [Release 10.1 to 11.2]
Information in this document applies to any platform.
解决方案:
本文的本意是:在flashback了primary database之后,flashback standby database的方法。
参考自:
How To Flashback Primary Database In Standby Configuration (文档 ID 728374.1)
适用于:
Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.3 [Release 10.1 to 11.2]
Information in this document applies to any platform.
解决方案:
1. Shutdown primary database . SQL> SHUTDOWN IMMEDIATE 2. Start primary database in mount stage SQL> STARTUP MOUNT 3. Flashback primary database to specified scn SQL> FLASHBACK DATABASE TO SCN <scn_number>; 4. Open primary database with reset logs. SQL> ALTER DATABASE OPEN RESETLOGS; 5. Cancel media recovery on the standby database (if not already done). SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL; 6. Check current_scn on the standby database, If flashback scn is greater then current_scn then skip next step (step 7). SQL> SELECT CURRENT_SCN FROM V$DATABASE; 7. Flashback Standby database SQL> FLASHBACK STANDBY DATABASE TO SCN <scn_number -2>; (on standby database) 8. Start managed recovery on the standby database SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION; Due to Bug 7516849 and Bug 6967591 Media recovery on physical standby may not work properly after the flashback. In order to avoid these bugs, please recreate the Standby Controlfile using these Notes: Note 459411.1 : Steps to recreate a Physical Standby Controlfile OR Note 734862.1 : Step by step guide on how to recreate standby control file when datafiles are on ASM and using Oracle Managed Files
相关文章推荐
- 【翻译自mos文章】ABMR:在asm 环境中測试Automatic Block Recover 特性的方法
- 【翻译自mos文章】监控flashback database 的进度
- 【翻译自mos文章】在物理dg中对RFS进程进行trace的方法
- 【翻译自mos文章】闪回区和flashback database
- 【翻译自mos文章】重新创建物理standby database 的 控制文件的方法
- 【翻译自mos文章】ABMR:在asm 环境中测试Automatic Block Recover 特性的方法
- 【翻译自mos文章】rhel 5下禁用SElinux的方法
- 【翻译自mos文章】加大数据库连接数(the Number of Database Connections )
- 【翻译自mos文章】在重建控制文件之后,丢失了数据库补充日志信息(Missed Database Supplemental Log Information)
- 【 翻译自mos文章】Alter Database Add Supplemental Log Data 命令挂起
- 【翻译自mos文章】在Oracle GoldenGate中循环使用ggserr.log的方法
- 【翻译自mos文章】在rac中,使用asmcmd命令从 文件系统 move system datafile 到asm磁盘组的方法
- 【翻译自mos文章】修改被 DB Control 监控的db (10g and 11g)中 dbsnmp密码的方法
- 【翻译自mos文章】使用asmcmd命令在本地和远程 asm 实例之间 拷贝asm file的方法
- 【翻译自mos文章】开启dblink的 oracle net trace/tracing --对dblink进行跟踪的方法
- 【翻译自mos文章】job 不能自动执行的解决方法
- 【翻译自mos中文文章】重建控制文件的方法
- 【翻译自mos文章】回收 asm磁盘空间的方法
- 【翻译自mos文章】Oracle Database In-Memory Advisor
- 【翻译自mos文章】在RAC database中怎么独立于instance来kill session?