menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Databases

>

How to Sta...
source image

Sanjeevvellaisamydba

15h

read

310

img
dot

How to Start and Stop Oracle Data Guard Server 19c

  • To stop the Oracle Data Guard server, first, stop the listener service using 'lsnrctl stop '.
  • Next, cancel the managed recovery process by connecting to the database and executing 'ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;'
  • Finally, shut down the DR database using the command 'SQL> SHUT IMMEDIATE;'
  • To start the Oracle Data Guard server, start the listener service using 'lsnrctl start '.
  • Then, start the database in NOMOUNT mode using 'SQL> STARTUP NOMOUNT;'.
  • After that, mount the standby database using 'SQL> ALTER DATABASE MOUNT STANDBY DATABASE;'.
  • Lastly, initiate the managed recovery process by executing 'SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;'

Read Full Article

like

18 Likes

For uninterrupted reading, download the app