Oracle Datagaurd protection mode

Hi,
I am working on Oracle 10.2.0.4 version on Solaris 9. I am using ASM for storage.
I have a DG setup, which i wanted to have one primary and 2 physical standby databases in MAX AVAILABILITY & MAX PERFORMANCE mode respecitively. I successfully setup the DG environment but would like to know if there is any type of verification or views that show that what standby is performing in what mode(v$dataguard_status,v$managed_standby, etc).
I have used the following log_archive_dest_n on the primary database entries for enabling the protection modes.
log_archive_dest_1                   LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,A
                                              LL_ROLES) DB_UNIQUE_NAME=testdb_1
log_archive_dest_2                   SERVICE=testdb_2 OPTIONAL LGWR SYNC AFFIRM VALID_FOR=
                                              (ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=testdb_2
log_archive_dest_3                   SERVICE=testdb_3 OPTIONAL ARCH ASYNC AFFIRM VALID_FOR=
                                              (ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=testdb_3 I want to put
1) testdb_2 standby in MAXIMUM AVAILABILITY
2) testdb_3 standby in MAXIMUM PERFORMANCE
I built the testdb_2 physical standby first and upgraded the protection mode to MAXIMUM AVAILABILITY and is working fine (this is using real time log apply).
I built the testdb_3 phyisical standby second and just started the redo apply using "alter database recover managed standby database disconnect from session).
The whole DG setup is working fine with applying logs. But my main question is that when i give "select protection_mode, protection_level from v$database" on primary database, it shows only the "MAXIMUM AVAILABILITY" mode. Where do i see that MAXIMUM PERFORMANCE mode is existing too for this DG environment? Is there any view or do we just confirm this by seeing the managed recovery processes in the v$managed_standby view?
Any information or documentation links would be greatly appreciated.
Thanks,
Harris

Well, the information Uwe Hesse was provided is contradicting.
The protection mode is infact is a property of primary database but it the standby database, which defines it, which is directly related to the REDO TRANSPORT mode that we use. Because, when you upgrade the protection mode, you issue it on the primary database and use the standby clause in it.. as follows
alter database set standby database to maximize [protection|availability|performance]As mentioned before, i used the ARCH ASYNC mode for putting the second standby database in the MAXIMUM PERFORMANCE mode and my question was as where to see that this database is working in the PERFORMANCE protection mode. When i used the ARCH transport mode, the PROTECTION_MODE & PROTECTION_LEVEL on both Primary and 2 standby databases were showing as MAXIMUM AVAILABILITY mode. But the redo transport was working as expected in respective protection modes.
Since, we can use either LGWR ASYNC or ARCH ASYNC for MAXIMUM PERFORMANCE mode, i changed the redo transport mode for the 2nd standby database (testdb_3) and using real time apply using following command,
alter database recover managed standby database using current logfile through all switchover disconnect from session;the 2nd standby database(testdb_3) started showing that primary database is working in MAXIMUM PERfORMANCE mode in the control file where as the the 1st standby database (testdb_2) is showing that the primary database is working in the MAXIMUM AVAILABILITY mode. Following are the different protection status being shown by the primary & standby databases. I think this is the way you find what standby database is working in what protection mode respectively.
ON TESTDB_1 (PRIMARY DATABASE)
SQL> select protection_mode, protection_level from v$database;
PROTECTION_MODE      PROTECTION_LEVEL
MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
ON TESTDB_2 (STANDBY DATABASE using LGWR SYNC)
SQL> select protection_mode, protection_level from v$database;
PROTECTION_MODE      PROTECTION_LEVEL
MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
ON TESTDB_3 (STANDBY DATABASE using LWGR ASYNC)
SQL> select protection_mode, protection_level from v$database;
PROTECTION_MODE      PROTECTION_LEVEL
MAXIMUM PERFORMANCE  MAXIMUM PERFORMANCESo, the protection mode is not primarily a property of the primary database but it is defined by the standby database and the redo transport is part of it as well, which was my initial understanding too. Though the 2nd standby database is geographically distant from the primary database, as i am using the LGWR ASYNC, there is no impact on the primary database performance.
Correct me if i am wrong, well atleast i have shown you what Oracle Software is reporting regarding the status.
Thanks,
Harris.
Edited by: Harris2107 on Aug 25, 2010 2:07 PM

