9i Standby Database - Failover Question - REF 227196.1

Hi ,
Im researching the use of a Standby DB for out Production DB....
The Metalink DOC 227196.1 mentions that in failover , the Production going down , Standby becomes Primary and cannot be come Standby again , whereas with Switchover , they can be swapped as many times as you need for upgrades etc...
"The Difference between a Switchover and a Failover is, that after a Failover, the Standby Database becoming a Primary now, cannot switchback to become a Standby Database again. In Opposition a Switchover exchanges the Database Roles (The Primary becomes a Standby and the Standby becomes a Primary). Switchovers can be performed arbitrarily, a Failover only once."
If failover happens can someone tell me or point me in the right direction:
a) Can you config Failover to happen automatically?
b) If failover occurs , do you need to reconfig all the Primary/Standby DB again in the event that failover happens again?
c) Any clear step by step guide to config of standby... The Oracle docs whilst very good are robust and some "summary" steps would be great
thanks in advance
Stephen

HI,
Please check this link:
Physical Standby Database SWITCHOVER & FAILOVER Operations | Talip Hakan Ozturk's ORACLE BLOG
Thank you

Similar Messages

  • Standby database failover flashback restart as standby gap 1-100

    Hi,
    I have setup a physical standby database for a 3 node RAC primary database and configured the database to run in MAXIMUM AVAILABILITY mode. Both the primary and standby databases use ASM for managing the IO. I have enabled FLASHBACK ON on both the databases.
    I did failover to standby database with primary db SHUTDOWN for doing some testing. After testing is done, I flashbacked the (standby, currently primary)database to the point when it became primary and start it as standby again and the old primary as primary.
    Following are the steps:
    Failover steps
    .Shutdown the primary database
    To finisish the recovery at standby
    SQL>alter database recover managed standby database finish;
    To start as primary
    SQL>alter database commit to switchover to primary;
    do some DML on the new primary
    SQL>flashback database to scn <standby_became_primary_scn>;
    SQL>alter database create standby controlfile as '/backup/standby.ctl';
    Changed the spfile to point control_files to '/backup/standby.ctl';
    Restarted the standby db in mount mode and
    created the required stanbdy logs on it.
    Then issued
    SQL>alter database recover managed standby database using current logfile disconnect;
    I have the following message in v$dataguard_status at standby db;
    Fetching gap sequence in thread 1 branch(resetlogs_id) 653234404, gap seq 1-100
    DBID 2651011616 branch 653234404
    GAP - thread 1 sequence 1-100
    FAL[client]: Failed to request gap sequence
    FAL[client]: All defined FAL servers have been attempted.
    The same error is found in alert log file also.
    The status of the varioud managed standby db are as follows.
    SQL> select process, status from v$managed_standby;
    PROCESS STATUS
    ARCH CLOSING
    ARCH CLOSING
    ARCH CLOSING
    MRP0 WAIT_FOR_GAP
    RFS IDLE
    RFS IDLE
    RFS IDLE
    RFS IDLE
    RFS IDLE
    RFS IDLE
    RFS IDLE
    PROCESS STATUS
    RFS IDLE
    RFS IDLE
    RFS IDLE
    RFS IDLE
    15 rows selected.
    SQL>
    Could you please help me how to resolve the above error.
    Thanks,
    Sreekanth

    Sreekanth,
    I think your steps are right on for your requirement, except instead of
    alter database create standby controlfile as '/backup/standby.ctl';
    you can do this:
    ALTER DATABASE CONVERT TO PHYSICAL STANDBY;
    (although perhaps it achieves the same thing internally but you don't need to repoint to new controlfile).
    So far as the GAP - thread 1 sequence 1-100
    Let me guess, your current sequences are probably well ahead of this reported gap?
    If so, this is a bogus gap in a sense that your standby has long ago applied them, but for some reason standby controlfile gets a little confused and starts asking for them again.
    I have had this issue and opened multiple TAR's with Oracle since 10.2.0.1, got a few patches and advises to upgrade, but still occasionally get it now in 10.2.0.3
    I strongly believe this is related to combination of RAC (i.e. multiple threads of redo) and dataguard.
    It is also pretty hard to reproduce (I have not figured out how to reproduce this reliably, if you have, let me know), so I can understand why Oracle has so far been unable to fix this.
    Anyway, the workaround is to re-create standby controlfile with a copy generated on primary, and move it in place of the existing (and confused) controlfiles on standby.

  • Standby Database Switchover Question

    I have a Primary and a physical standby database. I have tested switchover and failover to a point. I can't get my client applications to navigate to the "new" primary DB after switchover or failover. I assume it may be something to do with my tnsnames.ora and listener.ora files in my configuration. I will place the contents of the files below.
    I was expecting to be able to add the failover syntax to my client tnsnames file and things would be fine. Unfortunately, clinet apps don't failover to "new" Primary ("old" standby DB) when testing failovers; Additionally, when testing switchovers, the client apps try to connect to the "new" standby DB ("old" Primary) instead of the "new" Primary DB.
    I was hoping someone might see a syntactical error that is preventing a transparent application failover.
    Thanks.
    Jim
    tnsnames.ora on client:
    TESTDB =
    (DESCRIPTION=(SOURCE_ROUTE=yes)
         (ADDRESS=(PROTOCOL=tcp)(HOST = oracle1.datacenter.staging)(PORT = 1521))
         (ADDRESS_LIST=(FAILOVER=on)(LOAD_BALANCE=off)
         (ADDRESS=(PROTOCOL=tcp)(HOST = oracle2.datacenter.staging)(PORT = 1521))(CONNECT_DATA=(SERVICE_NAME=orcl10STANDBY)))
         (CONNECT_DATA=(SERVICE_NAME=orcl10)))
    tnsnames.ora (on both Primary and Standby DB's)
    ORCL10 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle1.datacenter.staging)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl10)
    ORCL10STANDBY =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle2.datacenter.staging)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl10STANDBY)
    listener.ora - Primary
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_10)
    (PROGRAM = extproc)
    (SID_DESC =
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_10)
    (SID_NAME = ORCL10)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle1.datacenter.staging)(PORT = 1521))
    listener.ora - Standby
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    (SID_NAME = ORCL10STANDBY)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle2.datacenter.staging)(PORT = 1521))
    )

    Hi another way can be configuring client tnsname files to support failover:
    EXAMPLE=
    (description=
    (address_list=
    (load_balance=off)
    (failover=on)
    (address=(protocol=tcp)(host=X)(port=1521))
    (address=(protocol=tcp)(host=Y)(port=1521)))
    (connect_data=(service_name=XXX)))
    if the listener on host X (primary db) fails, client tries to connect the standby database on host Y.

  • Standby database failover

    Hi Guys,
    I don't have much 'real time' experience with Oracle db failovers and setting up standby databases etc. But I have a scenario here and was wondering how would one go about it. I know there could be many ways for this. I have done reading stuff online but there are so many different approaches, different scenarios etc..
    I have a primary site with a primary db and a standby db in a different site.
    If the primary db has been

    I should have mentioned that the Oracle version in question is: 9.2.0.x and the OSs involved are Windows based.
    Amit,
    This was only a scenario and it did not actually happen. I was considering a situation where the systems are in a state where the primary db cannot be brought back up and I'd have to run from the standby db.
    So what you are saying is, the 'current' redo log file relating to the primary db (but located on a separate disk) will be of NO USE to 'apply' to the standby db to keep it in sync with primary db before it went down. Is this correct?
    Can I not use Oracle 'real time apply' to use the above 'current redo log' file on the standby db would you know such as : -
    alter database recover managed standby database using current log file;
    TIA

  • Standby Database (QUICK QUESTION!!!)

    Hi folks,
    May I set more than one path to the standby_archive_dest parameter in my Standby Database?
    My current value is: /backup/SPCAP/arch/
    I want to change it to: 'arch1/SPCAP,arch2/SPCAP,arch3/SPCAP'
    Reason: I have 3 primary instances in a RAC.
    Their archives are always stored in first destination ('arch1/SPCAP','arch2/SPCAP' OR 'arch3/SPCAP') depending on the instance (1,2or3).
    The archiving never fails in first destination.
    The archiving sometimes fail to send the archives to the second destination (/backup/SPCAP/arch) wich is general and must have all the archives generated by the 3 instances... This is the destination wich my standby database uses to copy the production archives....
    So, does someone know how I can set 3 paths to standby_archive_dest? So I would solve the problems I'm having to recover standby database...
    Thank you in advance.....

    It will always be fetching the gap, but you can still have real time apply on and it will continue to apply trying to resolve all gaps. You may want to look into the recv/send_buf_size parameters and sdu_size. Take a look at the following white paper to help give you ideas to assist in your redo transfer speed.
    http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gR2_DataGuardNetworkBestPractices.pdf
    As well:
    http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gR2_RecoveryBestPractices.pdf

  • Restore/recover after failover to a Logical Standby database

    I have a question about how to recover or restore back to my original environment after I failover to my Logical Standby database.
    My setup is as follows: Oracle version 11.2.0.3, Non-RAC.
    1. A Primary database at one location.
    2. A Physical Standby database at a second location.
    3. A Logical Standby database at a third location.
    All three databases have Flashback Database on
    All three databases are configured thru the Data Guard Broker.
    All three databases has a Fast Recovery Area.
    Suppose I loose my primary database (1) and my Physical Standby database (3) so I Failover to my only remaining database, the Logical Standby database (2).
    What type of Databases are let after the this failover?
    What are my recover/restore/Instantiate options?
    The Data Guard Concepts book on 13.2.2 says how to bring the old Primary in to the Data Guard Configuration as a new Logical Standby database.
    How do I get back to the original configuration above, a primary, a Physical, and a Logical Standby without having to re-create some databases?
    Will Flashback database thru the Broker or Cloud Control/Grid Control rewind my databases?

    Suppose I loose my primary database (1) and my Physical Standby database (3) so I Failover to my only remaining database, the Logical Standby database (2).
    What type of Databases are let after the this failover?
    What are my recover/restore/Instantiate options? Then forget about your current primary database, its out of network.
    AFAIK
    Now you will have only Physical standby & logical standby. Now you will perform failover only current standby to primary database.
    So now you will have only one primary database with new incarnation, so you have to recreate a new standby database again.
    The Data Guard Concepts book on 13.2.2 says how to bring the old Primary in to the Data Guard Configuration as a new Logical Standby database.
    How do I get back to the original configuration above, a primary, a Physical, and a Logical Standby without having to re-create some databases?
    Will Flashback database thru the Broker or Cloud Control/Grid Control rewind my databases?Check this. But not much aware of Clound control and all. Sorry for that. ;-) I'm sure Uwe/Mseberg can answer this ;-)
    http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard/DG_49.shtml#Flashing%20Back%20a%20Failed%20Primary%20Database%20into%20a%20Logical%20Standby%20Database

  • A new question on how to Enable Flashback Database on the standby database?

    Best Practice document said:
    Enable Flashback Database on the standby database to minimize downtime for logical corruptions.
    I would like to know where to find document or anybody already had experience for this topic?
    Also I would like to know what is the best practice for backup/recovery of the Physcial standby database?
    Thanks in advance.

    Hello;
    Just an opinion but I like the book "Oracle Data Guard 11g Handbook" as both the document and the answers to the second question.
    Chapter 12 covers the A to Z of RMAN with Data Guard.
    This book sold me on Flashback since Flashback allows a former Primary database to be reinstated after a failover operation with being restored ( provided sufficient flashback logs are available)
    My own experience is I tried a failover test without it and trash my test Primary.
    I did a simple failover test a few weeks ago, here are my notes.
    http://www.visi.com/~mseberg/Data_Guard_Failover_Test_using_SQL.pdf
    Best Regards
    mseberg

  • Failover To Physical Standby Database

    We have 3 node RAC 11.2.0.3 Primary database data guarded to a 3 node RAC 11.2.0.3 Standby database. There is an activity scheduled to perform some of order extracts in the database which is going to result in a lot of changes. Currently the discussion is on whether what should be the quickest way to go back to a point in time before the extract process starts in case of any issues. The options that we are looking at are:
    1) Create a guaranteed restore point on both the Primary and Standby and use this to flashback the database (Quick but we have had issues where in the guaranteed restore point still does not guarantee the availability of the flashback logs) - Tested
    2) Use RMAN backup from a day before to restore and recover to point in time before the extract process began (Time consuming) - Tested
    3) Use export backup to perform a redirected restore i.e import the data from before the extract process (Time consuming) - Tested
    4) Create a guaranteed restore point on both Primary and Standby, stop the Redo Apply/Ship at the time we create the guaranteed restore point and at a point we face some issue and need to go back, simply failover to the physical standby database and then reinstate the new standby database - This has not been tested yet but seems a viable option
    With regard to the point 4, note that we are not concerned about data loss as the whole point of stopping the redo apply is to prevent the standby to be caught up with Primary during the run of the extract process. The question is whether the dataguard broker will allow failover of the primary to standby, in a situation described in bullet point 4). Please advice.

    HI,
    Please check this link:
    Physical Standby Database SWITCHOVER &amp;amp; FAILOVER Operations | Talip Hakan Ozturk&amp;#039;s ORACLE BLOG
    Thank you

  • Conceptual Question-Standby Database

    Hi all,
    I was just going through this documentation
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_apply.htm
    In the beginning it says
    "Log apply services automatically apply redo to standby databases to maintain synchronization with the primary database and allow transactionally consistent access to the data"
    I want to know How does process takes redo log and apply to datafile?What is basically happening inside?
    Cheers,
    Neerav

    Dear Neerav999,
    If i would know your Oracle database version, i could give you a more detailed explanation but i will give it anyway;
    There are options that you can use for the Oracle Data Guard. Data Guard is used for replicating the primary database to the standby database via the archivelogs and/or with the redologs. You may not have a standby redolog for maximized performance protection level and it is not mandatory however you need to have standby redos for maximized availiability and protection, protection levels of the Oracle database.
    Starting from 11g, you can able to cancel the recovery process on standby site and open the standby database read only than (magic goes here) you can start the media recovery! The command list as follow for 11g;
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL --> This command will cancel the MRP0 process and will stop the continuous media recovery
    ALTER DATABASE OPEN READ ONLY
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE [USING CURRENT LOG FILE] DISCONNECT FROM SESSION;
    --> Above command will start the media recovery process ON THE READ ONLY DATABASE!You can give it a try that one by creating a dummy table on primary and wait for one or two log switches and check back the standby database. You are going to see the table has been also created there.
    So answer to your eternal question! :)
    MRP process is there to fetch and request the archivelogs from the primary site. This process can be started with the below command;
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;You may have a simple test of cource. Cancel the MRP process and switch some logfiles on primary site. Than rerun above command to restart the MRP process and check v$dataguard_status fixed view. You will see that MRP is going to try to fetch the missing archivelog files and will try to close down the gap between the primary and the standby database. Here let me show you another 11g feature of Data Guard.
    On 11g you can compress the redologs! What do you need to compress it? There is maybe the most threatning problem of the Data Guard is the connection itself. It should be fast and reliable. Otherwise the MRP process will fall behind and if you are running on maximum performance mode, it will also decrease the performance of the primary database and will hardly close the gap. You 11g Data Guard does is it compresses the log files in the fetching period. If its done with fetching and closed the gap than the normal transmission without the compression will continue to operate. Here is an example of redo compression parameter;
    alter system set log_archive_dest_n = 'service= ORCLSTBY
    LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE)
    db_unique_name=ORCLSTBY compression=enable'I have checked the link that you have given and its Oracle 10g but i have just written it to understand some real factors between the 10g Data Guard and the 11g Data Guard. There are also other changes but if you can go to the 11g New Features site you will see Arup Nanda's posts about it.
    If you are to use the standby redologs and it is called "Real Time Apply" and you can see it on v$dataguard_status fixed view. Here is the information from the online documentation;
    6.2.1 Using Real-Time Apply to Apply Redo Data Immediately
    If the real-time apply feature is enabled, log apply services can apply redo data as it is received, without waiting for the current standby redo log file to be archived. This results in faster switchover and failover times because the standby redo log files have been applied already to the standby database by the time the failover or switchover begins.
    Use the ALTER DATABASE statement to enable the real-time apply feature, as follows:
        *For physical standby databases, issue the ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE statement.
        *For logical standby databases, issue the ALTER DATABASE START LOGICAL STANDBY APPLY IMMEDIATE statement.
    Standby redo log files are required to use real-time apply.Here is a fixed view that you may see the processes;
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_1169.htm#REFRN30144
    PROCESS      VARCHAR2(9)      Type of process whose information is being reported:
        *RFS - Remote file server
        *MRP0 - Detached recovery server process
        *MR(fg) - Foreground recovery session
        *ARCH - Archiver process
        *FGRD
        *LGWR
        *RFS(FAL)
        *RFS(NEXP)
        *LNS network server processAll above indications are most verbose and your answer to your question resides here but you need to read it carefully to understand how Oracle applies log files.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/manage_ps.htm#i1009613
    Regards.
    Ogan

  • Question regarding removal of physical standby database?

    We are running a 2 node rac cluster on linux itanium and we have setup one physical standby server. We did not use the data guard broker to setup the standby database we simply set 2 parameters log_archive_config and log_archive_dest_2.
    We now are looking to remove the physical standby server and I see that the 2 parameters are dynamic so I was trying to find out if it is as simple as running the alter system comands to reove the 2 parameters?
    I gues my real question is more about the syntax of removing the parameters?
    Would this syntax be correct?
    alter system set log_archive_config='' scope=both sid='*';
    alter system set log_archive_dest_2='' scope=both sid='*';
    and does it make a difference which parameter is removed first?
    Thanks I appreciate any help.

    the standby system is also a 2 node cluster but only one of the nodes has the instance up in a mount state running in recover mode and the other instance is simply shutdown.
    Thanks.

  • Questions regarding creating a physical standby database in 10gR2

    I'm setting up a physical standby database in a test environment using two windows 2003 servers. I was wondering if someone could answer a few questions I'm not too clear on. I've been thru the data guard manual and as much online information as i can find. I may have it working but wanted to post some things I'm not sure I did quite right.
    My tnsnames.ora files.
    On my primary database server:
    # tnsnames.ora Network Configuration File: F:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    PRIMARY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = PRIMARY.MYDOMAIN.com)
    STANDBY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER2)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = STANDBY.MYDOMAIN.com)
    On my physical standby database server:
    # tnsnames.ora Network Configuration File: f:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    STANDBY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER2)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = STANDBY.MYDOMAIN.com)
    PRIMARY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = PRIMARY.MYDOMAIN.com)
    My Listener.ora files:
    On my primary database server:
    # listener.ora Network Configuration File: F:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = PRIMARY.MYDOMAIN.com)
    (ORACLE_HOME = f:\oracle\product\10.2.0\db_1)
    (SID_NAME = primary)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server1.mydomain.com)(PORT = 1521))
    On my physical standby database server:
    # listener.ora Network Configuration File: f:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = standby.mydomain.com)
    (ORACLE_HOME = f:\oracle\product\10.2.0\db_1)
    (SID_NAME = standby)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sever2.mydomain.com)(PORT = 1521))
    The next item I'm not sure about is after creating the control file for standby use.
    One the primary server I created it using:
    alter database create standby controlfile as 'sbcontrol01.ctl';
    I copied the primary database pfile I had created earlier to the standby server, renamed it and edited it.
    Initially I left the CONTROL_FILES= parameter pointing to the control01.ctl, control02.ctl and control03.ctl that I restored. But I was getting the error ORA-01665: control file is not a standby control file
    So I copied the sbcontrol01.ctl to sbcontrol02 and sbcontrol03.ctl and pointed the CONTROL_FILES= parameter at them.
    The error went away and the database came up. I still need to test it some more but wanted to see if what i did was correct or a fluke.
    Edited by: tjohnson on Mar 23, 2009 2:26 PM

    If in the primary I had control files named control01, control02 and control03 would I have been able to create a standby controlfile called control01.ctl or would I have had to name it something else like I did (sbcontrol01.ctl) and rename it to control01.ctl once I got it over to the standby database server?Suppose you have the primary database control file in C:\oracle\primary\control location with names control01.ctl and control02.ctl. Then also you can create a standby controlfile with control01.ctl and control02.ctl , but then the location to be created must be different.You can create it in C:\oracle\primary location and then transfer to the specified location mentioed in the pfile of the standby database and mount the standby database.
    But saying this i would suggested to keep the name different from control01.ctl as far as naming conventions are followed.It might confuse someoe whether its a primary database controlfe or a standby database controlfile.Usally primary database controlfile are named control01.ctl , coltrol02.ctl etc and for standby many do prefer keeping standby01.ctl, standby02.ctl.Thats just for for understanding.
    HTH
    Anand

  • 817 simple standby database questions

    i read the standby concept and tried to look for an answer on the web but couldn't get it.
    1. if i will use manage recovery enviroment can i lose transaction when the primary server is down?
    i read that it transfers the archive logs to the standby database but if the primary server "exploded" then i will lose all the transaction that in the online redo log and didn't archived yet.
    is it true ? am i missing something here ?
    2. if i will use a standby database is it important to have a regular hot backup of the primary/standby databases ?
    3. i still don't know if my net8 connection is down and my standby enviroment is manage recovery , what is the efect on the primary server ?
    thanks

    Hi zvika,
    I have make a standby 8i the last week, and I will try to answer your questions :
    1. Yes, you lose the all transaction from the last redolog which is not archived. When you have a standby database, you accept a minimum data lose.
    2. It's not necessary, if the standby is ok, you don't need a cold backup. You can save all archive files since the last cold backup.
    3. In this case, you have a warning (or error message) into the alert.log from primary database. And error message into v$archived_log view at standby line into your primary database. After what, it's depend if the init.ora parameter "log_archive_dest_n" for the standby dest is optional (recommanded) or mandatory.
    If optional, there is nothing to make, Oracle make itself.
    If mandatory (not recommanded), primary database stop all new entries (you need to change log_archive_dest_n to optional) and you need to copy manually all archive files which are created since the network problem and reapply manually it into the standby database.
    Hope this will help,
    Nicolas.

  • Standby database question

    Hi,
    I have added a datafile in primary database . In my standby database server i don't have space in that filesystem to create a datafile.In previously we create the standby database by using standby_file_management=auto.
    How to troubleshoot that problem to create a datafile in standby database server.
    Please suggest me .

    user8443904 wrote:
    Hi,
    I have added a datafile in primary database . In my standby database server i don't have space in that filesystem to create a datafile.In previously we create the standby database by using standby_file_management=auto.
    How to troubleshoot that problem to create a datafile in standby database server.The simpliest way is to increase disk space.

  • Oracle Dataguard Question on Physical Standby Database with a Time Lag

    I have a Standby database (PROD_LAG) that has a delay of 24hrs. How do I check to see what Archive have applied, what is current, and what is left to do.
    There is a script but its for a Logical Standby database...
    Thanks you in advance...

    hi,
    ok a little bit more explanation.
    The GUI does work but seems to report incorrect data.
    I have carried out a switchover so the primary database is now 'offsite_emrep' and the standby database is 'office_emrep'
    The GUI how ever still reports that office_emrep is the primary database.
    I cannot add the offsite_emrep database as the host is unknown. I am however running the GUI from the Host.
    I have the following from the agent status
    [oracle@griddg bin]$ ./emctl status agent
    #Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.3.0
    OMS Version : 10.2.0.3.0
    Protocol Version : 10.2.0.2.0
    Agent Home : /u01/app/oracle/product/10.2.0/agent10g
    Agent binaries : /u01/app/oracle/product/10.2.0/agent10g
    Agent Process ID : 19797
    Parent Process ID : 19780
    Agent URL : https://griddg.domain.net:3872/emd/main/
    Repository URL : https://griddg.domain.net:1159/em/upload
    Started at : 2007-10-01 12:35:02
    Started by user : oracle
    Last Reload : 2007-10-01 12:35:02
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 116
    Size of XML files pending upload(MB) : 27.67
    Available disk space on upload filesystem : 83.08%
    Last attempted heartbeat to OMS : 2007-10-01 12:38:08
    Last successful heartbeat to OMS : unknown
    Agent is Running and Ready
    any help is appreciated.
    rgds
    alan

  • Logical standby database questions

    Hi,
    1.Is it possible to encrypt just the logicals standby database? ie primary is not encrypted but when the data comes to logical standby it gets encrypted?
    2. Is it possible to replicate only certain schemas to logcial standby?
    Please let me know,
    Thanks a lot
    Sumathy

    Hi Sumathy,
    1.) Yes this is possible
    2.) Yes also possible. However Logical Standby will always gather all information from the primary, and only skip in the apply process.
    If you want to lessen your transfer, then you should use other replication mechanism like
    - Golden Gate (preferred but does cost money)
    - Streams (free, but depricated)
    Regards
    Sebastian

Maybe you are looking for

  • Custom List Form creation using Powershell - SharePoint 2013

    Hi, I have a custom List called 'IssuesList' with 4 fields - "IssueTitle","IssueID","IssueDesc","Status" While displaying display form I should show 3 fields expect Issue ID i.e. IssueID should be hidden. and on edit form only Status field should be

  • Protecting PDF files

    Does anyone know of an addin that allows setting the no copy, no edit and no print options on a PDF file? I'd rather not have to purchase Adobe just to perform these functions. Thanks iMac G5 20"   Mac OS X (10.4.7)  

  • Creating a login hook?

    I am looking to create a script that runs each time when i log in to my mac. Although I am stuck at what to write in the script? I am looking for the script to open 'Safari' (2 tabs if possible) and 'Microsoft Messenger for Mac' at log in. Any help w

  • Cannot update 6303 software?

    Cannot for my life update software on this phone to the new version. I attempted to update using Ovi suite (latest version) nokia software updater to no avail. Error messages range from the most common (error in software package configuration) to NSU

  • E Books AG Settlement Email

    I just received an email from 'E-Book AG Administrator' saying that a settlement was reached and an account credit is ready for me to activate.  Did anyone else receive this?  Is this legit? Thanks!