Using Data Guard and hot backups - 9.2.0.6.0

Hi all,
I have an existing 9.2.0.6.0 database that is setup in a DataGuard environment - one primary database with a physical standby in a separate datacenter. It is all setup and it works beautifully. On our primary database, we currently have 2 different types of backups we are doing - we do an export of the main schema (all of the application data is all in this one schema) 4 times a day, and we do a full database hot backup once a night.
My question is in regards to the hot backup - I don't know that it is even worth doing a hot backup of this database? I am trying to think of a situation where we would actually want to restore a hot backup of the primary database... If we ran into some kind of a data issue, it would probably be quickest and easiest to restore data from one of the exports, and when we did that restore (import), I assume that data change would be replicated through DataGuard to the standby site. But if there was some kind of situation where we wanted to restore a recent hot backup of the primary database, that would essentially break the Data Guard configuration, and I assume that after the hot backup was restored, we would have to somehow re-instantiate Data Guard on the standby site.
Does anyone have any input on this? If you are running with DataGuard, is it even worth it to be doing hot backups? What kind of situation would call for restoring a hot backup, instead of just failing over to the standby?
Thanks!
--Brad                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

If we ran into some kind of a data issue, it would probably be quickest and easiest to restore data from one of the exportsIt would be quickest to failover to stand by database than restroing from dump file. After all you maintaing stand by db for that reason.
How can you restore database up to the latest changes using export/import ? You may have to restore using rman and apply the logs.
You can backup from stand by database. You do not need to back up primary.