Similar Messages

  • Datagaurd Protection Mode

    Can you please expalin datagaurd protection mode and how to set it in different mode and how log tranfer happens in different mode.

    user8850066 wrote:
    Can you please expalin datagaurd protection mode and how to set it in different mode and how log tranfer happens in different mode.# Maximum Protection
    Maximum protection mode offers the ultimate in data protection. It guarantees no data loss will occur in the event the primary database fails.
    # Maximum Availability
    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.
    # Maximum Performance
    Maximum performance is the default protection mode and provides the highest level of data protection that is possible without affecting the performance or availability of the primary database. With this protection mode, a transaction is committed as soon as the redo data needed to recover the transaction is written to the local (online) redo log.
    Log transport services enables and controls the automated transfer of redo data within a Data Guard configuration from the primary site to each of its standby sites.
    Log transport services also controls the level of data protection for your database. The DBA will configure log transport services to balance data protection and availability against database performance. Log transport services will also coordinate with log apply services and role management services for switchover and failover operations.
    refer the link for more information:
    http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard_9i/DG_70.shtml
    Oracle® Data Guard Concepts and Administration 10g Release 2 (10.2)
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_transport.htm#SBYDB00400

  • How to add two protection mode in oracle data guard

    Hi all,
    We have a discussion on oracle physical data guard yesterday.....
    As we all know that data guard has 3 protection mode
    1. Maximum Performance
    2. Maximum Availability (Default)
    3. Maximum Protection
    Now we were discussing about is it possible to have two protection mode on same data guard simultaneously... for e.g. Maximum performance and maximum availability.
    We have searched a lot but don't find any help on google.
    Can any one help on this with any doc, pdf or links..
    Thanks & Regards

    Hi,
    you don't find anything on this because it's not possible and would make no sense even if you could do it.
    Maximum Availability uses SYNC commit between primary and standby db. If you combine Max. Availabilty with Max. Performance then your db clients have to wait on commit until primary and the max. availability standby have commited. That they would not have to wait on another Max. Performance DB doesn't change anything to the client. You would only combine the disadvantages of both approaches, the wait on sync commit for max. availability and beeing not in sync with primary for the max. performance db.
    The max. protection mode requires by definition that the primary db shuts down in case no standby can process the commit. If the primary is not up and running it is pointless to have another (max. availability) standby db at hand, if this max. availability db would take over the service this would violate the defintion of max. protection. No Dataloss is valued higher than db availability, having the data commited only on one db site is not allowed.
    Regards
    Thomas

  • 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 this

    you 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'

  • 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,
    Chris

    Hi,
    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.

  • 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 configuration

    hi 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

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Dataguard 'max protection' mode failed

    Testing Dataguard in MAX PROTECTION mode on Oracle 10.2.0.4 on Solaris x86_64.
    Test 1: Primary remained up allowing transactions to continue inspite of the fact that the server running the standby database was not reachable. Waited for over 10 minutes and then cancelled the test. All that happened was the protection_level changed to resynchronization. I could not believe my eyes. Is this possible?
    Test 2: The primary shutdown automatically but after about 6 minutes of the standby database was shut abort. So what about all those transactions that took place during those 6 minutes? Those would be lost - isnt it?
    I just cant believe this. Where am I going wrong? I confirmed that LAD_2 was set to lgwr sync affirm. And that protection mode was set to 'maximum protection'.
    Somebody, pls enlighten me?
    Thanks
    Edited by: user12022918 on 27-May-2013 08:42

    If you have several physical standby database for the same primary database then this could be expected behaviour otherwise this looks like a bug that you should report to Oracle Support who will very likely ask you to upgrade at least to 10.2.0.5 patchset or 11.2.0.3.

  • Database is High Protection Mode

    Dear Friends,
    I configured dataguard standby database in oracle 11g.Then i did the following scenario's.
    1)I changed the protection mode to "High protection".
    2)Shutdown the standby database.
    As per the document, The primary database shutdown when standby database is down in High Protection Mode.
    But my primary database did not shutdown. But if i fire "alter system switch logfile;", It get hangs. But parllely, I can able to login to primary db as normal user.
    Can anybody explain what happen if database in "High Protection" Mode?
    Thanks in advance.

    Hello;
    Can you post the results of this run on the Primary :
    SELECT PROTECTION_MODE FROM V$DATABASE;The Protection modes are "Maximum availability", "Maximum performance","Maximum protection" They are described in detail here
    1.4 Data Guard Protection Modes - http://docs.oracle.com/cd/E11882_01/server.112/e10700.pdf
    If you search E10700-02 there is no "High protection" mode, so I'm not sure what you did. Maximum availability provides the highest protection, but also requires "SYNC" for your log_archive_dest_n parameter.
    My own example is here :
    http://www.visi.com/~mseberg/protection_mode.html
    Best Regards
    mseberg
    Edited by: mseberg on Aug 8, 2012 2:04 PM

  • 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 10g

    selva,
    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

  • 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

  • Change standby protection mode

    hello
    i have setup data guard using oracle 10g on windowx xp,
    when i change the protection mode to maximum availability it works fine but when i change to maximum protection the database shuts down ..
    i tried again also it shuts down i reverted to maximum availability it works ...plz help
    another question, can the primary database and the standby database have the same names ?
    many thanks

    Hi,
    Is data actually being applied on the standby database? In maximum protection the primary will only commit once the redo data is available on a standby db. If the standby is unreachable the primary would essentially stop processing.
    On the standby, try querying v$archived_log to see if the logs are actually being received. Also check the alert log on the primary to see if there are any errors with the archiving process.

  • Choosing protection mode for Active dataguard

    Hi Gurus,
    I'm confused with Active dataguard configuration-What mode do i need to configure physical standby to make use of actice dataguard.I know i can even use maximum performance with standby redolog for real time query.But what is the minimum protection mode to run active dataguard.
    How can i setup a delay of 1 hour for active dataguard in 11gr2?
    Thanks

    You said:
    >
    By default Dataguard is in Maximum performance mode..we can set delay of 1 hour by setting the
    log_archive_dest_2="service=to_standby lgwr async affirm reopen=60"
    or
    log_archive_dest_2="service=to_standby lgwr async delay=60"
    >
    I am sorry, but your first log_archive_dest_2 value is not correct:
    The combination of ASYNC & AFFIRM is not supported and not sensible; REOPEN=60 will not delay the Redo Apply
    See here for a proper explanation of log_archive_dest_n:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17110/initparams121.htm
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • 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?
    thanks

    1. 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.

