Dataguard-physical Standby Failover Switching process

Source: Internet
Author: User

1.failover Pre-check

#如果有多个standby数据库 to see which standby received the latest redo. Sql> select * from V$archive_dest_status; #查看standby库接收到的最新的SCNSQL > select Thread#,sequence#,last_change#,last_ Time from V$standby_log;   thread#  sequence# last_change# last_time----------------------------------------------         1       7128    126385274 2 May-April -16         1          0            0         1          0            0sql>

2. Executive failover

#停止MRP (Close active application) sql> ALTER DATABASE recover managed standby database cancel; #重启启动MRP, complete Redo application (manual application). If there is a gap,finish will fail. At the end of execution, the protection mode becomes the maximum performance sql> ALTER DATABASE recover managed standby database finish; Sql> ALTER DATABASE commit to switchover to primary with session shutdown; sql> ALTER DATABASE open;

Dataguard-physical Standby Failover Switching process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.