Effects of the opening of a primary database in resetlogs on the standby database

Hi all

Operating system: Solaris

DB: 11 gR 2

Can anyone throw some light below the explanation is given in case of recovery through the OPEN RESETLOGS Statement oracle documentation

If the database pending... Then... Perform these steps...
Not asked to redo data beyond the new resetlogs SCN (after the start of the new branch of data recovery)Redo apply automatically takes the new branch of the roll forward.No manual intervention is required. The MRP automatically resynchronizes the database pending with the new branch of data recovery.

Here is the link of the source:

Manage a database of physical standby

Kind regards

Just to give a concrete example, I did a test on one of my VM boxes. The database currently shows:

SQL > select sequence #, the journal of v status $;

SEQUENCE # STATUS

---------- ----------------

34 ACTIVE

CURRENT 35

ACTIVE 33

While on the eve, I stopped the redo apply so the standby status is:

SQL > select sequence #, used from v$ archived_log;

SEQUENCE # APPLIED

---------- ---------

YES 30

31 YES

32 YES

33 NO.

34 NO.

The database ensures in a few newspapers behind the primary.

On the primary, I moved the journal a few sequences, close, the bootable media and restored and recovered 37 sequence:

RMAN > run

2 > {}

3 > restore database;

4 > up 37 sequence;

5 > restore database;

6 > alter database open resetlogs;

{7 >}

During the open resetlogs operation, I have to tail the log of alerts on the standby database and the following output shown:

RFS [11]: identified the type of database such as 'physical' standby: customer is ARCH pid 17192

RFS [11]: new branch archives REDO: 844006029 current: 843649185

RFS [11]: Journal selected 102 for thread 1 1 dbid-204899919 branch of the 844006029 sequence

RFS [11]: new Branch (resetlogs_id) of archive REDO: before 844006029: 843649185

RFS [11]: ID of Activation of archives: current 0xf3d44942: 0xf3cf5ac3

RFS [11]: effect of primary database OPEN RESETLOGS

RFS [11]: entry of Incarnation added to Branch (resetlogs_id): 844006029 (ORCL11PS)

Fri Apr 04 14:07:39 2014

Definition of embodiment of recovery target 2

Fri Apr 04 14:07:39 2014

Archived journal 21 additional for each sequence 1 1 0xf3d44942 dest ID thread entry 1:

So as you can see, the log shows the standby detects the resetlogs on the primary operation and the new branch of the roll forward and received the next archivelog with sequence 1.

Audit on the eve, it shows the status following the archivelogs:

SEQUENCE # APPLIED

---------- ---------

31 YES

32 YES

33 NO.

34 NO.

35 NO.

36 NO.

37 NO.

38 NO.

1 NO.

2 NO.

And after restart the managed recovery process, it now shows:

SEQUENCE # APPLIED

---------- ---------

31 YES

YES 30

YES 19

YES 33

34 YES

35 YES

YES 36

37 NO.

38 NO.

1 YES

2 YES

Archivelogs with sequence 37 and 38 were not implemented because of the CAMILLE on the main sequence until (but not including!) 37 and then properly applied the next archivelogs of the new branch of the roll forward, with sequence 1 and 2.

Tags: Database

