Snapshot Database provide facility to make RND(Research & Development) and UAT(User Acceptance Testing) environment. If we have several replica servers using oracle data-guard database option then there is always chance to convert Snapshot Database from Physical standby.
Convert to Snapshot database from Physical Standby database:
Follow the following steps.
-
Stop Redo Apply, if it is active.
-
On an Oracle Real Applications Cluster (RAC) database, shut down all but one instance.
-
Ensure that the database is mounted, but not open.
-
Issue the following SQL statement to perform the conversion:
command:
SQL> ALTER DATABASE CONVERT TO SNAPSHOT STANDBY;
We should remember log transport service continue to ship archive_log files from primary to snapshot db.
Lifetime of snapshot database after conversion depends on FRA(Fast Recovery Area) size.
Convert to Physical Standby from Snapshot database:
Follow the following steps.
-
On an Oracle Real Applications Cluster (RAC) database, shut down all but one instance.
-
Ensure that the database is mounted, but not open.
-
Issue the following SQL statement to perform the conversion:
command:
SQL> ALTER DATABASE CONVERT TO PHYSICAL STANDBY;
Reference:
https://docs.oracle.com/cd/B28359_01/server.111/b28294/manage_ps.htm#i1035175
How do you give facility for RND and UAT perpose at your business end in the organization as a dba?
ReplyDelete