• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to Create or Remove Restore Point on Oracle Standby database

by admin

This post is to provide steps to create or remove restore point on standby database.

Create restore point on standby database

It is required to stop the managed recovery on the standby, otherwise the following error will happen:

ORA-38784: Cannot create restore point '[name]'.
ORA-01153: an incompatible media recovery is active
sqlplus / as sysdba

Stop the managed recovery and create restore point:

SQL> alter database recover managed standby database cancel;
SQL> create restore point [name];

Remove a restore point on standby database

For release prior to 12.1, if standby database is running in Active Data Guard mode, close the database is required, otherwise the following error will happen: ORA-16000: database open for read-only access.

sqlplus / as sysdba
SQL> shutdown immediate
SQL> startup mount
SQL> drop restore point [name];
SQL> alter database open read only;   -- (if using Active Data Guard)
SQL> alter database recover managed standby database using current logfile disconnect;  -- (restart the managed recovery)

For 12.1 onward, only stop the managed recovery is required in order to drop the restore point. Above commands are applicable for all standby Protection mode (MaxPerformance/MaxAvailability/MaxProtection).

Filed Under: Data Guard, oracle

Some more articles you might also be interested in …

  1. Empty Directories in the Flash Recovery Area (FRA) are not deleted
  2. Archived Redo File Conventions in Oracle RAC
  3. Troubleshooting Common ORA-1157 Errors (cannot identify/lock data file)
  4. What Is Oracle Key Vault
  5. Create an output file from GGSCI commands
  6. Configuring Data Guard in Oracle Cloud Infrastructure (OCI)
  7. IPv4 Subnet Basics and Oracle Clusterware
  8. ASM background processes in 11gR2
  9. How to Resize the Undo Tablespace in Oracle Database
  10. How to Recover DROPPED PDB After Flashback of CDB

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright