RMAN restore until THE SNA in DATA GUARD environment

Hello

OS = RHL5

DB = 11.2.0.3 primary and 1 physical database paused.

I have a huge request changes tomorrow and its possible that I have an obligation to RESTORE the database 5 hours back because the application.

I think to be adopted following the method of the official documentation of the Oracle (untilClause):

MOUNT FORCE OF START

RUN

{

UNTIL THE SNA 1418901.  # The necessary number SNA will be used here.

RESTORE THE DATABASE;

RECOVER THE DATABASE;

}

ALTER DATABASE OPEN RESETLOGS;

I will of course take Level0 backup tonight and LEVEL1 backup before the start of the work.

My humble question is that: If this is the good method I adopt? and if so, then what about physical databases eve? Is that something to restore/recovery too? It is not required or waiting for database necessary to create again (which I'm afraid of)?

Flash back is not enabled.

Pack of thank you for the suggestion.

Best regards

You can enable FLASHBACK DATABASE on major sites and relief and set a RESTORE POINT before the migration of the applications.

If you stop to redo expedition to the France, the waking state is the last SNA that was applied (i.e. 1001). If you need to return the primary SNA 1011 and then resume the delivery of roll forward, Eve can continue to 1002 from totally ignorant.  If you flashback primary to a SNA lower, say, 998, you would have to flashback the night before as well (997 or 998) until you can resume redo expedition to the France.

See the Oracle support Note: how Flashback the primary database in standby Configuration (Doc ID 728374.1)

Hemant K Collette

Tags: Database

Similar Questions

  • A few questions about the design of Data Guard

    Hi, I have a few basic questions around design Data Guard

    Q1. Looking at the instructions of Oracle for the creation of a logical standby, he recommends first creating a physical standby and then convert waiting logic. However, I thought that a logical standby might have a totally different physical structure of the primary. How can this be the case if a logical standby first starts his life pending physical (where the structure must be the same)?

    Q2. It is a normal practice to back up your database before as well - if yes why?

    Q3. Can RMAN back up a database of the day before while he is in the State mounted (rather than opening it)?

    Q4. What is the point of cascade redo apply rather than just get the primary ship to each standby?

    I guess you could try to reduce the latency of node to node if some the day before were quite remote from the primary

    Q5. Is it possible to convert a physical logical Standby?

    Q6. What number best of Standby, you can have - Oracle suggests 30 but I thought I remember reading somewhere regarding the 11 GR 2, that this limit has now been increased?

    Thank you

    Jim

    Hello again;

    "begins each logical waiting first her life on hold physical?"

    Its the only way I ever did. I think it is the simple way to do it.  By the presence of a physical standby first you have already confirmed the network and most of the settings for Data Guard so that you can focus on only the logic of the standby database configuration.

    Chapter 3 of this book, it's easy:

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

    Best regards

    mseberg

  • RMAN-20207: until the RECOVERY WINDOW, which was before the RESETLOGS

    Dear friends,

    I'm picking up some time and I have used this SQL in my RMAN

    reset the database incarnation 1;

    run
    {
    until ' to_date (3 Aug 10 17:50 ',' MON-DD-YYYY HH24:MI:SS') ";
    restore the database;
    recover the database;
    }

    and I get this error: RMAN-20207: until the RECOVERY WINDOW, which was before the RESETLOGS

    I thought changing the incarnation will solve the problem. I have only 2 incarnations, which is used after that the resetlogs which is number 2. So I now use 1 incarnation.

    How should I go about this?

    Thanks in advance.

    Nith

    user645399 wrote:
    Moved to Ribbon!

    Ok...

    Now, what you have to do: If you want to point at the time of recovery, you must have a valid backup plus archivelogs in order to recover up to the desired time.

    From now on, full backup is available for the time that you asked, however archivelogs not :(

    You must make available, controlfile catalogue and begin to restore, recover up to the hour. Then open with resetlogs option.

  • Oracle will consider the creation of a day 2 hands on the documentation for Data Guard?

    Hello

    Oracle will consider the creation of a documentation of son of hands 2 day for Data Guard?

    There is already an OTN 2 day of CARS and performance tuning documentation.

    Thank you

    Updated - she sent the link to this topic for the Product Manager Data Guard.  As a result, Oracle may or may not consider creating 2 days hands on Data Guard documentation, but no doubt they consider at least considering creation day 2 hands on the Data Guard documentation.

  • How the PopUp open for every 15 minutes until the user saves data

    Hi all

    I'm working on an application where I need to open a popup for every 15 minutes until the user saves data and stop after users register data. I'm not able to get the idea on how it could be done. Please post some views in which it could be done.

    Thanks in advance.

    Hello
    an alternative is the uncommittedDataWarning property is one out of the box functionality, but don t has setup time.

    https://blogs.Oracle.com/Shay/entry/warning_of_uncommitted_unsaved_changes

    If not, you can use an af:poll in combination with a pop-up message

  • Flashback Database using Data Guard environment

    11.2.0.3/RHEL 5.8

    I came across several documents that speak of FLASHBACK DATABASE configuration in dataguard environments. We have several
    Physical DBs sleep (Single Instance & RAC) running in our shop. I would like to know two or three major (common) use of FLASHBACK DATABASE data child care settings.

    I understand one of the uses mentioned in the below URL ie. a logical error recovery

    http://uhesse.com/2010/08/06/using-flashback-in-a-Data-Guard-environment/

    I would like to know what are the other major/common use of Flashback Database River in environment DataGuard

    A few other uses:

    (1) flashback allows you to test your DR. So you can activate your watch. Test the connectivity of network/applications and features on your recovery site and when done return the database to a physical standby. It must however ensure that this is allowed in your environment. In some places, I worked, it would be a big no, no, because they have no needs of data loss. However some companies that will allow as long that the watch is delivered in place for some time.

    (2) in the case that you do a failover for a reason, but what has been the main site would then become available, you can flashback what has been your primary to make the eve rather than re-instatiating the database from scratch.
    For example. You have a power failure on your main site if perform you a failover and your watch becomes the principal. Once it's your main site is back online, you can convert your previous primary in a day before making a full return/restoration (or any method you choose) to recreate your standby again. However you also have the option to use flashback on this database and then convert it to a watch because it would be potentially faster than the re-instantiation of the day before.

  • RMAN restore using together until the SNA

    Hi guys.
    Quick question on the use of set up what SNA

    When I do the backup list output shows multiple SNA for a full (I allocated 4 channels of the band for the backup of the CNS, there 4 in the output)

    That you specify in the game until the Yvert command? Below it is... 163, 164... 165, 166

    This is the backup that I want to use:


    Time of accomplishment BS key Type LV size device Type elapsed time
    ------- ---- -- ---------- ----------- ------------ --------------------
    12526 incr 19 0 SBT_TAPE 00:27:22 December 31, 2009 10:25:30
    BP key: 12526 situation: AVAILABLE Tag: TAG20091231T095808
    Item name: rcworaprd-vprd2-full < 12920:707047088:1 > .dbf
    List of defined backup data files 12526
    Name of file LV Type cash SNA cash time
    ---- -- ---- ---------- -------------------- ----
    1 0 incr 1697159163 December 31, 2009 09:58:08 /u02/oradata/vprd2/system01.dbf
    11 0 incr 1697159163 December 31, 2009 09:58:08 /u02/oradata/vprd2/ppa_data01.dbf
    12 0 incr 1697159163 December 31, 2009 09:58:08 /u02/oradata/vprd2/ppa_index01.dbf
    13 0 incr 1697159163 December 31, 2009 09:58:08 /u02/oradata/vprd2/itd_index01.dbf
    16 0 incr 1697159163 December 31, 2009 09:58:08 /u02/oradata/vprd2/rcl_data01.dbf

    Time of accomplishment BS key Type LV size device Type elapsed time
    ------- ---- -- ---------- ----------- ------------ --------------------
    12527 incr 21 0 SBT_TAPE 00:29:19 December 31, 2009 10:27:27
    BP key: 12527 situation: AVAILABLE Tag: TAG20091231T095808
    Item name: rcworaprd-vprd2-full < 12921:707047088:1 > .dbf
    List of defined backup data files 12527
    Name of file LV Type cash SNA cash time
    ---- -- ---- ---------- -------------------- ----
    4 0 incr 1697159164 December 31, 2009 09:58:08 /u02/oradata/vprd2/tools01.dbf
    7 0 incr 1697159164 December 31, 2009 09:58:08 /u02/oradata/vprd2/xdb01.dbf
    8 0 incr 1697159164 December 31, 2009 09:58:08 /u02/oradata/vprd2/user_index02.dbf
    9 0 incr 1697159164 December 31, 2009 09:58:08 /u02/oradata/vprd2/una_data01.dbf
    14 0 incr 1697159164 December 31, 2009 09:58:08

    Time of accomplishment BS key Type LV size device Type elapsed time
    ------- ---- -- ---------- ----------- ------------ --------------------
    12528 incr 29 0 SBT_TAPE 00:33:48 December 31, 2009 10:31:57
    BP key: 12528 situation: AVAILABLE Tag: TAG20091231T095808
    Item name: rcworaprd-vprd2-full < 12923:707047089:1 > .dbf
    List of defined backup data files 12528
    Name of file LV Type cash SNA cash time
    ---- -- ---- ---------- -------------------- ----
    6 0 incr 1697159166 December 31, 2009 09:58:09 /u02/oradata/vprd2/user_index01.dbf
    17 0 incr 1697159166 December 31, 2009 09:58:09 /u02/oradata/vprd2/rcl_index01.dbf

    Time of accomplishment BS key Type LV size device Type elapsed time
    ------- ---- -- ---------- ----------- ------------ --------------------
    0-23 00:38:09 SBT_TAPE incr 12529 December 31, 2009 10:36:17
    BP key: 12529 situation: AVAILABLE Tag: TAG20091231T095808
    Item name: rcworaprd-vprd2-full < 12922:707047088:1 > .dbf
    List of defined backup data files 12529
    Name of file LV Type cash SNA cash time
    ---- -- ---- ---------- -------------------- ----
    2 0 incr 1697159165 December 31, 2009 09:58:09 /u02/oradata/vprd2/drsys01.dbf
    3 0 incr 1697159165 December 31, 2009 09:58:09 /u02/oradata/vprd2/eng_data01.dbf
    5 0 incr 1697159165 December 31, 2009 09:58:09 /u02/oradata/vprd2/user_data01.dbf
    10 0 incr 1697159165 December 31, 2009 09:58:09 /u02/oradata/vprd2/una_index01.dbf
    15 0 incr 1697159165 December 31, 2009 09:58:09 /u02/oradata/vprd2/eng_index01.dbf

    Or would it be better to use the set up to the hour... the oldest use of the backupset 12529 (December 31, 2009 10:36:17)

    All entries are appreciated.

    Thank you

    Jamie

    You must choose an SNA:
    -which is higher than any file data YVERT
    -to which you have linked archived red balls
    -who is older than January 1, 2010.

    You can try to view the related archived redo log backups with:

     list backup of archivelog until time 'Dec 31 2009';
    

    Edited by: P. Forstmann on 4 Jan. 2010 20:14

  • Restore the size of the log in Data Guard configurations

    DB version: 11.2
    Platform: Solaris 10

    We have currently a DB production which is not Dataguard.It has a load of joint working: some processing OLTP and batch.
    Its size of redo log is * 100 * MB.

    We will create a database with the requirement very similair but this DB will have primary standby (Data guard) and real time applies.

    To adapt to the requirements of dataguard, we should reduce the size of the recovery online newspapers? That is to say. Transport of small pieces of roll forward is better than carrying more. Right?

    Hello;

    If you use "real-time applies" the key is not the size so that the standby Redo Logs.

    In most cases, 100 MB is fine. Newspapers to sleep again must be the same size that it again.

    With 'real time applies' SRL act as a buffer.

    Unless you have a real problem with the size of do it again I would not change it.

    An excellent source of information on this is 'Restore the Services of Transport' in ' Data Guard Concepts and Administration 11 g Release 2 (11.2) "E10700-02".

    If you believe that your logs are too big departure "Troubleshooting performance problems with the database and base/MFG MRP [ID 100964.1]"

    Best regards

    mseberg

    Published by: mseberg on May 31, 2012 11:33

  • RMAN restore in the State of the mount in Oracle 11 g DB

    I have a question which can be very naïve, it is to confirm if the RMAN restore happens in the mount status of data or can it also happen when the DB is in open State?

    I hope my question is clear what is the eligible state of the database in which the RMAN restore can happen.

    Please get back with the answer to my query.


    Concerning

    addition of HemantKChitale response

    If you must restore controlfile, restoration can be done with the database OPEN or MOUNT, it should be in NOMOUNT State.

  • Cost associated with the implementation of Data Guard

    Hello

    What are the implications of cost migration to oracle Standard edition to Enterprise edition (I think data hold is not available with standard edition)?
    I just need a rough estimate to make a presentation. Also is there any additional cost to implement Data Guard? Finally, it is reasonable to assume that the average cost of a server of the p series (4 processors with 16 / 32G of RAM) is around £2000 ($3500).

    Concerning

    You can get the list of prices of http://www.oracle.com/corporate/pricing

    However, actual prices depends on corporate discount - which vary according to the customer.

    See also the Software Investment Guide of the same URL avaiable.

  • Data Guard environment, how time will need to use standby Database

    Dear experts,

    OS - Windows server 2012

    Oracle Version - 11.2.0.1.0

    The size of the database - 500 GB

    I have the plan to implement Data Guard. The database size is 500 GB.

    Please find below the question

    (1) when the database is harnessed for how long take use waiting for database so immediately or a few minutes?

    (2) when the server went down how long then to connect with the server backup immediately or a few minutes?

    I'm new to the data protection environment. Kindly help me

    Hello;

    I can perform a failover or a failover with Data Guard Broker in about 20 seconds. If I don't use a broker, it takes about 3 minutes.

    Quick start failover takes less time. Time will depend on the material, etc. of configuration options.

    Best regards

    mseberg

  • Data Guard environment connection

    How should I make a data hold on patch?
    Our environment is RHEL 5.4, NON-RAC physical 1 and 2 Standby Active.

    I think since we have no quarterly maintenance windows for:
    (1) arrest Data Guard
    (2) patch and confirm each relevant databases
    (3) restart data guard


    Anyone can share there thoughts and experiences?

    Thanks in advance.

    You can find the exact in measurements
    How do you apply a group of patches, the power supply or the CPU in a configuration of data secondary physical custody [278641.1 ID]

  • RMAN backup on the database with data file with corrupted block

    Hi friends,

    I have a problem with a database of oracle 11g XE on windows server 2003, the database is in production, it is open, is operating normally.

    The database has no backup configured before, so I put the database archiving mode and tried to backup using rman utility, but it show me some errors.

    First of all, it showed me:

    ORA-19501: error in reading file... SYSAUX. DBF

    ORA-27070: async read/write failed

    OSD-04016: error queuing an asynchronous i/o request.

    And when I passed the dbv on the SYSAUX file utility. DBF showed the fatal error.

    So, I switched CHKDSK utility on windows to repair the disc of the error. After that, run utility dbv and he passed and showed me the corrupt on SYSAUX blocks. DBF

    Then, came to rman and ran:

    RMAN > validate the logical database checking;

    State of the file marked corrupt blocks examined empty blocks high YVERT

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

    3 0 1111 115840 78859075 FAILED

    File name: C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSAUX. DBF

    Type block for lack of treated blocks blocks

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

    Data 0 0

    Index 0 0

    Other 38 114729

    After that: watching the content of v$ database_block_corruption;

    Show me a lot of lines like this:

    SQL > select * from v$ database_block_corruption;

    FOLDER # BLOCK # BLOCKS CORRUPTION_CHANGE # CORRUPTIO

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

    3 4440 1 FRACTURED 0

    3 4439 1 0 ZERO ALL THE

    3 4386 2 FRACTURED 0

    3 4384 1 0 ZERO ALL THE

    3 4334 1 0 ZERO ALL THE

    ...

    33 selected lines.

    Finally I try to rerun rman and he shows me the error:

    ORA-19566: exceeded the limit of 0 blocks corrupt file C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSAUX. DBF

    How can I do backup with rman? Maybe I can by pass the corrupt block?

    I'll be grateful for any help you can provide.


    =)

    It would be better if you try to find the reason of corruption and try to recover the corrupt blocks. A block corrupted in the backup would really not must use. But if you're ready to take backup, you can ask RMAN to ignore corrupt blocks and move forward.

    Use the pseudo-code for the backup

    Run {set maxcorrupte for the database to 10;

    backup tablespace sysaux ;}

    HTH

    Aman...

  • Physical movement of the databases using Data Guard

    Hi all

    We need to move our equipment to a new physical location.

    Our production database (11.2.0.4) is replicated to another computer using dataguard (MaxAvailability mode)

    The plan was to move the machine SRD first Monday, then the database of production during the next weekend.

    Do you have an idea how to do a 'pause' the replication when the move will take place for two servers?

    We do not want to do a failover because the production should not be available over the weekend.

    Thanks in advance,

    Renaud

    Do you have an idea how to do a 'pause' the replication when the move will take place for two servers?

    There is no such method of the break, but you could defer the primary log shipping to wait.

    ALTER system set log_archive_dest_state_2 = reporter; #assuming that log_archive_dest_2 on the primary it again waiting for ships

    But, you must make sure that the archives on the primary are not lost or deleted after reporter such as these are not available on standby.

    Once you 'enable' the destination deferred, Eve should automatically catch up with the primary.

    -Jonathan Rolland

  • Basic question on the Data Guard environment

    Friends, please excuse me for this easy question because I am very new to the Dataguard technology, what will be ideal start-up and sequences of stop primary and standby db provided is the version of DB Oracle 11 g R2 and we also have active dataguard broker.

    Any help will be much appreciated.

    Thanks in advance.

    918868 wrote:
    Friends, please excuse me for this easy question because I am very new to the Dataguard technology, what will be ideal start-up and sequences of stop primary and standby db provided is the version of DB Oracle 11 g R2 and we also have active dataguard broker.

    Any help will be much appreciated.

    Thanks in advance.

    (1) standby: DGMGRL > SET STATE of MODIFICATION of DATABASE "Standby_DB_UNIQUE_NAME" = "APPLY-OFF."
    (2) primary: DGMGRL > EDIT DATABASE 'Standby_DB_UNIQUE_NAME' PROPERTY SET LogShipping = OFF;
    (3) standby: stop
    (4) primary stop.

    At startup:

    (1) primary starting
    (2) standby: start [if ADG], otherwise then starting in the State
    (3) primary: DGMGRL > EDIT DATABASE 'Standby_DB_UNIQUE_NAME' PROPERTY SET LogShipping = ON;

    No need to start MRP waiting, because whenever the broker started, MRP will be initiated.

    HTH.

    Published by: CKPT on February 22, 2013 15:18

Maybe you are looking for