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

Similar Messages

  • 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

  • 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

  • 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

  • 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 are the pros and cons using Active Data Guard vs Data Guard?

    My understanding is that Active Data Guard is an additional database option for Oracle 11gR2 Enterprise Edition. I need to know the pros and cons using Active Data Guard vs Data Guard in order to decide whether to get pay extra for the Active Data Guard.
    Thanks for any help.

    Hemant K Chitale wrote:
    Before jumping in to Active Data Guard, one needs to evaluate :
    a. Is there really a need to run queries on the Standby ? The Standby could / should be at a remote site so queries are "across the network". Depending on the nature of the queries and the volume of output, the "performance" of the queries may not seem to be the same.
    b. If the database is not in Maximum Protection mode, the data "seen" at the standby may not be in "real-time" synch
    c. Not all applications are truely read-only when querying. Some applications use "jobs" that write to tables when querying. Such would not work with Active DataGuard. (example : EBusiness Suite). There are very complicated ways of handling this -- and one needs to consider if the complications can be introduced and supported.
    Over the network accessing standby read only is really not an good idea, I think no one will compare performance with primary and standby,
    But some of them they want to validate data which are very critical, as it is matching with primary or not, Its an added advantage with ACTIVE DATAGUARD
    Prior to that until unless stop MRP, open database and then we need to validate, So there is an interruption of recovery, I can say its also an advantage where there is no interruption of recovery.

  • How to configure Enterprise Manager in Active Data Guard?

    Hi,
    I have installed oracle 11g r2 rac with asm in two nodes. OS is hp-Unix.
    I have installed oracle11g Active Data Guard using Single alone Database.
    Both RAc and Active Data Guard works fine.
    I have not configure Data Guard Broker.
    Question: How to configure Enterprise Manager in Active Data Guard?
    Thanks
    Solaiman

    http://www.gokhanatil.com/2012/04/manage-your-existing-data-guards-with.html

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

  • 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

  • Oracle11g R2 Active Data guard using ASM Problem?

    I have configured oracle11g r2 RAC on 2 notes using ASM Grid ( OS unix).
    RAC is up and running.
    Now I am configuring Active data Guard.
    Under grid user instance +ASM and listener is running.
    Under oracle user static listener is running.
    All disk is mounted.
    Oracle RAC and Data Guard directory and structure I have keeped same.
    Now my problem is below:
    $ ./rman target sys/HPinvent123nbl@dcpdb AUXILIARY sys/HPinvent123nbl@drpdb
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Jan 16 16:28:32 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: DCPDB (DBID=316773134)
    connected to auxiliary database: DRPDB (not mounted)
    RMAN> duplicate target database for standby from active database;
    Starting Duplicate Db at 16-JAN-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=5644 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u02/app/oracle/product/11.2.0/dbhome_1/dbs/orapwdcpdb1' auxiliary format
    '/u02/app/oracle/product/11.2.0/dbhome_1/dbs/orapwdrpdb' ;
    executing Memory Script
    Starting backup at 16-JAN-13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=1897 instance=dcpdb1 device type=DISK
    Finished backup at 16-JAN-13
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/16/2013 16:28:48
    RMAN-06136: ORACLE error from auxiliary database: ORA-00200: control file could not be created
    ORA-00202: control file: '+data'
    ORA-17502: ksfdcre:4 Failed to create file +data
    ORA-15001: diskgroup "DATA" does not exist or is not mounted
    ORA-15055: unable to connect to ASM instance
    ORA-01031: insufficient privileges
    RMAN>
    Please help.\
    Thanks
    Solaiman

    root@drpdb1 []# id oracle
    uid=108(oracle) gid=700(oinstall) groups=701(dba)
    root@drpdb1 []# id grid
    uid=109(grid) gid=700(oinstall) groups=701(dba),702(asmdba)
    Edited by: 876149 on Jan 16, 2013 3:19 AM

  • RMAN and 11g Active Data Guard

    I just build my first 11g Active Data Guard . . . well the next thing to do is the RMAN part.
    At this point I want to know:
    A) How/What do you query to know that a log has been applied on the Standby side
    B) How does RMAN know what has been applied
    C) If I do the RMAN backup on the Standby side, won't there always be some difference because there is always some delay between the Primary and Standby?

    I presume you mean using RMAN to delete archive logs? If the log hasnt been shipped and applied to the standby yet RMAN wont remove it, instead it outputs the following error:
    RMAN-08137: WARNING: archive log not deleted as it is still needed
    Until the log has been applied on the standby, this intelligence is built in at 11G (at 10G you needed an "_" parameter to get this working).
    Thanks
    Paul

  • Active Data Guard in different database versions (11.2.0.3  and 11.2.0.4)

    In case of Active Data Guard can i run different database versions (11.2.0.3  and 11.2.0.4) at Primary and DR for production environment ?  And will having RAC in environment make any difference?

    Hi,
    >>In case of Active Data Guard can i run different database versions (11.2.0.3  and 11.2.0.4) at Primary and DR for production environment ?
    As per normal Data Guard requirement, Oracle 11.2 does support flexibility where Primary and Standby may have different hard wares such as CPU architecture and OS etc. but the Oracle RDBMS software version must be the same. Having said so does not mean it will not support it. Beginning with 11.1.07, a physical standby database can be used to execute a rolling database upgrade to a new Oracle Patch Set or database release by using the transient logical rolling database upgrade process. It means you can have with different database version but for how long, you need to check above documents.. For complete information you should read this note:
    Data Guard Support for Heterogeneous Primary and Physical Standbys in Same Data Guard Configuration (Doc ID 413484.1)  &
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-transientlogicalrollingu-1-131927.pdf
    2) >> And will having RAC in environment make any difference?
    NO.   You can find answer at -  https://docs.oracle.com/cd/E11882_01/server.112/e41134/standby.htm#SBYDB4716
    **The primary database can be a single instance database or an Oracle Real Application Clusters (Oracle RAC) database. The standby databases can be single instance databases or Oracle RAC databases.
    HTH,
    Pradeep

  • Oracle E-Business Suite and Active data guard

    Hi,
    I'm looking to setup current E-business Suite R12.1.3 application without any down time. I've Primary Data Center and Secondary Data Center. I would like to setup seamless failover to another secondary data center in case of 1st data center failure.
    Can be this achieved by using Active Data guard? If not what would be best solution? In case of active data guard can I failover site to secondary data center and apply patches on primary site?
    I want to acheive 100% availability of application. Any suggestions are welcome!
    Thanks

    user587327 wrote:
    Hi,
    I'm looking to setup current E-business Suite R12.1.3 application without any down time. I've Primary Data Center and Secondary Data Center. I would like to setup seamless failover to another secondary data center in case of 1st data center failure.
    Can be this achieved by using Active Data guard? If not what would be best solution? In case of active data guard can I failover site to secondary data center and apply patches on primary site?
    I want to acheive 100% availability of application. Any suggestions are welcome!
    ThanksPlease refer to these docs.
    Business Continuity for Oracle E-Business Release 12 Using Oracle 11g Physical Standby Database [ID 1070033.1]
    Using Active Data Guard Reporting with Oracle E-Business Suite Release 12.1 and Oracle Database 11g [ID 1070491.1]
    Oracle E-Business Suite Release 12 High Availability Documentation Roadmap [ID 1072636.1]
    Thanks,
    Hussein

  • Active Data Guard VS Golden Gate

    Hi Experts,
    I am looking for High Availability and Disaster Recovery architecture for my data layer i.e. Oracle Database 11g R2
    We have two physical locations and the distance between two sites is around 20 miles.
    Site 1:
    We already implemented RAC setup with two node in site 1.
    Site 2:
    We are going to implement standalone database. (Not RAC)
    My requirements:
    1. Both databases at Site 1 & Site 2 should be replica of each other.
    2. Both databases should be in sync always.
    3. Site 1 is active and Site 2 is stand by.
    4. Client applications on Site 1 & Site 2 should always talk to RAC database on Site1.
    5.. If RAC at site 1 goes down completely, then ONLY client apps should connect to Site2 database without human intervention.
    How can acheive my requirement ? I was doing some research & found two solutions. 1. Active Data Guard 2. Golden Gate.
    Questions:
    1. Do Data Guard and Golden Gate offers same features ?
    2. Which products offers solutions to all my requirements or Do I need to use both ?
    3. If Data Guard and Golden Gate are different from each other then What is the difference between them and what are the overlapping features among them ?
    Thanks

    Hi;
    Both tool are HA tool. Please see below link
    Thanks for the question regarding "Data guard vs Streams vs GoldenGate", version 11.2.0.2
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:3349335100346299316
    Golden Gate versus Data Guard for replication
    Golden Gate versus Data Guard for replication
    If you have still question please update thread
    Regard
    Helios

  • Urgent  : ORA-01426: numeric overflow on oracle 11g  Active Data Guard

    Hi
    I have configured Active Data Guard on oracle 11g, for reporting purpose we will select mutliple querry on target side(10 users). we are getting 'numeric overflow erro'r on alert log file When we issuing multiple query on target side. PLeae let me know is this error will cause performance degrad. if it will degrade performance mean please tell me how to resolve this problem. Why the numeric overflow is comming . and it is not comming in the primary database, it is comming in standby database only. please any one help it is very urgent
    is there any parameter To overcome this problme
    Please please it is very important to me and very urgent .
    Thanks
    nafees
    Edited by: Nafees on Jan 1, 2009 3:44 AM
    Edited by: Nafees on Jan 1, 2009 3:54 AM

    There is no one drowning.
    Your house is not on fire.
    The volcano has not exploded.
    Please apologize for abusing this forum by claiming your issue is more urgent than other people's requests.
    Then, and only then, should anyone help you. I know I certainly won't until I read your sincere apology and promise not to be abusive in the future.