Similar Messages

  • Data Guard and XMLDB

    Has anyone set up or can provide advise on using Data Guard and XMLDB?
    Right off the top of my head I have a couple of questions:
    Can we use Active Data Guard and XMLDB?
    Can we use Logical Data Guard and XMLDB?

    Yes and yes !
    On a primary database we have a schema dedicated for xml.
    We use xml in structured and unstrucutred mode (I mean the xmldb with the xml table that make you be able to load the xml in the database and modify it, and the other that is just putting xml in lob).
    You just do your data guard for your database like another one. Working for us withtou any special things to do.

  • DB link problem between active Data Guard and report application database

    My database version in 11.2.0.2.0 and OS is Oracle Solaris 10 9/10.
    I am facing a problem in my Active data guard Database for reporting purpose. Active Data guard information is as below.
    SQL> select name, database_role, open_mode from v$database;
    NAME DATABASE_ROLE OPEN_MODE
    ORCL PHYSICAL STANDBY READ ONLY WITH APPLY
    Problem detail is below
    I have created a db link (Name: DATADB_LINK) between active data guard and report application database for reporting purpose.
    SQL> create database link DATADB_LINK connect to HR identified by hr using 'DRFUNPD';
    Database link created.
    But when I run a query using db link from my report application database I got this below error.
    ORA-01555: snapshot too old: rollback segment number 10 with name "_SYSSMU10_4261549777$" too small
    ORA-02063: preceding line from DATADB_LINK
    Then I check Active Data Guard database alart log file and get below error
    ORA-01555 caused by SQL statement below (SQL ID: 11yj3pucjguc8, Query Duration=1 sec, SCN: 0x0000.07c708c3):SELECT "A2"."BUSINESS_TRANSACTION_REFERENCE","A2"."BUSINESS_TRANSACTION_CODE",MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'feature' THEN "A1"."TRANS_DATA_VALUE" END ),MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'otherFeature' THEN "A1"."TRANS_DATA_VALUE" END )
    But the interesting point if I run the report query directly in Active Data Guard database, I never got error.
    So is it a problem of DB link between active Data Guard and other database?

    Fazlul Kabir Mahfuz wrote:
    My database version in 11.2.0.2.0 and OS is Oracle Solaris 10 9/10.
    I am facing a problem in my Active data guard Database for reporting purpose. Active Data guard information is as below.
    SQL> select name, database_role, open_mode from v$database;
    NAME DATABASE_ROLE OPEN_MODE
    ORCL PHYSICAL STANDBY READ ONLY WITH APPLY
    Problem detail is below
    I have created a db link (Name: DATADB_LINK) between active data guard and report application database for reporting purpose.
    SQL> create database link DATADB_LINK connect to HR identified by hr using 'DRFUNPD';
    Database link created.
    But when I run a query using db link from my report application database I got this below error.
    ORA-01555: snapshot too old: rollback segment number 10 with name "_SYSSMU10_4261549777$" too small
    ORA-02063: preceding line from DATADB_LINK
    Then I check Active Data Guard database alart log file and get below error
    ORA-01555 caused by SQL statement below (SQL ID: 11yj3pucjguc8, Query Duration=1 sec, SCN: 0x0000.07c708c3):SELECT "A2"."BUSINESS_TRANSACTION_REFERENCE","A2"."BUSINESS_TRANSACTION_CODE",MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'feature' THEN "A1"."TRANS_DATA_VALUE" END ),MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'otherFeature' THEN "A1"."TRANS_DATA_VALUE" END )
    But the interesting point if I run the report query directly in Active Data Guard database, I never got error.
    So is it a problem of DB link between active Data Guard and other database?
    Check this note which is applicable for your environment
    *ORA-01555 on Active Data Guard Standby Database [ID 1273808.1]*
    also
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:8908307196113

  • How to setup a remote recovery process - Not using Data Guard?

    Hello -
    Has anyone (or can send me some links) set up recovery at a remote site - and not used Data Guard? For example, shipped off logs via FTP, applied the logs, and kep the DB in recovery mode?
    Thanks!

    Mlike,
    This manual procedure is described in the Dataguard Concepts manual for 10gR2, hopefully is this your unmentioned version (BTW what happens if you do type your version? Does your boss beats you up for doing that?). I don't know why someone wants to replace something robust by something unreliable by default, using FTP. Not only unreliable, also unsecure!
    Sybrand Bakker
    Senior Oracle DBA

  • Difference betwen RMAN,COLD and HOT backup

    Hi Experts,
    I have faces some interview question .
    what is difference between COLD and HOT backup ?
    what is difference between RMAN, COLD and HOT backup?

    You mean the following,
    Mark the beginning of the online tablespace backup.
    SQL> ALTER TABLESPACE users BEGIN BACKUP;
    Back up the online datafiles of the online tablespace with operating system commands. For UNIX:
    % cp /oracle/oradata/trgt/users01.dbf /d2/users01_'date "+%m_%d_%y"'.dbf
    After backing up the datafiles of the online tablespace, run the SQL statement ALTER TABLESPACE with the END BACKUP option.
    SQL> ALTER TABLESPACE users END BACKUP;
    Please visit here for more details:
    Making User-Managed Backups of Online Read/Write Tablespaces
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/osbackup004.htm#sthref1489
    Adith

  • Oracle 11g Active Data Guard and SAP R3

    Hi All,
    I have a query regarding Oracle 11g Active Data Guard and SAP R3.
    Does the Oracle 11g R1/R2 Active Data guard feature supported with SAP R3?
    I appreciate your help to provide any link or document for the same.
    Thanks,
    Vihang

    I have a query regarding Oracle 11g Active Data Guard and SAP R3.
    Does the Oracle 11g R1/R2 Active Data guard feature supported with SAP R3?
    I appreciate your help to provide any link or document for the same.
    Oracle database 11g functionality certified by SAP, check below link
    http://www.oracle.com/us/solutions/sap/oradb11g-article-upd-1-323074.pdf
    http://www.oracle.com/technetwork/middleware/ias/downloads/osb-11gr1certmatrix.xls

  • Still need to do full backup after using data guard?

    In our system, there is a physical standby database in data guard configuration. Is there still a need to do full backup and incremental backup?

    Jackliusr wrote:
    In our system, there is a physical standby database in data guard configuration. Is there still a need to do full backup and incremental backup?Preferred to have full backup daily.
    May be you can perform failover of your standby, in case there is no availability on primary database. Then do you think the standby system stability is same as primary and can give same performance?
    standby location can be too far and this is only if in case of disaster.
    Another case, lets suppose your standby is behind than primary for 4-5 days due to some issues. At the same time your production crashed then you may have chance to loose 4-5 days fo data. So recommended to have full backup always from primary database.
    If you are checking stability of standby database daily and able to check your data by opening properly and you wont prefer to RMAN backup, Then it is fine. But it is highly recommended to have RMAN backup.
    BTW, You can have RMAN full backup on standby, if you want to avoid resources to use on primary

  • Data guard and RMAN deletion policy.

    Dear experts,
    I have Data guard setup with physical standby. I scheduled backup archivelog to tape from both primary and standby servers. I need that archivelogs will be deleted only after shiped on standby and after backup 1 time to tape device. So I set following RMAN configure command.
    I am using separate RMAN catalogs for primary and secondary.
    CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 1 TIMES TO 'SBT_TAPE' SHIPPED TO ALL STANDBY;
    After I did a test.
    1. Stop standby
    2. Generate archivelogs in Primary (so to fill 100% the FRA )
    3. Backup archivelogs
    4. Start standby
    The logs dosen't shiped to standby because Oracle deleted them to free up space in FRA. So the second part of my deletion policy don't want to work. My goal is that when FRA is full the primary will hang instead of deleting not yet shiped archivelogs.
    Please share with me your experience.
    Thanks in advance.

    Hello;
    Test on 11.2.0.3
    RMAN> CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 1 TIMES TO 'SBT_TAPE' SHIPPED TO ALL STANDBY;
    new RMAN configuration parameters:
    CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 1 TIMES TO 'SBT_TAPE' SHIPPED TO ALL STANDBY;
    new RMAN configuration parameters are successfully stored
    starting full resync of recovery catalog
    full resync complete
    RMAN-08591: WARNING: invalid archived log deletion policy
    But this is OK
    RMAN> CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    old RMAN configuration parameters:
    CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 1 TIMES TO 'SBT_TAPE' SHIPPED TO ALL STANDBY;
    new RMAN configuration parameters:
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    new RMAN configuration parameters are successfully stored
    starting full resync of recovery catalog
    full resync complete
    These should work:
    RMAN> CONFIGURE ARCHIVELOG DELETION POLICY TO SHIPPED TO ALL STANDBY;
    RMAN> CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    Best Regards
    mseberg

  • RMAN,Data Guard and Archive log deletion

    Our DG environment is running Oracle 11g R2
    we have a 3 node DG environment with
    A being the Primary
    B and C being Active Data Guard Standbys
    Backups are taken off of B and go directly to tape.
    Standby Redo Logs and Fast Recovery Area are being used
    Taking recommendation from "Using Recovery Manager with Oracle Data Guard in Oracle Database 10g"
    RMAN Setting on Primary ("A")
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY
    RMAN Setting on Standby ("B") where Backup is done
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE
    RMAN Setting on other Standby ("C")
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY
    How can we know what archive logs are eligible to be deleted from "A" and "C" ?
    When does the delete take place?
    How can we tell when the archive logs are being deleted from "A" and "C" ?

    Dear user10260925,
    The documentation that you have read is reliable but insufficient.
    The Oracle can manage the archivelog directory and knows which one is eligible for the deletion. Those stuff you have posted in here has been taken from the online documentation and is supported and can be used when the Oracle knows and manages the archivelogs. That is simply called the flash recovery area. Please read about the FRA in this very moment.
    Under normal circumstances people in the industry uses some scripts to achive the archivelog deletion on the standby system.
    Here is a useful example to you;
    # Remove old archivelogs
    00,30 * * * * /home/oracle/scripts/delete_applied_redo_logs_OPTSTBY.sh
    vals3:/home/oracle#cat /home/oracle/scripts/delete_applied_redo_logs_OPTSTBY.sh
    export ORACLE_SID=optstby
    export ORACLE_HOME=/oracle/product/10.2.0/db_1
    cd /db/optima/archive/OPTPROD/archivelog
    /oracle/product/10.2.0/db_1/bin/sqlplus "/ as sysdba" @delete_applied_redo_logs.sql
    grep arc delete_applied_redo_logs.lst > delete_applied_redo_logs_1.sh
    chmod 755 delete_applied_redo_logs_1.sh
    sh delete_applied_redo_logs_1.sh
    rm delete_applied_redo_logs_1.sh
    rm delete_applied_redo_logs.lst
    vals3:/home/oracle#cd /db/optima/archive/OPTPROD/archivelog
    vals3:/db/optima/archive/OPTPROD/archivelog#cat delete_applied_redo_logs.sql
    set echo off
    set heading off
    spool /db/optima/archive/OPTPROD/archivelog/delete_applied_redo_logs.lst
    select 'rm -f ' || name from v$archived_log where applied = 'YES';
    spool off
    exit
    vals3:/db/optima/archive/OPTPROD/archivelog#Hope That Helps.
    Ogan

  • Data Guard and FLASHBACK

    RDBMS Version : 11.2
    Platform : Solaris 10
    I've joined this new company. On Data guard related design documents I keep seeing FLASHBACK related stuff. Things like extra disk space requirements for setting up FLASHBACK DATABASE. What is this all about ?
    What has Flashback got to do with Data guard setups ? I just need a high level overview.
    Regarding extra disk space requirements for setting up FLASHBACK DATABASE : Is this at Primary of Standby site ?

    Hello;
    Flashback is not required for Data Guard. However if you ever need to do a failover it may play an important role.
    During a failover it is common to use flashback to recover the old primary to a point where it can become the new standby.
    Flashback may also be used with DELAY on a Standby, and with Snapshot database.
    I would enable it on both the primary and standby databases.
    For additional information see :
    Oracle® Data Guard Concepts and Administration 11g Release 2 (11.2) E10700-02
    And these sections
    7.2.2.1 Using Flashback Database as an Alternative to Setting a Time Delay
    8.4 Using Flashback Database After a Role Transition
    8.4.2 Using Flashback Database After a Failover
    13.2 Converting a Failed Primary Into a Standby Database Using Flashback Database
    Best Regards
    mseberg

  • Making atabase clone (but without data=rows) from hot-backup

    Hi,
    I am newbie in Oracle administration. I am using Oracle 10g database. I would like to clone database i.e. make an exact copy of tablespaces, tables, indexes, triggers, functions etc. but without data.
    What is the most efficient way to do it.? I am having the full hot backup of another database. Is it possible to restore a that backup using rman but without data (=rows) on the fresh installed oracle database
    Thanks for any advice
    Groxy

    I don't think RMAN has the feature you are looking for.
    For this purpose, it could be easier to use:
    - either old export with FULL=Y ROWS=N
    - or new data pump export with CONTENT=METADATA_ONLY.
    However in both cases you would need to recreate the empty database before importing the export file.
    Message was edited by:
    Pierre Forstmann

  • Using data guard for migration pruposes.

    Hi we are looking to consolidate a couple of databases onto a single server. One of the databases is our bi database which is currently running on a single server and it is running oracle 10.1.0.3 on suse linux 64 bit.
    We also have an oracle 2 node cluster running on RHEL4 64 bit linux itanium. which is our sote database.
    We are looking to create a physical standby server of the store database onto a new server and storage array and also we are looking to migrate the bi database over to the same server/storage platform and would like to use ASM as the storage option for both of the database once they are migrated and also replicated to the new server.
    I guess my question is...can I run multiple different versions of oracle on the same server or is this just a bad idea? we know that we need to have the same version 10.2.0.3 for the physical standby server which is a different version than the bi datatabse so would it be better idea to upgrade the bi database to also be running 10.2.0.3 before we are to try and replicate it to the new hardware?
    I hope this is not confusing,
    Thx.

    Lets start with what physical Data Guard standby is ... it is the creation of a row-for-row, block-for-block duplicate of a primary production database.
    If the version are not identical that is impossible.
    If the data contained within them is not identical that is impossible.
    If you want to merge databases I would suggest Transportable Tablespaces ... nothing is faster and safer.
    Once you have you data merged you can then create a physical Data Guard standby for purposes of replication if you wish.

  • License Type Requirements To Use Data Guard For Oracle EE

    Hi,
    I haven't been able to get a straight answer on this, so hopefully someone can help me.
    We currently have two physical servers, both licensed to run Oracle Database 11gR2 EE, however one is running a cpu-based license (primary server/production) and the other is running a named-user based license (secondary server/soon-to-be-standby server).
    I had no hand in selecting the license model, so this is what I have to work with. So the question is this: With this type of license model differences, can I use Oracle Data Guard?
    Our Oracle software vendor says no because of the differences in the license models.
    Any feedback would be invaluable. Thanks.

    That is so because there is not much to say about it: You create your standby as described in the Data Guard doc (RMAN DUPLICATE)
    Then you ship the Archivelogs to the standby and do recover database there. Technically easy. No higher protection mode possible, though.
    I am no License Specialist, but I think that you will always need some kind of license for the standby database - even if you maintain it this way.
    My recommendation would be to clarify with your company first what your Recovery Point Objective is - can you live with the probably high amount of data loss in case of Disaster on the Primary?
    If not - purchase the correct license and continue with Data Guard Best Practices instead of doing a home grown solution.
    Security is not cheap.
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • Difference between the Data Guard and Stand By

    Hi,
    Can any one specify the difference between the Standy and Data Guarding.
    Since are the Advantages of Data Guarding over the
    User Created Stand By Database.
    Thanks
    Pavan Kumar N

    DataGuard is used to allow you to create and manage standby databases, so I'm not totally clear on your question. If you're using DataGuard, you're creating standby databases.
    Are you talking about the difference between using DataGuard to manage your standby databases rather than writing your own scripts to manage your standby databases? If so, you've got cost issues-- DataGuard requires the enterprise edition, while you could write your own standby scripts using the standard edition. You've got support and testing issues-- if something goes wrong, you're on your own to debug your scripts. If you're using DataGuard, there is a variety of documentation available and a variety of options for support. Oracle has also invested quite a bit of time testing DataGuard with various failure scenarios-- it's likely that you wouldn't have that much time to test your own scripts. On a day-to-day basis, DataGuard provides integration with various monitoring utilities (i.e. Enterprise Manager) and provides a rather nice set of tables to view information about what's going on. DataGuard also provides functionality like the ability to automatically detect and resolve gaps in the archived log files that your scripts would not likely be written to handle.
    And, of course, your scripts could only manage a physical standby database. DataGuard can manage both physical and logical standbys.
    Justin

  • Issues with Using Data Dashboard and Using Web Service

    After running a system for many months it has suddenly decided to not work at all.  I am using Data Dashboard to read variables on a host.  I'll outline the system here to get a baseline:
    I'm running LV 2012 SP1 f5. 
    I collect data from one Ethernet port and interfact it to another Ethernet port to form a proxy.
    I use a fixed IP address from my DSL along with port forwarding/port triggering in my router for data observation and control.
    So, what have I done so far?
    1.  Repaired my original LV 2012 SP1 and tested system.
    2.  Upgraded to LV 2012 SP1 f5 and tested system.
    3.  Ran service.msc and checked all the NI services that should be operational.  Started and stopped several of them and rebooted computer.
    4.  Deployed all my SVs (multiple times)
    5.  Disconnected second Ethernet interface becasue sometimes the variables would deploy to this IP address.
    6.  Turned off my wireless because sometimes the variables would deploy to this IP address.
    7.  Checked "Web Server Configuration" "Application Web Server" for correct port number.
    8.  Checked "Web Services Management" and under "Deployed Web Services" there is one category:  SV is marked as running.  NOTE!!  WebService is NOT listed and this could be a problem
    I can use the following to retrieve data&colon;  localhost:<port number>/sv/variable.  But when I substitute my DSL IP number, I can no longer get any data.
    So, what am I missing?  
    Thanks,
    Paul.

    Siana,
    Thanks for your response.
    I haven't touched the NI code in months.  It is running on an XP laptop and I have the Windows updates turned off.  McAfee is running on it and of course that updates regularily.  This laptop is a dedicated machine that I only use for this function, nothing else.  I haven't added or subtracted any programs for many months.
    There have been no changes to the DSL from me.  AT&T is constantly trying to get us to upgrade to U-Verse but we have resisted.  All DSL modem and router hardware is the same.  
    Confusing, huh?

