Home » Server Options » Data Guard » Switch protection mode (Oracle 11.1.0.6, OEL 5)
Switch protection mode [message #427448] Thu, 22 October 2009 12:23 Go to next message
dasuwal@gmail.com
Messages: 17
Registered: June 2009
Junior Member
Hi Forum

I have a 11.0.1.6 dataguard in maximum performance mode.
I want to change the protection mode to maximum availability. I have changed the log_archive_dest_2 parameter as follow & created standby redo logs on both primary and standby. stdby is standby database unique name.

log_archive_dest_2=
'SERVICE=stdby lgwr SYNC AFFIRM
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=stdby'

After bouncing the database, when I check my protection_mode from v$database, it still shows maximum performance.
Is there any step I have missed. Please guide.

Thanks in advance.
Re: Switch protection mode [message #428179 is a reply to message #427448] Tue, 27 October 2009 07:38 Go to previous messageGo to next message
gentlebabu
Messages: 1398
Registered: December 2005
Location: India, Hyderabad
Senior Member

ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE {PROTECTION | AVAILABILITY | PERFORMANCE}


-Babu

[Updated on: Tue, 27 October 2009 07:38]

Re: Switch protection mode [message #429607 is a reply to message #427448] Wed, 04 November 2009 13:44 Go to previous messageGo to next message
stonevishcool
Messages: 16
Registered: June 2008
Location: Mumbai
Junior Member
Hi,

You need to fire below command on primary server. Make sure primary database must be on MOUNT stage.

ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE AVAILABILITY

Then OPEN the db and execute the below query to check db mode.

SELECT PROTECTION_MODE FROM V$DATABASE

Regards,
Vish
Re: Switch protection mode [message #429636 is a reply to message #429607] Wed, 04 November 2009 16:30 Go to previous messageGo to next message
gentlebabu
Messages: 1398
Registered: December 2005
Location: India, Hyderabad
Senior Member

Hello stonevishcool,

Is there any wrong post in my previous post??

- Babu
Re: Switch protection mode [message #429637 is a reply to message #429636] Wed, 04 November 2009 19:06 Go to previous message
stonevishcool
Messages: 16
Registered: June 2008
Location: Mumbai
Junior Member
Hello Babu,

There is nothing wrong in your post but i just added additional steps. Smile

Regards,
Vish
Previous Topic:Create Logical Standby coexisting with Physical Standby database
Next Topic:Truncate table effect on physical standby
Goto Forum:
  


Current Time: Mon Nov 30 12:03:52 CST 2009

Total time taken to generate the page: 0.34728 seconds
.:: Forum Home :: Blogger Home :: Wiki Home :: Contact :: Privacy ::.