Maybe you are looking for

  • BAPI_SALESORDER_CREATEFROMDAT2 is not carrying out pricing for variant config materials

    Hi Guys I need to create a BAPI to create sales orders coming in through a web service from an external system, for normal materials all works well, but for variant config materials the pricing is not happening, like the way it does when I manually c

  • How to save message into internal table?

    Hi,everyone! I have a problem when I'm coding.I want to store messages into a internal table.Can you help me? Thanks!

  • HOW TO SEND SAP INBOX TRANSACTION  AS A LINK TO OUTLOOK MAIL IN WORKFLOW

    Hi , I hav a reqirement following. Thing is I need to send SAP INBOX transation as  a link to outlook  mail... once clicking tat link user enter to SAP inbox for further option is task complete/edit.... Please tel the step achive this.... REPLAY ASAP

  • Would 3D designer work in China??

    Hello, every one, we have a position available, but the work place should be in Beijing China, would you a 3D designer work in China?? Here is the details about this position! Company name: Zhongjia Company address: Beijing Position: Creative Directo

  • Connecting to remote oracle server from asp

    Hi All How can I access remote oracle server from asp?. I'm using the following connection string. " Provider=MS Remote;Remote Provider=MSDAORA;Data Source=XYZ;Remote Server=http://DBServersIP;User Id=id;Password=pw" Both the web server and DB server