In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Oracle 11g introduces Snapshot Standby to allow standby database to open in read-write mode. When you switch back to standby mode, all changes in read-write mode are lost. It is implemented through flashback database, but standby database does not need to explicitly enable flashback database.
If you use RAC, close all other instances and keep one instance. Make sure the instance is in mount mode.
Shutdown immediate
Startup mount
1. Close managed recovery
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL
two。 Convert standby to a snapshot standby.
SELECT flashback_on FROM v$database
FLASHBACK_ON
-
NO
ALTER DATABASE CONVERT TO SNAPSHOT STANDBY
ALTER DATABASE OPEN
SELECT flashback_on FROM v$database
FLASHBACK_ON
-
RESTORE POINT ONLY
When you're done, you can treat standby like any read-write database.
3. Convert standby back to physical standby, losing all modifications after conversion to snapshot standby.
SHUTDOWN IMMEDIATE
STARTUP MOUNT
ALTER DATABASE CONVERT TO PHYSICAL STANDBY
SHUTDOWN IMMEDIATE
STARTUP NOMOUNT
ALTER DATABASE MOUNT STANDBY DATABASE
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT
SELECT flashback_on FROM v$database
FLASHBACK_ON
-
NO
Now standby is back to managed recovery and the transfer of archived logs is restored.
Notice that flashback database is still not open.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.