Maybe you are looking for

  • Email through report

    Hello All, I have done the z report in which i have called a function module so_new_send o send an email. I am able to post an email from report to SOST transaction but from there a mail is not triggered.The status of the email is waiting for communi

  • Recently wiped HD and reinstalled everything; cannot find my apps in iTunes

    After a terribly unpleasant mishap with my old OS; I was forced to wipe my harddrive and start from scratch. So, I repartitioned my drive, set up a dual-boot system with Ubuntu Linux and XP (XP pretty much purely to use iTunes to manage my iPhone 3G)

  • Digital output to switch external hardware

    hello all I am having trouble with error 200077 at a DAQ assistant.  I am trying to output a signal of boolean values (skinny blue wire) but will not "go through" the DAQ board. I see a chart on the front panel that is constantly being updated throug

  • RFQ release strategy

    Hi I have a problem. I use RFQ release strategy but can create PO with reference to not released RFQ. I need to create PO's only with reference to released RFQ, same as with reference to released contract (I can't create PO with reference to not rele

  • JMSconnector is not deployed

    Hi On a NW7.00 based XI system JMS is causing following problem, seen in trace file: java.rmi.RemoteException: Error in getting status of application spmlBatchStatusQueue - JMSConnector : Application sap.com/spmlBatchStatusQueue - JMSConnector is not