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.

Similar Messages

  • 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

  • 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

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

  • Difference between oracle Data Guard and Replication

    Hello Friends,
    I would like to know the main difference between oracle replication and data guard. Theoretically both are same then where is the difference. Can replication or dataguard be configured in a single PC.
    Thanks

    Dataguard :
    Oracle Data Guard is primarily for high availability, data protection, and disaster recovery. An Oracle Data Guard Standby instance provides transactionally consistent copies of the production database, in the event of an unplanned outage or instance maintenance the Data Guard Primary Role Standby Role can be switched so the Standby instance can provide Production services.
    Replication :
    Oracle Advanced Replication and Oracle Streams are Oracle's solution for replicating data and internal structures to remote databases. Advanced Replication is primarily trigger based where Streams is a rule/handler based replication process and considerably more efficient and less error prone than Advanced Replication
    refer,
    http://www.xtivia.com/database-management/replication/oracle-replication
    Thanks

  • Active Data Guard and Undo and ora-01555

    Hi
    We have an 11.1.0.7 two-node RAC primary with a single instance Active Data Guard physical standby. When running a datapump export from the standby, we get an ORA-01555 although the undo_retention is set way beyond the run time for the export.
    I'm looking to better understand undo within the context of Active Data Guard. Is there any dependency for undo between the primary(s) and standby? Are the undo settings (undo_retention, undo tablespace size..) on the primary and standby independent of each other?
    Thanks.

    The standby is a Physical Standby. An exact copy of the Primary. The undo at the standby is controlled by the redo coming from the Primary. When the undo gets overwritten at the Primary it gets overwritten at the standby regardless of what is running there. You can't have undo kept around longer at the standby, it is an EXACT copy of the Primary.
    Increasing the undo tablespace and the undo_retention at the Primary will allow more undo to be kept at both the Primary and the Standby but the standby is still controlled by the Primary's management of the undo. Of course you should change the parameter at the standby too so that everything behaves the same when you make the standby a Primary database.
    Hope this helps.
    Larry

  • 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

  • Data Guard and LOBs

    Hi, this is my first post.
    I have Oracle9i Enterprise Edition Release 9.2.0.5.0 and my OS is AIX 5.2
    I have a Primary Database with a Standby database. I want to know if Data Guard can transport to the standby database the tables with LOBs fields created in my primary database.
    Thanks.

    Physical Standby : yes. Logical standby: not sure. I would need to query the Dataguard Concepts and Administration Manual, where this is documented.
    Sybrand Bakker
    Senior Oracle DBA

  • 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

  • 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

  • What's the difference between data guard and replication?

    Thanks.

    Replication is the process of copying and maintaining database objects, such as tables, in multiple databases that make up a distributed database system. Changes applied at one site are captured and stored locally before being forwarded and applied at each of the remote locations.
    Data Guard provides an extensive set of data protection and disaster recovery features to help you to survive disasters, human errors, and corruptions that can incapacitate a database.
    For more information on Replication refer to http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96567/toc.htm
    For more information on Data Guard refer to http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96653/toc.htm
    Hope this helps.
    Sujatha.

  • Difference between data guard and active data guard

    As in subject. Can we paid for both products?

    >
    Is this only one difference between this Data Guards?
    >
    The one (active DG) is an additional feature of the other (DG)
    >
    BTW, is that mean that Data Guard in each version (9-11) is free on EE?
    >
    Yes - but you need to license the Standby Database. So it is not really "free" - but you better ask that our sales people :-)
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • Data Guard and Standby - howto shutdown servers and bring them up again

    Hi,
    i just finalized a installation where i installed 3 servers
    1st server (windows 2003 x64) primary database 11g
    2nd server (windows 2003 x64) phys. standby database 11g - created by grid control
    3rd server (windows 2003 x32) em grid control 10.2.0.5
    after i created the standby database everything is working fine - all logs applied - no errors at all
    all agents are running
    after i restarted all 3 servers the primary database came up and also the grid control
    but the standby database is not up - only the agent is running
    the listener-service and the database-service are in startmode "manual"
    why does the agent did not start the standby ?
    i 've got some errors in grid-control ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect....
    and in the tnsnames of the primary-db there are no entries for the standby
    i have an empty tnsnames.ora on the standby
    any idea how to solve this
    regards
    peter

    Hi,
    it is not about starting the database.
    i was wondering that during the installation of
    standby by gidcontrol, on the standby and primery server, there were
    no entries for the primery or the standby in tnsnames.ora
    if i reboot the standby machine i have to start the standby
    database by
    "STARTUP MOUNT;
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT FROM SESSION;
    --> right ??
    but gridcontrol gives some errors ORA-12514
    do i have to add the tnsnames-entries for the standby on the primary
    manualy or should have this been done by the gridcontol-configuration - because
    this wasn't done ...
    also the listener on the standby is in manual startup mode
    Do i have to start it to work for the standby ???
    thanks
    peter

  • Data Guard and application upgrade

    Hi,
    Is it possible to upgrade our application schema with no downtime by using a logical or physical standby database?
    Since the application is upgraded several times per year it would be nice to have standardized upgrade routines where we don't have to manually analyze if the upgrade will be successful.

    Yes, of course - should have mentioned the versions:
    Oracle 10.2.0.3
    IBM AIX 5.3
    As far as I can see there's no way to upgrade the application and then apply the redo logs from the older version, ie:
    - Turn of redo apply on secondary instance
    - Upgrade secondary instance (DDL) while the users continue working in the primary instance.
    - Make the secondary instance primary
    - Now we would like to apply the redo logs from the primary instance but often this isn't possible because the table structures in the secondary instance has changed during the upgrade.
    - Maek the secondary instance primary and let the users log on
    - Upgrade the former primary instance
    - Turn on the redo log apply between primary and secondary instance.
    - Done

Maybe you are looking for

  • Hyper-V 2012 R2 - Linux Guest VLAN Settings lost after reboot

    Hi Guys, last night a have seen a strange behavior with a Sophos UTM 9.204020 Linux Guest VM. (This VM is based on SUSE SLES v11? i think) So i have Setup this in my home lab and experienced the same problem. ----Setup----- 2 External VM Switches Man

  • HP DV4-1225DX Vista to Win 7

    Hello, I have owned a HP DV4 laptop for a while now, So yesterday I decided to reinstall everything with Recovery partition.  The Laptop originally came with Windows Vista, but i received free HP upgrade to Windows 7 home premium a while back. So whe

  • Embeddable Fonts for EPUB?

    I'm using ID CS6 to create EPUBs. When I try to export anything other than the usual Times New Roman, or other basic fonts, the fonts don't show up in the exported EPUB. For instance, I've tried using Minion Pro, Warnock, Lucida, etc. and all I get a

  • Rumor confirmed:  CS4 will remain 32-bit for Mac, but will be 64-bit in Windows

    Photoshop, Lightroom, and Adobe's 64-bit roadmap http://blogs.adobe.com/jnack/ CS4 will remain 32-bit for Mac, but will be 64-bit in Windows.

  • Tried to upgrade to iOS 5 and keep getting error message 1611.

    I plug in my iPad and try to upgrade to the new iOS 5 and it restored the iPad and now I'm getting error message 1611 and it won't even let me use my iPad right now, it's stuck at the start screen with the sync cord and iTunes logo... HELP...