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 PM

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

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

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

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

    Anybody any idea ??????

  • 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

  • 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

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

    Hello 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

  • Clear but Thickest Case Made of TPU or Silicon for Maximum Protection?

    Hi. What's the thickest but clear case made of TPU or silicon made for the iPhone 4 that's available that will pass iFixYouri's drop test? It's like a Ballistic or a Defender tough cases or very close to it only it's all transparent so you could still see the iPhone 4 design? Is there a company who makes clear hardshell with tpu or silicon clear outer layer for the 4 (similar to Otterbox, Ballistic or iFrogz Swerve design)? Thank you in advance.
    Gbu

    I wanted to buy this evening one, but finally I will leave it for tomorrow.
    I wish i could say that for 12$ I could buy something here. The cheapest I found was from Logic3, and costs 16,99€ (23$), and it is the softcase with a screenprotector. The protector alone, costs 14€.
    But in the supermarket the other day I found a protectionsheet for just 5€. Altought it is for the IPAD (and not the 2), I suppose as it is for the screen it doesn´t matter a lot. But as my wife said, it is a bit stupid to buy something now, when she will buy me a case for my upcoming birthday (2 months away).
    But then, thinking about it, if the back scratches, I don´t mind, as long as the glass in without them. So maybe I will finally just buy the 5€ protectionsheet and be carefully about the rest. And knowing me, I will be
    Maybe I will go and visit a Chineesstore tomorrow and find a cheap case, for until my birthday. Oh boy, selecting the Ipad was MUUUUUUCH easier than selecting the case.

  • Dataguard protection modes

    At mount state i changed my database mode to maximum protection mode,after that i am opening my database open using the command alter database open, but it
    throws error database is not open.
    error: ora-16086,ora-16072.
    please let me know for this solution.

    879003 wrote:
    At mount state i changed my database mode to maximum protection mode,after that i am opening my database open using the command alter database open, but it
    throws error database is not open.
    error: ora-16086,ora-16072.
    please let me know for this solution.
    bcm@bcm-laptop:~$ oerr ora 16068
    16068, 00000, "redo log file activation identifier mismatch"
    // *Cause:  The activation identifier of the indicated redo log file
    //          does not match the activation identifier of the database.
    // *Action:
    bcm@bcm-laptop:~$ oerr ora 16072
    16072, 00000, "a minimum of one standby database destination is required"
    // *Cause:  No standby database archive log destinations were specified.
    // *Action: Specify a standby archive log destination in the initialization
    //          parameter file.what ever your changed, Oracle does not like it

  • Need document to configure dataguard maximum protection...

    Hi,
    1) I need a Oracle Document to configure the dataguard using maximum protection mode.
    2) Is it mandatory to have 2 standby setup ?

    which version?
    >
    1) I need a Oracle Document to configure the dataguard using maximum protection mode.
    >
    check documentation on tahiti.oracle.com
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17022/protection.htm#CHDEDGIF
    >
    2) Is it mandatory to have 2 standby setup ?
    >
    depends on your requirements. only you can answer this question.
    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.8

    I 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

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

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

  • 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

  • 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

Maybe you are looking for