In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.