Dataguard Restart method

Source: Internet
Author: User
--DG Restart Step


--1, closing the main library
SHUTDOWN IMMEDIATE;


--2, closing the standby library
ALTER database RECOVER MANAGED STANDBY database CANCEL;
SHUTDOWN IMMEDIATE;


--No listening, if you turn off the monitor,
When you start the repository, you start the standby monitor, and then the main library.
--3, starting and preparing the library
Startup


--4, starting the main library
Startup


--5, Standby Library launch application
ALTER database RECOVER MANAGED STANDBY database disconnect from session;


--6, check the standby archive log synchronization (applied status is YES)
Sql> SELECT name,applied from V$archived_log;


--7, check archive log
Main Library:
sql> archive log list;
Standby Library:
sql> archive log list;
See if the current log sequence is the same, indicating that synchronization is consistent. Reboot is OK.





Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Dataguard Restart method

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.