Database shutdowns in Maximum Protection mode
Hi,
I am using oracle dataguard 11g(11.2.0.1.0) on OEL5. My dataguard is working fine in MAXIMUM PERFORMANCE mode. But when i try to put my database mode in MAXIMUM PROTECTION MODE my database gets shutdown.What could be the possible reason for this????
Regards,
007
Hello;
Quote "To ensure that data loss cannot occur, the primary database will shut down, rather than continue processing transactions, if it cannot write its redo stream to at least one synchronized standby database"
Section - 1.4 Data Guard Protection Modes - Data Guard Concepts and Administration 11g Release 2 (11.2) E10700-02
From section 5.1 of the same document ( Maximum Protection )
"Oracle recommends that a minimum of two standby databases be used to
protect a primary database that runs in maximum protection mode to prevent a single
standby database failure from causing the primary database to shut down."
Best Regards
mseberg
Similar Messages
-
Primary db get error ORA-03113 in maximum protection mode
primary db pfile :
cds.__db_cache_size=230686720
cds.__java_pool_size=4194304
cds.__large_pool_size=4194304
cds.__shared_pool_size=71303168
cds.__streams_pool_size=0
*.archive_lag_target=0
*.background_dump_dest='/opt/oracle/database/cds/bdump'
*.control_files='+data/control01.ctl','+data/control02.ctl'
*.db_name='cds'
*.db_recovery_file_dest_size=2147483648
*.db_recovery_file_dest='+data1'
*.db_unique_name='cds'
*.dg_broker_start=FALSE
*.fal_client='cds'
*.fal_server='cdssty'
*.log_archive_config='DG_CONFIG=(cds,cdssty)'
*.log_archive_dest_1='LOCATION=+data2 VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=cds'
*.log_archive_dest_2='SERVICE=cdssty LGWR SYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=cdssty'
*.log_archive_dest_state_2='ENABLE'
cds.log_archive_format='%t_%s_%r.dbf'
*.log_archive_max_processes=1
*.log_archive_min_succeed_dest=1
*.sga_target=300m
*.standby_archive_dest='+data2'
*.standby_file_management='AUTO'
*.undo_management='auto'
*.undo_tablespace='undocds01'
*.user_dump_dest='/opt/oracle/database/cds/udump'
standby db pfile :-
cdssty.__db_cache_size=213909504
cdssty.__java_pool_size=4194304
cdssty.__large_pool_size=4194304
cdssty.__shared_pool_size=88080384
cdssty.__streams_pool_size=0
*.archive_lag_target=0
*.background_dump_dest='/opt/oracle/database/cdssty/bdump'
*.control_files='+DATA01/control01.ctl','+DATA01/control02.ctl'#Restore Controlfile
*.db_file_name_convert='+data','+data01'
*.db_name='cds'
*.db_recovery_file_dest_size=2147483648
*.db_recovery_file_dest='+data02'
*.db_unique_name='cdssty'
*.dg_broker_start=FALSE
*.fal_client='CDSSTY'
*.fal_server='CDS'
*.log_archive_config='DG_CONFIG=(cdssty,cds)'
*.log_archive_dest_1='LOCATION=+data03 VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=cdssty'
*.log_archive_dest_2='SERVICE=cds LGWR SYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=cds'
cdssty.log_archive_dest_state_1='ENABLE'
cdssty.log_archive_format='%t_%s_%r.dbf'
*.log_archive_max_processes=1
*.log_archive_min_succeed_dest=1
cdssty.log_archive_trace=0
*.log_file_name_convert='+data','+data01'
*.sga_target=300m
*.standby_archive_dest='+data03'
cdssty.standby_archive_dest='+DATA03'
*.standby_file_management='AUTO'
*.undo_management='auto'
*.undo_tablespace='undocds01'
*.user_dump_dest='/opt/oracle/database/cdssty/udump'
primary database is in maximum protection mode
stanbdy db has two standby redolog file groups
llistener at both the end is up
when i try to open primary databsae i get the error blow:
ERROR at line 1:
ORA-03113: end-of-file on communication channel
i read the alert log and its log are as blow:
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Wed Nov 7 04:28:00 2012
alter database open
Wed Nov 7 04:28:01 2012
LGWR: STARTING ARCH PROCESSES
ARC0: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
ARC0 started with pid=16, OS id=13841
Wed Nov 7 04:28:01 2012
LGWR: Primary database is in MAXIMUM PROTECTION mode
LGWR: Destination LOG_ARCHIVE_DEST_1 is not serviced by LGWR
LGWR: Minimum of 1 synchronous standby database required
Wed Nov 7 04:28:01 2012
Errors in file /opt/oracle/database/cds/bdump/cds_lgwr_13720.trc:
ORA-16072: a minimum of one standby database destination is required
Wed Nov 7 04:28:01 2012
Errors in file /opt/oracle/database/cds/bdump/cds_lgwr_13720.trc:
ORA-16072: a minimum of one standby database destination is required
LGWR: terminating instance due to error 16072
Instance terminated by LGWR, pid = 13720
and the contents of /opt/oracle/database/cds/bdump/cds_lgwr_13720.trc are:
/opt/oracle/database/cds/bdump/cds_lgwr_13720.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /opt/oracle/product
System name: Linux
Node name: Host1
Release: 2.6.18-128.el5
Version: #1 SMP Wed Dec 17 11:42:39 EST 2008
Machine: i686
Instance name: cds
Redo thread mounted by this instance: 1
Oracle process number: 6
Unix process pid: 13720, image: oracle@Host1 (LGWR)
*** 2012-11-07 04:28:01.123
*** SERVICE NAME:() 2012-11-07 04:28:01.122
*** SESSION ID:(45.1) 2012-11-07 04:28:01.122
Destination LOG_ARCHIVE_DEST_1 is not serviced by LGWR
Standby database verification failed:16072
ORA-16072: a minimum of one standby database destination is required
error 16072 detected in background process
ORA-16072: a minimum of one standby database destination is required
if i open primary db in maximum availability mode its working fine ..
the problme is only with maximum protection mode
plz tell me what is wrong with my configurationhi thanx again,
i read both the oracle links u suggest me in your previous post ,but i have not found any thing like,min 2 standby database require for maximum protection mode,
in first link :-
5.6.1.1 Maximum Protection Mode
This protection mode ensures that no data loss will occur if the primary database fails. To provide this level of protection, the redo data needed to recover each transaction must be written to both the local online redo log and to the standby redo log on at least one standby database before the transaction commits_. To ensure data loss cannot occur, the primary database shuts down if a fault prevents it from writing its redo stream to at least one remote standby redo log. For multiple-instance RAC databases, Data Guard shuts down the primary database if it is unable to write the redo records to at least one properly configured database instance. The maximum protection mode requires that at least one standby instance has a standby redo log and the LGWR, SYNC, andAFFIRM attributes be used on the LOG_ARCHIVE_DEST_n parameter for this destination.
and second link:-
Maximum protection This protection mode ensures that no data loss will occur if the primary database fails. To provide this level of protection, the redo data needed to recover each transaction must be written to both the local online redo log and to the standby redo log on at least one standby database before the transaction commits_. To ensure data loss cannot occur, the primary database shuts down if a fault prevents it from writing its redo stream to the standby redo log of at least one transactionally consistent standby database.
Plz correct me if i m wrong
thanx in advance -
9i Dataguard Problem in MAXIMUM PROTECTION mode
Dear All
Hi
I have 9i Rel 2 (9.2.07) dataguard environment on Linux Redhat Advanced Server 3
The Pretenction mode is Maximum Protection
One day I noticed that my dataguard Database is about 100 log files before than the Primary:
On priamry the current log sequence# was 7804
But in standby the last log that was transfered and applied was 7716
In primary I executed the following select:
SQL> Select protection_mode , protection_level from v$database;
the result was:
protection_mode=MAXIMUM PROTECTION
protection_level=SYNCHRONIZING
What I want to know is:
Why the primary database did not become shutdown when it is in MAXIMUM PROTECTION mode and why it has continued working when the log files could not transfer to standby database ????
Thank you in advance for your replyAnybody any idea ??????
-
Configuring maximum protection mode in dataguard with oracle 10g
Dear All,
I am facing a big problem in my configuration for oracle dataguard in maximum protection mode. as per oracle documentation i have done the following.
on the primary database i configured the floowing parameter.
LOG_ARCHIVE_DEST_2='SERVICE=CDER LGWR SYNC AFFIRM
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=CDER'
on the standby i configured the following parameters.
LOG_ARCHIVE_DEST_2='SERVICE=REDC LGWR SYNC AFFIRM
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=REDC'
i created standby redo logs on the standby database as per documentation.
I shut down the primary database and started it in mount stage and i executed the following commands.
SQL> ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE PROTECTION
after database was sucessfully alterd, i execute it the following command to open the database.
SQL > ALTER DATABASE OPEN;
what is happening is that i am recieving the Error end of communication channel and also after i look at the log file the following error is in place
Thu Jul 22 23:33:37 2010
Errors in file c:\oracle\product\10.2.0\admin\redc\bdump\redc_psp0_1088.trc:
ORA-16072: a minimum of one standby database destination is required
though when i reset the dataguard to maximize performance it work really successful and the database open;
please guys guide me through thisyou got it
redc.__db_cache_size=1056964608
redc.__java_pool_size=16777216
redc.__large_pool_size=16777216
redc.__shared_pool_size=318767104
redc.__streams_pool_size=0
*.audit_file_dest='C:\oracle\product\10.2.0\admin\REDC\adump'
*.background_dump_dest='C:\oracle\product\10.2.0\admin\REDC\bdump'
*.compatible='10.2.0.3.0'
*.control_files='C:\oracle\product\10.2.0\oradata\REDC\control01.ctl','C:\oracle\product\10.2.0\oradata\REDC\control02.ctl','C:\oracle\product\10.2.0\oradata\REDC\control03.ctl'
*.core_dump_dest='C:\oracle\product\10.2.0\admin\REDC\cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=8
*.DB_FILE_NAME_CONVERT='C:\oracle\product\10.2.0\oradata\CDER','C:\oracle\product\10.2.0\oradata\REDC','D:\oracle\oradata\CDER','D:\oracle\oradata\REDC'
*.db_name='REDC'
*.DB_UNIQUE_NAME='REDC'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=REDCXDB)'
*.FAL_CLIENT='REDC'
*.FAL_SERVER='CDER'
*.job_queue_processes=10
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(REDC,CDER)'
*.LOG_ARCHIVE_DEST_1='LOCATION=D:\oracle\Archives
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=REDC'
*.LOG_ARCHIVE_DEST_2='SERVICE=CDER LGWR SYNC AFFIRM
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=CDER'
*.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
*.log_archive_dest_state_2='ENABLE'
*.LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
*.LOG_ARCHIVE_MAX_PROCESSES=5
*.LOG_FILE_NAME_CONVERT='D:\oracle\Archives','D:\oracle\Archives'
*.open_cursors=300
*.pga_aggregate_target=471859200
*.processes=150
*.REMOTE_LOGIN_PASSWORDFILE='EXCLUSIVE'
*.sga_target=1417674752
*.STANDBY_FILE_MANAGEMENT='AUTO'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='C:\oracle\product\10.2.0\admin\REDC\udump' -
Multiplexing Redo Log and maximum protection mode.
Assume that during writing into redo logs the instance crashes. As a result, members of active redo group are not synchronized, some of them had more data. How Oracle will handle this when instance starts? And there can be case when at startup time some members that had more redo before crash, are lost.
Now assume that we have standby database with maximum protection mode. After LGWR has written to local redo logs and before writing to standby redo logs, primary instance crashes. In this case standby site lost last transaction.
Is it correct? Thanks.Assume that during writing into redo logs the instance crashes. As a result, members of active redo group are not synchronized, some of them had more data. How Oracle will handle this when instance starts? And there can be case when at startup time some members that had more redo before crash, are lost.
Members of a particular group are written concurrently by LGWR, all members of a log group will have same data. If any member of a particular group is lost or not reachable, oracle will read from the available log member during instance recovery.
Multiplexing Redo Log Files
http://docs.oracle.com/cd/B19306_01/server.102/b14231/onlineredo.htm#i1006249
To answer your second question,In this mode no transaction commits on primary unless the redo is also written on atleast one standby database, otherwise primary will go down.
Check below
Maximum Protection
http://docs.oracle.com/cd/B28359_01/server.111/b28294/protection.htm#CHDHFHJI -
Dataguard: RESYNCHRONIZATION state for MAXIMUM PROTECTION mode
Dear All
Hi
When you have Data guard in 10g Rel 2 and your primary database protection mode is configured as MAXIMUM PROTECTION , when the standby database goes down , the PROTECTION_LEVEL in primary database changes to RESYNCHRONIZATION before the primary database shuts down .
SQL> select protection_level from v$database;
PROTECTION_LEVEL
RESYNCHRONIZATION
I need to know for how long primary database can stay in RESYNCHRONIZATION level before it goes down ? and how we can change this time ???
Thanks
Edited by: kamranbs on Jul 19, 2011 2:13 PM
Edited by: kamranbs on Jul 19, 2011 3:09 PMSomething not quite right, unless you have extremely slow disks or the OS is slacking (using VM?) . As soon a the net_timeout expires, primary initiates shutdown abort which should be instant.
-
Maximum Protection mode with multiple guaranteed Standby destinations
Hello,
We have the requirement to have our database in 3 locations, so we have 1 primary and 2 standbys. High Availbility is not that important as data protection.
With maximum protection it's possible to guarantee the data replication to 1 standby database. If no standby is available the database stalls.
Our requirement is, that the data must be replicated to 2 standby databases. If this is not possible because of a network outage or server crash on a standby db, the primary should stall.
I know with this setup, the availablity will be lowered, but would it be possible to do this with dataguard? (RAC is not an option)
Thanks and Regards
ThomasHello again;
OK, I understand now. That sounds like a custom job. I'm not aware of a parameter which controls that number.
You could comb Chapter 8 of the "Oracle Data Guard 11g handbook", but I'm not finding anything there.
I believe the SYNC part of this ( Maximum Protection ) may have you covered, but if you had multiple standby's I still don't have a setting like you want.
Oracle Maximum Availability Architecture White Papers which may provide additional information :
Rapid Oracle RAC Standby Deployment: Oracle Database 11g Release 2
Switchover and Failover Best Practices
Client Failover Best Practices for Highly Available Oracle Databases
Oracle Data Guard with Oracle Database 11g Release 2
Best Regards
mseberg
Edited by: mseberg on Mar 15, 2012 9:04 AM -
Physical Standby Database (Protection Mode)?!!
Hi,
I have configured a physical standby database to use Real-time Apply, but i noticed that the protection mode of the database has been changed from "Maximum Performance" to ''Maximum Availability"..
log_archive_dest_3='service=phystby OPTIONAL LGWR SYNC AFFIRM reopen=120 valid_for=(online_logfiles,primary_role) db_unique_name=phystby'
Any body to explaine??
Regards,LGWR SYNC AFFIRM
These are the options are used in maximum protection mode ,in which oracle will write the information in both the server(primary and standby) and this write occurs at same time.
oracle write the information in online redo logfile of both the server simultaneously.
and this option ensure no data loss will occurs if primary will fail.
SYNC related with Network transmission mode.
AFFIRM related with disk write option.
LGWR describe Redo archival process.
Thanks
Kuljeet -
Dateguard Protection Mode and log transfer doubt
Friends,
DB: 11gR2 (11.2.0.3) 64 bit
OS: OEL 5.5 64 bit
iam new to dataguard..
i just finished the setup of primary db and physical standby in my notebook.
the protection mode is the default one...that is...maximum performance. (primary)
in the maximum protection mode....whenever i need the logs to transferred to physical standby..i have to do the switch logfile and also archive the current log.
its not reflecting/transferring automatically. that is in the scott user i created a table in primary db..
but its not reflecting in the physical standby of scott user. once i do the below...
alter system switch logfile
alter system archivelog currentthen its reflecting in the physical standby. so, am i have to change this mode to maximum availability or maximum protection?
so in maximum performance mode, i have to execute the above statement whenever i need the log transport from primary to standby?
thanks1. is the real-time apply can be used in all the 3 protection modes?Yes.
2. while changing the protection mode, i have to do it in the primary db is it?Yes changes are done in primary database.
http://docs.oracle.com/cd/B28359_01/server.111/b28294/protection.htm#
3. while shutting down the physical standby and primary i just run the shutdown immediate command in standby and then in primary...is there any steps to be followed while shutting down the server or starting up the server in the dataguard environment like rac environment.?
While shutting do this:
Check whether primary and standby database are in SYNC and then Cancel the recovery process
Shut down the primary database and then shut down the standby database And if you are using ASM then you have to shutdown that also.
Stop all listeners and cluster services. Perform this step on all nodes in an Oracle Real Application Clusters (Oracle RAC) environment.
While starting do this:
Start the cluster services and listener
Start the ASM and then database
Start the recovery process on standby database. -
Query regarding upgrading protection mode in a data guard
I am using Oracle 10g in Linux platform
Consider that I have a logical standby and a physical standby and now I want to upgrade the protection mode of physical standby but want the logical standby to retain the protection mode .
According to the Oracle documentation they have specified that the following statement has to be issued from primary to upgrade protection mode of a standby
SQL > Alter database set standby database to maximum availability;So to which standby this statement will refer to, whether logical standby or physical standby?Hi,
What you want to do is very possible. Please not however the protection mode DOES NOT apply to a standby when you say a database has a certain protection mode, it applies to the primary.
First to be in maximum availability you have to issue the command you state, and that applies to the primary, it is now in maximum availability but to get there it must have ONE standby that uses LGWR SYNC as the transport mechanism with AFFIRM.
You can also have other standby's running from this primary, that DO NOT have to use LGWR SYNC, but can use the other available tranport mechanisms.
This is explained here:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/protection.htm#CHDEDGIF
cheers,
jason.
http://jarneil.wordpress.com -
Protection Modes and Fast-Start Failover
Oracle Maximum Availability Architecture allows you to set fast-start failover (FSF)to automatically failover to the standby in the event of losing the primary database.
One condition of FSF is that it will only initiate if there is a guarantee of no data loss. This is where i start getting confused. Maximum Availability mode allows for data loss as the primary will still process transactions if the connection to the standby is lost. This means then in the event of the standby being out of sync with the primary database (i.e. network glitches) and then losing the primary database to hardware issues for example. FSF will not be able to initiate as data will be lossed and a complete loss of service will happen!
Can FSF be used in Maximum Protection mode as this will always mean FSF will be able to occur? Also what is the overhead towards the databases with regards to running them in this mode?
Thanks,
ChrisHi,
Can FSF be used in Maximum Protection mode as this will always mean FSF will be able to occur? Yes, Maximum Protection Mode can be used with Fast-Start Failover, please review the next link.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14230/cli.htm#BABEIIHD
Also what is the overhead towards the databases with regards to running them in this mode?
Yes, the overhead is on major scale that other modes.
Regards. -
Hello,
1) In order to set Data protection mode, do I need to set anything on standby?
2) My database is in Maximum Performance mode. I set up following entry on init.ora:
LOG_ARCHIVE_DEST_2=’service=standby LGWR ASYNC’.
I want to change data guard protection mode from Max Performance to Max Protection. For that i have changed from the "ASYNC" attribute to "SYNC" attribute of the LOG_ARCHIVE_DEST_n initialization parameter like:
LOG_ARCHIVE_DEST_2=’service=standby LGWR SYNC’.
But I have not changed the protection mode on the primary database using “alter database set standby database to maximize protection”.
Does it continue as Max Performance mode or will it throw any error?1) In order to set Data protection mode, do I need to set anything on standby? You have to take care only in primary LOG_ARCHIVE_DEST_n parameter, If you changed protection mode of course it will be taken care.
But dont forget to check on standby if you have configured anything on LOG_ARCHIVE_DEST_n parameter[if you perform switchover in future], usually it will left blank.
2) My database is in Maximum Performance mode. I set up following entry on init.ora:
LOG_ARCHIVE_DEST_2=’service=standby LGWR ASYNC’.
I want to change data guard protection mode from Max Performance to Max Protection. For that i have changed from the "ASYNC" attribute to "SYNC" attribute of the LOG_ARCHIVE_DEST_n initialization parameter like:
LOG_ARCHIVE_DEST_2=’service=standby LGWR SYNC’.
But I have not changed the protection mode on the primary database using “alter database set standby database to maximize protection”.
Does it continue as Max Performance mode or will it throw any error?Similar discussion, You can check this link what happens if you set LGWR & SYNC in maximum performance mode :)
using LGWR SYNC with Max Performance -
Question about protection mode in Stdby env.
Hi,
In a standby environment, can we have primary database working in two protection mode simultaneously.
e.g. There are 2 standby databases for a primary database. One is situated in another city (Stdby_A) connected via a slow link and another is in the same data center connected via 1Gbps link (Stdby_B).
Can we have primary database working in Maximum Performance mode for 'Stdby_A; and in maximum protection mode for 'Stdby_B'.
Thanks
Amit.thanks,
what could be the best possible solution in above scenario.
Regards,
Amit -
Problem in protection mode dataguard
Hi,
i want to store standby redo log archived file in separate folder, so that i specified
log_archive_dest_1='LOCATION=D:\oracle\product\10. 2.0\flash_recovery_area\stby VALID_FOR=ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=stby
standby_archive_dest=D:\oracle\product\10. 2.0\flash_recovery_area\stby\arcst
If both parameters are specified, the STANDBY_ARCHIVE_DEST initialization
parameter overrides the directory location specified with the LOG_ARCHIVE_DEST_n
parameter.
but in my system it store all archive files in LOG_ARCHIVE_DEST_1..
normally if you change primary database protection mode into maximize availability ,then it should automatically change standby database into that mode ...
primary database(live).
should i change this mode in both primary and standby database????
SQL> select protection_mode,protection_level from v$database;
PROTECTION_MODE PROTECTION_LEVEL
MAXIMUM AVAILABILITY RESYNCHRONIZATION
SQL> alter database open;
Database altered.
SQL> alter system switch logfile;
System altered.
SQL>
standby database(stby)
alert file
Primary database is in MAXIMUM PERFORMANCE mode
RFS[2]: Successfully opened standby log 4: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\REDO04.LOG'
Thu Aug 06 08:48:15 2009
Media Recovery Log D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\STBY\ARC00093_0693601814.001
Media Recovery Waiting for thread 1 sequence 94 (in transit)
Thu Aug 06 08:48:18 2009
Recovery of Online Redo Log: Thread 1 Group 4 Seq 94 Reading mem 0
Mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\REDO04.LOG
SQL> select protection_mode,protection_level from v$database;
PROTECTION_MODE PROTECTION_LEVEL
MAXIMUM PERFORMANCE MAXIMUM PERFORMANCE
Oracle 10gselva,
log_archive_dest_1='LOCATION=D:\oracle\product\10. 2.0\flash_recovery_area\stby VALID_FOR=ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=stby
standby_archive_dest=D:\oracle\product\10. 2.0\flash_recovery_area\stby\arcst is correct and will not override your primary entry... the log_archive_dest_1 is where your primary logs are generated and standby_archive_dest is where your logs will come when current server acts as secondary.
your actual question is regarding protection modes....? is that correct
after you chnage the protection mode did you stop managed recovery and bounce the database on stby,,,
try this and let me know
hth -
Oracle databaguard maximum maximum availability mode
Hi All,
My database is in maximum availability mode at 9.2.0.8:
SQL> select protection_mode from v$database;
PROTECTION_MODE
MAXIMUM AVAILABILITY
SQL> show parameter log_archive_dest_2
NAME TYPE VALUE
log_archive_dest_2 string SERVICE=XXX.world LGWR SYNC
AFFIRM,
SQL>
Oracle Documentation says:
Maximum availability mode provides the highest level of data protection that is possible without affecting the availability of the primary database. This protection mode is very similar to maximum protection where a transaction will not commit until the redo data needed to recover that transaction is written to both the local (online) redo log and to at least one remote standby redo log. Unlike maximum protection mode; however, the primary database will not shut down if a fault prevents it from writing its redo data to a remote standby redo log. Instead, the primary database will operate in maximum performance mode until the fault is corrected and all log gaps have been resolved. After all log gaps have been resolved, the primary database automatically resumes operating in maximum availability mode.
and it also says.....
The NET_TIMEOUT attribute of the LOG_ARCHIVE_DEST_n parameter specifies the number of seconds the log writer process on the primary system waits for status from the network server process before terminating the network connection. The NONET_TIMEOUT attribute reverses or undoes the timeout value that you previously specified with the NET_TIMEOUT attribute.
If you do not specify the NET_TIMEOUT attribute (or if you specify the NONET_TIMEOUT attribute, the primary database can potentially stall. To avoid this situation, specify a small, nonzero value for the NET_TIMEOUT attribute so the primary database can continue operation after the user-specified timeout interval expires when waiting for status from the network server.
If the log writer process detects a network disconnection, even one that was terminated due to a network timeout, the log writer process automatically tries to reconnect to the standby database. The log writer process does this to resolve network brownouts and false network terminations. In most cases, except when the network is physically broken, the log writer process is able to automatically reconnect to the network.
The log writer process continually attempts to reconnect to the standby database for a period of time that depends on the data protection mode currently set for the primary database. Use the following time estimates as a guideline for how long the log writer process will try to reconnect to the standby database:
In maximum protection mode, the log writer process tries to reconnect for approximately 5 minutes.
In maximum availability mode, the log writer process tries to reconnect for approximately 2 minutes.
In maximum performance mode, the log writer process tries to reconnect for approximately 30 seconds.
question is:
1>Does that mean if primary database is in maximum availability mode and if there is network issue and it cannot communicate with standby database, it will freeze or stall for 2 minutes and then operate in maximum performance mode.
That freeze for 2 minutes in production is pain :(
2>Does it also mean,
In maximum performance mode primary database will freeze fro 30 seconds and then move on.
3> To convert from maximum availability to maximum performance do I need to bounce the primary database at 9.2.0.8I guess I haven't asked the question correctly,
I have asked 2 different question:
1> do you need to mount your database to downgrade the protection mode, I needed confirmation for that at 9.2.0.8
below is link which shows how to downgrade mode:
http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard_9i/DG_70.shtml
2> question is all together seperate,
staying in maximum availability mode what happens if you use 'LGWR ASYNC' or 'ARCH' for log shipping.
Why I am asking this question is because, oracle recommends to use 'LGWR SYNC AFFiRM' for maximum availability mode.
I have tried before 'LGWR ASYNC' or 'ARCH' in maximum availability mode and it worked.
Has any one tried 'LGWR ASYNC' or 'ARCH' in maximum protection mode. does db freezes or stalls.
3> When database stalls for 2 miuntes when it cannot connect to dataguard in maximum availability mode, I cannot see any trace files generated, nothing is written in alert log and nothing in listener.log
Maybe you are looking for
-
Could not connect to the internet with my iPod Touch 4th Gen
I set up an wireless ad-hoc network with my windows vista computer with WPA-2 Personal security type, however, while trying to connect it from the iTouch, it keep saying incorrect password. When I tried setting up another wireless ad-hoc network with
-
Why assigning a subclass instance to a variable of type of superclass ?
Hi all, What is the significance of assigning an instance of a subclass to a variable whose type is a superclass's type. For eg. List list=new ArrayList(); If I do so is it possible to execute the methods of the subclass ? regards Anto Paul.
-
How do i get a flix message that was sent to me
how do i see a flix message that was sent 2 me
-
So i play on a game on here called clash of the clans my 4 y/o daughter loves ot and i let her play un supervised but she decided to shop n click on buy stuff but she dont my password and it was not entered ot now cost me around 150 pounds is there a
-
Using iMac with most recent operating system.