Similar Questions

  • move the primary database files to another location

    Hi all

    I move the files of my primary database to another location on the same server, but on a different drive (from f: to G :) with rename comand but file name will be the same, after you have moved the files what step I need to perfom on standby DB will have on my database pending?)

    This doc is everything after you rename the primary file, I'm not rename all the files I need to just move file from one place to another without changing the file name.

    I hope you know how to move files from one place to the other on the primary database. It's not just copying the files from one disk to another and then to go to the top of your database.

    You rename your data files or copy it to another location, how the controlfile to know you have copied/renamed to a different location?

    I guess you 1 to ask the question of how to move files to a different location in primary education and then move on standby.

    Steps to follow:
    1 Hope you brought your primary database.
    2 copy the datafiels to one disk to another.
    3. attach the primary database.
    4 rename all data files that you moved to this control file would know the changes.
    SQL > alter rename file 'G:\oracle\user01.dbf' to 'F:\oracle\user01.dbf ';
    5. subsequently open the database.
    Refer this to move data files from one place to another http://www.orafaq.com/wiki/Move_datafile_to_different_location, http://www.adp-gmbh.ch/ora/admin/move_datafiles.html

    on autonomy in standby:
    1 cancel the MRP
    2. change the db_file_name_convert to point to «F:\»... »
    3. Mount the backup database
    4. start the MRP

    Hope that these steps are clear.

  • Migration of data from the old platform to the new primary database, need advice.

    I have physical standby facility and everything works now.

    Next weekend, we will do the actual migration of the old platform to the new environment.

    I have several issues of concern.

    Migration will go to the primary database. I'll have to remove patterns and inside expdp dmp.

    While I do all those, what data base waiting? should I disable it again apply?

    What other concerns and precautions I need to take before I have to remove all data from primary school and do a migration?

    Thank you in advance.

    Hello;

    My main concern would be the FRA (assuming you use it).

    By doing all that generates a ton of archives, you have to worry about the space on both sides.

    I would consider increasing my FRA on both sides.

    I would not disable the recovery, but I look very close and be willing to adjust my space as needed.

    As long as you don't miss space you should be fine. I had once a backup log files more than 250, and it took about 15 minutes to catch up.

    Have a little prepared scripts in advance if you can increase the space or delete archive applied and it should be fine.

    I also opened at least two terminals on the primary and Standby. Everyone look at space and the other to execute all what you need to adjust the space.

    The rest is common sense, first do the smaller drawing if you have an idea what to expect. Decaying etc. as much as possible.

    Best regards

    mseberg

    I have a shell script called 'quickcheck.sh' (use a separate but .env file it will send information vital back)

    With a little work, you can do this in something that makes it easy to keep an eye on things.

    #!/bin/bash
    ####################################################################
    #
    
    if [ "$1" ]
    then DBNAME=$1
    else
    echo "basename $0 : Syntax error : use . quickcheck  "
    exit 1
    fi
    
    #
    # Set the Environmental variable for the instance
    #
    . /u01/app/oracle/dba_tool/env/${DBNAME}.env
    #
    #
    
    $ORACLE_HOME/bin/sqlplus /nolog <
    

    and then a SQL file called quickaudit:

    SPOOL OFF
    CLEAR SCREEN
    SPOOL /tmp/quickaudit.lst
    
    --SELECT SYSDATE FROM DUAL;
    --SHOW USER
    
    PROMPT
    PROMPT -----------------------------------------------------------------------|
    PROMPT
    
    SET TERMOUT ON
    SET VERIFY OFF
    SET FEEDBACK ON
    
    PROMPT
    PROMPT Checking database name and archive mode
    PROMPT
    
    column NAME format A9
    column LOG_MODE format A12
    
    SELECT NAME,CREATED, LOG_MODE FROM V$DATABASE;
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    PROMPT
    PROMPT Checking free space in tablespaces
    PROMPT
    
    column tablespace_name format a30
    
    SELECT tablespace_name ,sum(bytes)/1024/1024 "MB Free" FROM dba_free_space WHERE
    tablespace_name <>'TEMP' GROUP BY tablespace_name;
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    PROMPT
    PROMPT Checking freespace by tablespace
    PROMPT
    
    column dummy noprint
    column  pct_used format 999.9       heading "%|Used"
    column  name    format a16      heading "Tablespace Name"
    column  bytes   format 9,999,999,999,999    heading "Total Bytes"
    column  used    format 99,999,999,999   heading "Used"
    column  free    format 999,999,999,999  heading "Free"
    break   on report
    compute sum of bytes on report
    compute sum of free on report
    compute sum of used on report
    
    set linesize 132
    set termout off
    select a.tablespace_name                                              name,
           b.tablespace_name                                              dummy,
           sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )      bytes,
           sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id ) -
           sum(a.bytes)/count( distinct b.file_id )              used,
           sum(a.bytes)/count( distinct b.file_id )                       free,
           100 * ( (sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )) -
                   (sum(a.bytes)/count( distinct b.file_id ) )) /
           (sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )) pct_used
    from sys.dba_free_space a, sys.dba_data_files b
    where a.tablespace_name = b.tablespace_name
    group by a.tablespace_name, b.tablespace_name;
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    PROMPT
    PROMPT Checking Size and usage in GB of Flash Recovery Area
    PROMPT
    
    SELECT
      ROUND((A.SPACE_LIMIT / 1024 / 1024 / 1024), 2) AS FLASH_IN_GB,
      ROUND((A.SPACE_USED / 1024 / 1024 / 1024), 2) AS FLASH_USED_IN_GB,
      ROUND((A.SPACE_RECLAIMABLE / 1024 / 1024 / 1024), 2) AS FLASH_RECLAIMABLE_GB,
      SUM(B.PERCENT_SPACE_USED)  AS PERCENT_OF_SPACE_USED
    FROM
      V$RECOVERY_FILE_DEST A,
      V$FLASH_RECOVERY_AREA_USAGE B
    GROUP BY
      SPACE_LIMIT,
      SPACE_USED ,
      SPACE_RECLAIMABLE ;
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    PROMPT
    PROMPT Checking free space In Flash Recovery Area
    PROMPT
    
    column FILE_TYPE format a20
    
    select * from v$flash_recovery_area_usage;
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    PROMPT
    PROMPT Checking last sequence in v$archived_log
    PROMPT
    
    clear screen
    set linesize 100
    
    column STANDBY format a20
    column applied format a10
    
    --select max(sequence#), applied from v$archived_log where applied = 'YES' group by applied;
    
    SELECT  name as STANDBY, SEQUENCE#, applied, completion_time from v$archived_log WHERE  DEST_ID = 2 AND NEXT_TIME > SYSDATE -1;
    
    prompt
    prompt----------------Last log on Primary--------------------------------------|
    prompt
    
    select max(sequence#) from v$archived_log where NEXT_TIME > sysdate -1;
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    PROMPT
    PROMPT Checking switchover status
    PROMPT
    
    select switchover_status from v$database;
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    SPOOL OFF
    
    exit
    

    The env file looks like this: (if the file would be PRIMARY.env)

    ORACLE_BASE=/u01/app/oracle
    
    ULIMIT=unlimited
    
    ORACLE_SID=PRIMARY
    
    ORACLE_HOME=$ORACLE_BASE/product/11.2.0.2
    
    ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    
    LIBPATH=$LD_LIBRARY_PATH:/usr/lib
    
    TNS_ADMIN=$ORACLE_HOME/network/admin
    
    PATH=$ORACLE_HOME/bin:$ORACLE_BASE/dba_tool/bin:/bin:/usr/bin:/usr/ccs/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/lbin:/GNU/bin/make:/u01/app/oracle/dba_tool/bin:/home/oracle/utils/SCRIPTS:/usr/local/bin:.
    
    export EXP_DIR=/u01/oradata/PRIMARY_export
    
    export TERM=vt100
    
    export ORACLE_BASE ORACLE_SID ORACLE_TERM ULIMIT
    
    export ORACLE_HOME
    
    export LIBPATH LD_LIBRARY_PATH ORA_NLS33
    
    export TNS_ADMIN
    
    export PATH
    

    Published by: mseberg on December 9, 2011 18:19

  • I used to work with Interbase and Firebird and used databases the keyword "domain". I am now switchig to Oracle as a primary database and would like to find an alternative appropriate "domain" in Oracle, as it appears he does ' t taken in charge the stand

    I used to work with Interbase and Firebird and used databases the keyword "domain".

    I am now switchig to Oracle as a primary database and would like to find a suitable

    Variant of 'area' in Oracle such that it appears he does ' t support the standard SQL syntax.

    for example:

    Create the int2 smallint field;

    create domain id2 int2 default 0 not NULL; / * for the primary key * /.

    create domain rel2 int2 default 0 not NULL; / * foreign key * /.

    I tried a couple of approaches to achieve this "area" is:

    1. create synonym - cannot be used with the basic types;

    2. create the type - type of work, but the implementation is rather clumsy

    and can be costly in terms of performance.

    Is there something else to Oracle that can emulate the feature "domain"?

    Thanks in advence, I got really approciate any help on this.

    Alex.

    Your best approximation is CREATE TYPE, but their is nothing of what is a 100% adjustment.

    For example, if you create a domain with a check constraint you need to implement than separately on each table.

  • logfile missing watch on the primary database

    In a 11.2.0.4 database, we have configured Data Guard, so they created pending log files, but it has been deleted in ASM + accidentally.

    Thus, research in the database primary, the newspaper observed log pending files, but is not in ASM +.

    In the alert log has not been recorded event.

    I can do the recreation of the eve logfiles?

    What role can have on the primary database?

    Our configuration:

    BECAUSE with 4 cases

    --

    logonline 5 groups for example

    each group of logonline with 2 members

    --

    6 standby of the group e.g.

    each group watches with 2 members

    Total 48 asm file missing

    Select *-Group #, Member

    v $ logfile where type = "STANDBY".

    order by group #.

    GROUP # STATUS TYPE MEMBER IS_RECOVERY_DEST_FILE

    No. 51 +DATA_EXA/prep/onlinelog/group_51.1613.804140169 EVE

    No. 51 +RECO_EXA/prep/onlinelog/group_51.2918.804140175 EVE

    No. 52 +DATA_EXA/prep/onlinelog/group_52.1614.804140479 EVE

    No. 52 +RECO_EXA/prep/onlinelog/group_52.4182.804140485 EVE

    ....

    .....

    74No. +DATA_EXA/prep/onlinelog/group_74.972.875418965 day BEFORE
    74No. +RECO_EXA/prep/onlinelog/group_74.14330.875418971 day BEFORE

    ASMCMD >

    ASMCMD > ls-l +DATA_EXA/prep/onlinelog/group_74.972.875418965

    ASMCMD-8002: entry 'group_74.972.875418965' does not exist in the directory ' + prep/DATA_EXA/onlinelog /'

    ASMCMD >

    ASMCMD >

    Redologs Eve will be active when the database is in the role of Eve, so you can drop the watch group redologfile missing for the thread and add it again.

    You have lost all the groups newspaper waiting for redo for all threads?

    On primary, you can drop all odds redolog groups because they will be unassigned State on the standby database make sure the group is unassigned status before falling

    Select Group #, THREAD #, STATUS from v$ standby_log;

  • RMAN-06820: WARNING: unable to archive the current log on the primary database

    I got the following exception when I try to backup the data files and the archivelogs on the physical by uisng RMAN standby database.

    RMAN-06820: WARNING: unable to archive the current log on the primary database

    Target ORACLE database error:

    ORA-17629: unable to connect to the remote database server

    ORA-17627: ORA-00942: table or view does not exist

    It's the backup script

    "

    connection target sys/oracle

    Configure controlfile autobackup on;

    Run {}

    nocfau together;

    allocate channel ch01 device type disc format ' / test/%U';

    allocate channel ch02 device type disc format ' / test/%U';

    backup database copy archivelog;

    backup copy current controlfile;

    }

    "

    And there is no error ora in the primary alert log.

    I was able to tnsping two server (primary/secondary) properly and could also primary of the remote login on standby db server and switch logfile. I read there is a very similar thread, but it has failed so I post again and hope I could get a few clues. Thank you.

    Hello again;

    Try to change this:

    connection target sys/oracle

    to something like this:

    RMAN target sys/password@PRIMARY auxiliary.

    Complete example:

    http://www.Visi.com/~mseberg/data_guard/duprman2.html

    Best regards

    mseberg

  • No index on the primary database. Need help with "COUNT OFF"; option

    11 GR 2 11.2.0.3 under linux

    Hi everyone,.

    It's an honor to be with you guys.

    I have a big question here and I am unable to decide on a permanent solution.

    We have a primary database that is configured to have a logical expectation.

    The logic of the day before was not built by me. But I'm now support...

    So as the title suggests, there is NO primary index / unique + not null on a large number of tables in the database of emergency primary/logic. But the application logic guarantees uniqueness values rather than null.

    Here is where the problem starts.

    Guys request DO NOT want us to create an index on the primary database.

    According to my understanding, because the database lack of clues, the apply SQL must do a full table scan whenever it changes / remove data. It is a very expensive process and consumes a lot of time. This takes hours together to apply a minute with a value of newspapers on the logic of the eve... A huge lag is created during the hours and is not acceptable.

    So as I told you earlier, the guys request do not want an index on the tables not supported.

    They use the database pending logic exclusively for information purposes and it's like production for them...


    Let me give an overview...

    According to the document on the creation of the logic of the day before for 11.2 as below

    http://docs.Oracle.com/CD/E11882_01/server.112/e41134/create_ls.htm#SBYDB4730

    Step 1 to find tables without identifying unique logic in the primary database.

    Query the DBA_LOGSTDBY_NOT_UNIQUE view to display a list of tables SQL may not apply be able to uniquely identify. For example:

    SQL> SELECT OWNER, TABLE_NAME FROM DBA_LOGSTDBY_NOT_UNIQUE
     2> WHERE (OWNER, TABLE_NAME) NOT IN 
    3> (SELECT DISTINCT OWNER, TABLE_NAME FROM DBA_LOGSTDBY_UNSUPPORTED) 
    4> AND BAD_COLUMN = 'Y'; 

    The above query has 1040 tables in a particular schema. All the these have no index is not null primary / unique.


    Now according to the step 2 as below, we have an option to add a disabled RELY primary key constraint.

    Step 2 Add a disabled RELY primary key constraint.

    If your application provides the rows in a table are unique, you can create a primary key disabled RELY constraint on the table. This avoids the overhead of maintaining a primary key on the primary database.

    Can someone explain what this RELY constraint is disabled and how to function and help please?


    I have a few questions about the constraint to RELY.

    (1) change current plans of optimizer on primary for the execution price?

    (2) can help to boost the performance of SQL apply without creating index on the logical standby database?

    (3) it will change current plans of optimizer logical pending for the SQLs running?

    What are the options that I need to increase the performance and table scan complete engine AVOID SQL apply on the logic of the day before?

    Thanks a ton for reading my post.


    Kind regards

    Abhishek

    In fact, I've implemented a key primary rely disabled on primary and unique index on the logic of the previous day.

    The logic of Eve runs lightning fast now

  • I'm trying to uninstall my adobe after effect on the Control Panel, but couldn't not. When I try to open the program the error 16 MESSAGE on the screen. How to uninstall?

    I'm trying to uninstall my adobe after effect on the Control Panel, but couldn't not. When I try to open the program the error 16 MESSAGE on the screen. How to uninstall?

    Reinstall it to restore your uninstall program.

  • How the standy database reflects the primary database?

    in the primary database create a tablespace or datafile adding / resizing then what happens to the standy database

    [url http://docs.oracle.com/cd/B14117_01/server.101/b10755/initparams206.htm] STANDBY_FILE_MANAGEMENT

  • Data file not shipped from the primary database to the standby database

    Hello

    (1) create a new user
    (2) created a new table space and add datafile on the primary database
    (3) the value tablespace default user

    But so far, this new data file is not delivered on the standby database.

    Version of database - 10.2.0.3
    OS - Windows

    Setting of primary and Standby: -.

    SQL > show parameter standby_file_management;

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    standby_file_management string AUTO

    Both have the same file system, but the difference is case sensitive.

    Primary data file location - D:\testdata

    Location of file data at rest - D:\TESTDATA

    Help, please.

    MRP process is running on the standby database?

    If it is then try to pass, log on the primary database and share your result.

  • Primary database is RAC and physical intelligence is the single instance

    Hi all

    I use Oracle RAC 11.2.0.3 as primary database, we will begin to use the Oracle Data Guard.
    I am designing my infrastructure and planing to use single instance Oracle 11.2.0.3 my stand physical database.

    My question is it possible to have my sleep as single instance database while the primary is RAC?
    is it possible to build my Oracle database single instance ensures from the primary database to the RAC, RMAN backup?
    Are there restrictions (or all of the points to consider) as my primary database is CARS while the physics of Eve is the only Oracle instance?

    in the link below
    [http://docs.oracle.com/cd/B28359_01/server.111/b28294/concepts.htm#i1039416]
    It was mentioned that primary can be CARS or simple and even the day before, but my question is possible to have primary as CARS all on standby as single instance? or it should be like each other?
    The primary database can be either a single-instance Oracle database or an Oracle Real Application Clusters (RAC) database.
    Similar to a primary database, a standby database can be either a single-instance Oracle database or an Oracle RAC database.
    Kind regards

    http://docs.Oracle.com/CD/B28359_01/server.111/b28294/rac_support.htm

  • LOG_ARCHIVE_DEST_2 parameter error and cannot start the primary database

    Hello
    I was getting errors in my RMAN backup script. I took a glance on the database settings. Looks like I made a mistake when I was in the LOG_ARCHIVE_DEST_2 setting in the standby database. Instead of putting on the eve I put it in the name of the primary instance. I also noticed that the LOG_ARCHIVE_DEST_2 setting has been changed in the primary database where I put it first. I guess he's changed when I changed the sleep setting. I have two questions:

    (1) can the parameter LOG_ARCHIVE_DEST_2 be changes for the correct setting now that I set it wrong. The reason why I ask is because when I tried to change by using the following ALTER SYSTEM command I got an error saying something about conflicting attributes. I guess it's because the name of the primary instance has been upgraded with the DB_UNIQUE_NAME instead of the name of the standby instance. If I could change the LOG_ARCHIVE_DEST_2 setting to sleep first then maybe I can change the primary to the correct setting? Please provide markets.

    ALTER SYSTEM SET LOG_ARCHIVE_DEST_2 ='SERVICE = < DB PRIMARY > ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = < PRIMARY_INSTANCE > '

    (2) the second question is you can start a database using a spfile? (I use ASM and Data Guard) I ask because while I was connected to the primary database I executed the following command:

    ALTER SYSTEM SET LOG_ARCHIVE_DEST_2 = 'SERVICE = < PRIMARY_INSTANCE > ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = < PRIMARY_INSTANCE >' scope = spfile;

    I then stop the database and try to start but it won't start because it says to conflicting attributes. I don't create a pfile from spfile file before you shut down the database. (I'm bad). How can I change the setting for the primary database to start over. (The PFILE file is different in ASM. There are sub + DATA but has only a single line indicating where is the location of the SPFILE) I need to run the following RMAN RESTORE CONTROLFILE FROM backup AUTOMATIC;

    Please help as it is a production environment that was supposed to be delivered only yesterday.

    Any help will be greatly appreciated!

    Thanks in advance.

    J

    I always use it. So my answer is Yes.

    Please consider several of the responses of CKPT marking "useful".

    He works very hard in the forum and didn't work great!

    I call it "SuperStar."

    Best regards

    mseberg

  • Switching from primary to the standby database

    Hi all

    Please can you give me some advice/comments/documents to help understand the steps that should be applied to move from a primary database to a standby database.
    I'm using Oracle 11 g 2 with Dataguard.

    What are the steps that must be applied from the primary to the standby database.

    Kind regards

    Hello again;

    My paper is a physical standby database. I have NOT tested using a logical standby database.

    The steps documented to perform the failover of the database logical Standby is located in:

    Perform the failover in a Configuration of data hold without the [ID 232240.1] Data Guard Broker

    Look under the heading "the steps to perform the logical passage with the Standby databases:

    I hope this helps.

    There is additional information here:

    http://ayyudba.blogspot.com/2007/10/performing-switchover-in-Data-Guard.html

    Best regards

    mseberg

  • difference between the eve of the database and primary database

    can someone tell me the difference between the database and the database of relief in simple layman's language...

    Thanks in advance

    The primary database is the active production database.
    STANDBY database is a database backup (or read-only).
    Basically, the database pending is in power of the primary database (mechanism depends on the type of sleep) where users are connected to.

    Nicolas.

  • Pending passage of the primary database to database

    Hi Experts,

    There is a database of oracle 10 g on a windows server and the database pending 1 * 0 g on another windows server *. The archivelogs in the primary database are generated on a network drive and they are applied on a regular basis of the primary database to the standby database, but now the primary database server broke down. If someone can tell me how to failover the database ensures the primary. I followed these steps but still Iam unable to move forward

    on the standby server:

    1 rman target sys/oracle@standby catalog rman/rman@catalog
    2 recover database;
    3 output
    4 sqlplus sys/oracle@standby as sysdba
    5 change the recovery of database managed standby database disconnect from the session;
    6 alter database recover managed standby database finish;
    7 change the database for validation at the grade crossing;

    All records of the primary database in the backup catalog are applied with success, until no 6 but not 7 would give me an error indicating that the required media recovery. Can someone help me?

    Thanks in advance...

    HI srp.

    As u mentioned above you are primary database server crashed.

    Now, you want to switch to mode ensures primary school.

    Use the following commands to go to primary school

    1 startup nomount
    2. change the mounting base pending;
    3. recover standby database managed disconnect from the session.
    4 recover managed standby database finish skip standby logfile;
    5 change the database for validation at the grade crossing;
    6. immediate cessation
    7. starting

    Otherwise, you need to activate the standby database using the command sequence

    SQL > recover managed database finish pending;
    SQL > alter database activate standby database;
    SQL > stop & start.

    Kind regards
    Praful K

Maybe you are looking for