Maybe you are looking for

  • How can I get my email access back after downloading the new iTunes on my iPhone?

    Yesterday I downloaded the latest iTunes 11.01.12 on my PC (Windows 7), then sync'ed to my iPhone G4.  Now when I try to access one of my email accts, I get the message: "The mail server "imap.gmail.com" is not responding..."  I have checked the acct

  • Error in XPRA_EXECUTION PHASE on SAINT transacction installing BPC 7.5

    Hi  I am installing Bussines Planning & Consolidation 7.5 on an Netweaver 7.01 with EHP1 (enhacement package 1) system but when I used SAINT transacction to install the ADDON for this ABAP component . First I received a message about some "conficts"

  • CRM 5.0 Marketing Campaigns - Send survey on IC Webclient ticket...

    Hello Experts, I hope someone can help me with the following: We are using IC Webclient in a B2B Szenario and want to monitor our customer satisfaction (according to the quality of our service) over a long period. Now our target is the following: Eve

  • How synchronize animated powerpoint objects in Captivate 5.5

    I'm testing Captivate 5.5 creating LMS content for our company. I have a powerpoint presentation with animations at some slides. This animations were triggered by mouse click, when I now bring in this powerpoint presentation to Captivate I have only

  • Data Source for Table CRM_KNVH_TEMP

    Hello Experts, I have an issue related to the Hierarchy of Partner number. I have checked the data source like :- 0CRM_BP_SALES_HIER 0BPARTNER_HIER in the 0BPARTNER_HIER hierrachy, i didnt get the required data but in hierarchy 0CRM_BP_SALES_HIER the