DBA Hub

📋Steps in this guide1/8

How to Start and Stop Oracle Data Guard 19c

Learn how to safely start and stop Oracle Data Guard 19c with this step-by-step guide. Includes commands for managing standby listeners, canceling managed recovery, mounting the standby database, and restarting Redo Apply for high availability.

oracle configurationintermediate
by OracleDba
16 views
1

How to Stop the Standby (DR) Database

Stopping the standby database involves three main tasks: 1️⃣ Stop Listener 2️⃣ Cancel Managed Recovery 3️⃣ Shutdown Database Let’s go through them one by one.
2

1. Stop the Listener

Use the command: Replace with your actual listener name (often or a custom name). Stopping the listener ensures that new database connections do not occur during shutdown.
3

2. Cancel Managed Recovery

Connect to SQL*Plus and cancel recovery: Output: This command stops Redo Apply , which is necessary before shutting down a standby database.
4

3. Shutdown the Database

Run the shutdown command: Expected output: ✔ These messages simply mean the standby database was not open (normal for standby) and has been cleanly shut down . Starting the standby database includes: 1️⃣ Start Listener 2️⃣ Startup NOMOUNT 3️⃣ Mount Standby Database 4️⃣ Start Managed Recovery
5

1. Start the Listener

This allows client and Data Guard broker connections.
6

2. Start the Database in NOMOUNT Stage

You may see warnings like: This is normal and usually not an issue. At this stage, the instance starts and memory structures (SGA/PGA) are allocated.
7

3. Mount the Standby Database

Output: The standby is now in mounted mode , ready for Redo Apply.
8

4. Start Managed Recovery

To begin Redo Apply in the background: Output: ✔ The standby database now resumes synchronization with the primary database.

Comments (0)

Please to add comments

No comments yet. Be the first to comment!