Physical Data Guard as Test Database?

I am in a new shop and the first DBA in the shop. On the first day I see that they have ‘tablespace full’ problems because people are running test jobs on the production database – reports, I hope!
This is a 10g database on hp/ux.
I will suggest that I create a proper test database as a physical standby database from production. The amount of data in the production database is not enormous. There is just a need to create a test system good enough to pull the testers off the production system.
But what about the day that someone mangles the test system? How do you get a physical standby database back in sync? Restore from backup and reapply logs? Recreate the standby from production? Or is there a better way to do all this than physical standby?
TYIA

1) Running reports should never cause tablespaces to fill up. Selecting data doesn't cause any data to be written to tablespaces. You might get errors related to exhausting the TEMP tablespace if the reports are doing a lot of sorts, but it doesn't sound like that's what you're seeing.
2) You would not normally create a test database as a standby of the primary database. Normally, you would take a backup of the production database and restore that backup on to the test server, rename the database, and open it up as the test system. Assuming you're using RMAN to back up the production database, this should be relatively straightforward.
3) Normally, you would then schedule a regular restore of the production backup to the test server in order to refresh the test system. That's normally something that's done roughly monthly, but that depends on the frequency of your builds and how frequently you need pristine and/or updated data in the test system. In addition to providing a test system, doing regular restores is a great way to validate your backup and recovery strategy in a relatively low-stress environment-- it's much nicer to discover that the process that writes to tape has been broken for 3 weeks when you're attempting to refresh the test database than when the production database has failed and angry users are standing outside your cube demanding that you get the database up now.
4) Going back to #1, though, if data tablespaces are filling up, that would seem like something that should be investigated in addition to the lack of a test environment.
Justin

Similar Messages

  • How to setup Data guard for SAP database?

    Can someone please tell me how to setup data guard for SAP databases?
    Thanks,
    Abhi

    Hi Abhi,
    have a look at OSS 105047 - Support for Oracle functions in the SAP environment you find this under
    14
    Oracle Data Guard
    You can use "Physical Standby".
    You cannot use "Logical Standby".
    You are allowed to use Fast Start Failover (FSFO) but SAP Support is not provided.
    You can use Data Guard Broker.
    You can use Maximum Performance Mode, Maximum Availability Mode and Maximum Protection Mode.
    In the case of Maximum Availability and Maximum Protection, you must pay particular attention to a fast network connection in order to avoid performance problems.
    Maximum Protection causes the primary database to terminate if problems occur in the standby database.
    And here you find on Oracle white paper from 2010 http://www.oracle.com/us/solutions/sap/wp-ora4sap-dataguard11g-303811.pdf
    Perhaps some SAP user have answers for you http://scn.sap.com/community/oracle/content?query=guard
    regards
    Kay

  • Question related to Physical Data Guard (Oracle 10gR2)

    Hi,
    I have a question regarding Physical Data Guard in a RAC environment (Oracle 10g Release 2).
    Say we have 4-node RAC in production and DG is also configured for RAC but number of nodes differ in production and DG. Which node in DG will apply log from production if?
    1) If there is 2 node RAC setup in DG?
    2) If there is 4 node RAC setup in DG?
    3) If there is 5/6/7/... node RAC setup in DG?
    Probably, this is a very simple and basic question but your expertise would be of great help.
    Regards

    Hi - Only one instance performs the recovery, but more than one standby node can be an archive log destination for the primary instances.

  • Rman clone ? duplicate database ? data guard ? standby database?

    hey there !!
    What is the difference between Rman clone , duplicate database , data Guard , standby db?
    1 more thing , standby database and duplicate database are same??

    RMAN Clone : you take backup of a database on one server ,then take it to other server ,again use RMAN to restore the database,A lot manual intervention is needed in this method
    RMAN DUPLICATE: same as above just that manual intervention is less. With 11gR2 there active database duplication in which you can clone your test database directly from production database without taking and then transferring the backup to test server.
    Standby Database :they are of two types Physical and logical.The setup is done using RMAN with any of the above methods.Standby is the in-sync (can have some delay) version of primary database either block by block which is physical standby configuration or SQL statment wise which is logical standby.
    Data Guard:This is also a standby configuration.Here the failover and switchover are automated with the help of DGMGRL utility.In manual standby this same can be done via SQL*PLUS using sql commands

  • 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

  • Data Guard und restart-database

    Hi experts,
    I did the following activities:
    + defined first a restart standalone database dg1 on the system dwh with Linux RH 5.4/ Oracle 11.2.0.3 -Environment with clusterware.
    + then created a standby database dg2 on the system stb with Linux RH 5.4/ Oracle 11.2.0.3 -Environment with with clusterware.
    + and made a switchover from dg1 to dg2. Now dg2 is primary and dg1 is standby.
    My Problems.
    1/ dg1 does not restart automatically now after system reboots
    2/ dg2 is not automatically restarted, because there is no resource for it defined lócal or in cluster.
    I tried to make them to restart-databases unsuccessfully
    a/ to define dg2 a restart-db on stb :
    [oracle@stb ~]$ srvctl add instance -d dg2 -i dg -n stb
    PRCD-1120 : The resource for database dg2 could not be found.
    PRCR-1001 : Resource ora.dg2.db does not existb/ to add ora.dg2.db as cluster-resource on dwh :
    [grid@dwh ~]$ crsctl add resource ora.dg2.db -type ora.database.type -file /home/grid/dg2
    CRS-0245:  User doesn't have enough privilege to perform the operation
    CRS-4000: Command Add failed, or completed with errors.Where file /home/grid/dg2 contains:
    TYPE=ora.database.type
    STATE=ONLINE
    TARGET=ONLINE
    ACL=owner:oracle:rwx,pgrp:oinstall:rwx,other::r--
    ACTION_FAILURE_TEMPLATE=
    ACTION_SCRIPT=
    ACTIVE_PLACEMENT=1
    AGENT_FILENAME=%CRS_HOME%/bin/oraagent%CRS_EXE_SUFFIX%
    AUTO_START=restore
    CARDINALITY=1
    CARDINALITY_ID=0
    CHECK_INTERVAL=1
    CHECK_TIMEOUT=30
    CLUSTER_DATABASE=false
    CREATION_SEED=222
    DATABASE_TYPE=SINGLE
    DB_UNIQUE_NAME=dg2
    DEFAULT_TEMPLATE=PROPERTY(RESOURCE_CLASS=database) PROPERTY(DB_UNIQUE_NAME= CONCAT(PARSE(%NAME%, ., 2), %USR_ORA_DOMAIN%, .)) ELEMENT(INSTANCE_NAME= %GEN_USR_ORA_INST_NAME%) ELEMENT(DATABASE_TYPE= %DATABASE_TYPE%)
    DEGREE=1
    DESCRIPTION=Oracle Database resource
    ENABLED=1
    FAILOVER_DELAY=0
    FAILURE_INTERVAL=60
    FAILURE_THRESHOLD=1
    GEN_AUDIT_FILE_DEST=/u01/app/oracle/admin/dg2/adump
    GEN_START_OPTIONS=
    GEN_START_OPTIONS@SERVERNAME(stb)=open
    GEN_USR_ORA_INST_NAME=
    GEN_USR_ORA_INST_NAME@SERVERNAME(stb)=dg
    HOSTING_MEMBERS=stb
    ID=ora.dg2.db
    INSTANCE_FAILOVER=1
    LOAD=1
    LOGGING_LEVEL=1
    MANAGEMENT_POLICY=AUTOMATIC
    NLS_LANG=
    NOT_RESTARTING_TEMPLATE=
    OFFLINE_CHECK_INTERVAL=0
    ONLINE_RELOCATION_TIMEOUT=0
    ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/dbhome_1
    ORACLE_HOME_OLD=
    PLACEMENT=restricted
    PROFILE_CHANGE_TEMPLATE=
    RESTART_ATTEMPTS=2
    ROLE=PRIMARY
    SCRIPT_TIMEOUT=60
    SERVER_POOLS=
    SPFILE=
    START_DEPENDENCIES=weak(type:ora.listener.type,uniform:ora.ons)
    START_TIMEOUT=600
    STATE_CHANGE_TEMPLATE=
    STOP_DEPENDENCIES=
    STOP_TIMEOUT=600
    TYPE_VERSION=3.2
    UPTIME_THRESHOLD=1h
    USR_ORA_DB_NAME=dg
    USR_ORA_DOMAIN=
    USR_ORA_ENV=
    USR_ORA_FLAGS=
    USR_ORA_INST_NAME=dg
    USR_ORA_OPEN_MODE=open
    USR_ORA_OPI=false
    USR_ORA_STOP_MODE=immediate
    VERSION=11.2.0.3.0.My Questions:
    1/ What I have done wrong?
    2/ Are there simple solultions?
    Thanks and regards
    hqt200475

    Hello;
    PRCD-1120 and PRCR-1001 the reason for these is raccheck is not able to list this database.
    double check you name :
    Select name from v$database;
    Use crs_stat to see if you name if correct and if the database is offline.
    I'm thinking registered with the cluster is in OFFLINE state.
    crsctl setperm resource <resource_name> -o oracle
    crsctl setperm resource <resource_name> -g oinstall
    Not really a Data Guard issue, more of a Clusterware issue. ( I say this because Clusterware is getting out of my area )
    I think it a bug, but I cannot find the bug number.
    May help :
    http://oracleexamples.wordpress.com/tag/srvctl-add-service/
    Reconfiguring & Recreating The 11gR2 Restart/OHAS/SIHA Stack Configuration (Standalone). [ID 1422517.1]
    Resources in OCR Are not Cleaned up Completely After Database ORACLE_HOME De-Install [ID 1108023.1]
    How to Delete From or Add Resource to OCR in Oracle Clusterware [ID 1069369.1]
    Best Regards
    mseberg
    Edited by: mseberg on Apr 23, 2012 7:43 AM

  • 11g Data Guard --ORA-01103: database name 'PRIM' in control file is not 'ST

    Dear all,
    From no mount stage i am trying to bring the db in mount stage in standby database
    SQL> alter database mount standby database;
    alter database mount standby database
    ERROR at line 1:
    ORA-01103: database name 'PRIM' in control file is not 'STANDBY'
    What is this problem ?
    I have taken standby control from from standby database and places with datafile's and removed the orginal control file. and added this standby.ora file in parameter file also (pfile).
    the Primary database name is PRIM and standby database name is STANDBY.
    This is my first time doing this data guard configuration kindly let me know what i have to do at this above mentioned stage ..
    Regards
    Hamid

    Standby DB init file
    prim.__db_cache_size=536870912
    prim.__java_pool_size=8388608
    prim.__large_pool_size=8388608
    prim.__oracle_base='F:\standby'#ORACLE_BASE set from environment
    prim.__pga_aggregate_target=520093696
    prim.__sga_target=771751936
    prim.__shared_io_pool_size=0
    prim.__shared_pool_size=209715200
    prim.__streams_pool_size=0
    audit_file_dest='F:\standby\admin\standby\adump'
    audit_trail='db'
    compatible='11.2.0.0.0'
    control_files='F:\standby\oradata\standby\STANDBY.ctl'
    db_block_size=8192
    db_domain='AKEETECH.COM'
    db_name='prim'
    db_recovery_file_dest='F:\standby\flash_recovery_area'
    db_recovery_file_dest_size=4039114752
    diagnostic_dest='F:\standby'
    dispatchers='(PROTOCOL=TCP) (SERVICE=standbyXDB)'
    fal_client='standby'
    fal_server='prim'
    local_listener='LISTENER_PRIM'
    memory_target=1288699904
    open_cursors=300
    processes=150
    remote_login_passwordfile='EXCLUSIVE'
    standby_file_management='auto'
    undo_tablespace='UNDOTBS1'
    standby_file_management=auto
    fal_server=prim
    fal_client=standby
    Primary Db Init file
    prim.__db_cache_size=536870912
    prim.__java_pool_size=8388608
    prim.__large_pool_size=8388608
    prim.__oracle_base='D:\Primary'#ORACLE_BASE set from environment
    prim.__pga_aggregate_target=520093696
    prim.__sga_target=771751936
    prim.__shared_io_pool_size=0
    prim.__shared_pool_size=209715200
    prim.__streams_pool_size=0
    *.audit_file_dest='D:\Primary\admin\prim\adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='D:\Primary\oradata\prim\control01.ctl','D:\Primary\flash_recovery_area\prim\control02.ctl'
    *.db_block_size=8192
    *.db_domain='AKEETECH.COM'
    *.db_name='prim'
    *.db_recovery_file_dest='D:\Primary\flash_recovery_area'
    *.db_recovery_file_dest_size=4039114752
    *.diagnostic_dest='D:\Primary'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=primXDB)'
    *.local_listener='LISTENER_PRIM'
    *.memory_target=1288699904
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_tablespace='UNDOTBS1'
    standby_file_management=auto
    fal_server=prim
    fal_client=standby
    Steps i have followed till now.
    1) Created standby control file in primary in mount stage (STANDBY.CTL)
    2) Installed 11g DB software alone in standby location
    3) Shutdown the Primary DB and Taken cold back of all the other files and copied in Standby DB location (Primary in D:\ Drive and Standby in F:\ Drive )
    4) Edited init parameters in Primary and standby
    5) Startup no mount pfile= standby db init file ( its started )
    6) SQL> alter database mount standby database; --- at this time i got the error i have mentioned above, so i have changed the db_name same in both init.ora files
    7)
    Up to this step i have done .. but this is all blindly.. not in clear understanding..
    Kindly guide me.. step by step configuration..
    Regards
    Hamid

  • EBS 11i (11i.10.2) Data Guard Switchover testing with Database 10gR2.

    In my new job, I have to test DG switchover and with EBS 11i.
    I know the database switchover part very well, but I don't know what needs to be done for 11i applications after switching from primary server to the standby server.
    Please guide me what steps/procedures needs to be followed to switchover 11i applications to the standby site after the database switched over to standby database?
    Both the database and the 11i applications installed on primary Linux server and the same architecture on the separate secondary Linux server.
    Thanks,

    Please also see:
    Business Continuity for Oracle E-Business Release 11i Using Oracle 11g Physical Standby Database - Single Instance and Oracle RAC [ID 1068913.1]
    Oracle E-Business Suite Release 11i High Availability Documentation Roadmap [ID 1072807.1
    Thanks,
    Hussein                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Data Guard or Standby Database

    Hi all,
    Im confused about "physical standby" and "logical standby". Can an entire database export be logical standby? Or the logical standby is only the output of RMAN backup.
    Thanks

    Physical Standby
    A physical standby database is kept synchronized with the primary database, through Redo Apply i.e., block-to-block transfer which recovers the redo data received from the primary database and applies the redo to the physical standby database.
    The database schema, including indexes, are the same.
    Logical Standby
    The logical standby database is kept synchronized with the primary database though SQL Apply, which transforms the data in the redo received from the primary database into SQL statements and then executing the SQL statements on the standby database.
    In Logical standby the physical oraganization and structure will be different.
    The below link helps you to know much about the difference between Physical and Logical Standby.
    http://www.dba-oracle.com/t_difference_logical_physical_standby_database.htm ----------by Burleson
    Hope it would be helpful. :)

  • How to add dummy data to my test database ? from a newbie in need of help

    Hi all
    I am pretty new to oracle and i would like to mess around with it some more i just created my database (MVF) and created an test tablespace.
    The question now is what would be the best way to fill the tablespace with data ? can i just insert some lines in the tablespace ? or are there any more efficiënt ways of doing this ?
    Maybe someone who could provide me an pl/sql script for it ? or an procedure what would do this (insert x amount of dummy data) on regular intervals ?
    Many thanks in advance !!
    (ps this is my first post so please excuse me if my post is not according to the regular guide lines)
    Edited by: 994141 on 15-mrt-2013 12:38

    994141 wrote:
    Hi all
    I am pretty new to oracle and i would like to mess around with it some more Welcome to the forum and to the world of Oracle.
    =================================================
    Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to [url tahiti.oracle.com]tahiti.oracle.com.
    Locate the link for your Oracle product and version, and click on it.
    You are now at the entire documentation set for your selected Oracle product and version.
    <b><i><u>BOOKMARK THAT LOCATION</u></i></b>
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab (for 10.x) or the "Master Book List" link (for 11.x) you will find the complete documentation library.
    Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
    =================================
    <snip>

  • Anyone has experience using 9i data guard for standby database??

    I'll be appreciate if you let me know how you set it up, thanks...

    Hi --
    Aperture is extremely flexible.  You have unlimited use of Keywords.  Additional built-in tags are
    - Ratings (7 levels, easily shown with Images)
    - Color Labels (8 labels, easily shown with Images)
    - Location (assigned or based on GPS, has own interface)
    - Faces (Aperture comes with a useful face recognition engine, own interface)
    - Custom metadata fields (e.g.: Purchaser)
    - etc.
    It's organizing abilities are second to none in its class (including Lightroom, Capture One Pro).
    Provide some details about your research project, and I'm sure we can comment specifically rather than generally.
    --Kirby.

  • Read-only agent synching to a Data Guard physical standby?

    Hi all,
    we are trying to use TimesTen 11.2.2.4.1 as a read-only memory cache for an Oracle 11.2.3.0.7 schema on Linus RedHat 6.3, while using Oracle Data Guard to replicate the Oracle instance over geographically remote sites. On each site we would like to have two TT instances synchronizing with the local Oracle 11g instance. This works fine against the master DB, but are the TT agents going to be able to synchronize against physical standby instances?
    The problem it seems is that the TT agent uses dedicated structures in the Oracle master instance (related to the cache grid), which are going to be replicated into the standby instances. Is  the TT agent able to use the read-only, replicated structures to complete synchronization, or is this approach unworkable? What would be your advise as how to achieve this?
    Thanks for your help,
    Chris

    Hi again,
    so after testing a little bit it appears that this approach works indeed, at least against a limited number of manual DML operations. What I needed to do on the slave instance to have it working is the following:
    1 - Entirely exclude TTADMIN and TIMESTEN schemas from the Data Guard replication:
    ALTER DATABASE STOP LOGICAL STANDBY APPLY;
    execute dbms_logstdby.skip(stmt => 'SCHEMA_DDL', schema_name => 'TTADMIN', object_name => '%');
    execute dbms_logstdby.skip(stmt => 'SCHEMA_DDL', schema_name => 'TIMESTEN', object_name => '%');
    execute dbms_logstdby.skip(stmt => 'DML', schema_name => 'TTADMIN', object_name => '%');
    execute dbms_logstdby.skip(stmt => 'DML', schema_name => 'TIMESTEN', object_name => '%');
    ALTER DATABASE START LOGICAL STANDBY APPLY IMMEDIATE;
    2 - Erase both schemas from the local instance:
    DROP USER TTADMIN CASCADE;
    DROP USER TIMESTEN CASCADE;
    CREATE USER TTADMIN etc
    3 - Temporarily disable the database guard while creating the local ttCache structures, as the scripts seem to need to set a table-level lock on the source table:
    ALTER DATABASE GUARD NONE;
    ttIsql> CREATE READONLY CACHE GROUP etc
    ALTER DATABASE GUARD STANDBY;
    4 - Unset the "Fire_Once_Only" property for the local TTADMIN triggers:
    execute dbms_ddl.set_trigger_firing_property(trig_owner=> 'TTADMIN', trig_name=> 'TT_06_70560_T', fire_once => FALSE);
    At that point the cache seems to replicate properly in the most simple cases. I will try to test with some substantial load and against DG failovers to see how this behaves.
    Regards,
    Chris

  • 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

  • Backuping up a standby database in a Data Guard environment!

    Hello everyone,
    I have set a Data Guard in Oralce 10.2.0 between 2 databases for testing purposes. Each database is located on a different server. I want to schedule an incremental backup of the standby database to do an incremental level_1 backup everyday. I am following this paper:
    [Using Recovery Manager with Oracle Data Guard in Oracle Database 10g|http://www.oracle.com/technetwork/database/features/availability/rman-dataguard-10g-wp-1-129486.pdf]
    but it's really unclear, for me, how this command sequence is constructed:
    RECOVER COPY OF DATABASE WITH TAG ‘OSS’;
    BACKUP DEVICE TYPE DISK INCREMENTAL LEVEL 1 FOR
    RECOVER OF COPY WITH TAG ‘OSS’ DATABASE;
    BACKUP ARCHIVELOG ALL NOT BACKED UP TO SBT;
    BACKUP BACKUPSET ALL;How can I recover a copy of database that wasn't backed up before? When I did that in RMAN, I got the following output:
    Starting recover at 03-APR-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=159 devtype=DISK
    no copy of datafile 1 found to recover
    no copy of datafile 2 found to recover
    no copy of datafile 3 found to recover
    no copy of datafile 4 found to recover
    no copy of datafile 5 found to recover
    Finished recover at 03-APR-11Could anyone please help me understanding this sequence of commands in a simple way to get a better idea of how to backup a standby database?
    Thanks in advance...

    On the first day, there is no backup to recover. It is only on the third day's run that this command will really be successful.
    The white paper does explain this.
    Hemant K Chitale

  • Database issues after starting data guard

    Hi. We run OEM12c in Linux. All is working well and we monitor several targets and DBs.
    In our QA db server, sun solaris 11 running oracle 10g, we started to test data guard configuration for several instances we are running there. our standy server is called STDBY. All works fine, but now we have a problem managing some aspects of data guard with OEM12c.
    First problem is that the instances appear as SID_IPaddress of server, as opposed as DB_UNIQUENAME.DB_DOMAIN. curiously enough, the std by copy, appears correctly (SID_sbyp.db_domain)... This is very puzzling...
    Second problem is when we try to access the Data Guard performance pane, it fails showing (both in primary and secondary DBs)
    Data Guard Internal Error : See the OMS log for details.
    No clue where to look for this problem.
    All other functions, TOP, performance home, etc... look fine.

    Hi ,
    Regarding "Data Guard Internal Error : See the OMS log for details"
    Follow the below steps
    On the Data Guard Page run the 'Verify Configuration'-Option twice. The first Execution will show an Output like
    Initializing
    Connected to instance test.oracle.com:mydb
    Starting alert log monitor...
    Updating Data Guard link on database homepage...
    WARNING: Broker name (mytest) and target name (mydb) do not match.
    WARNING: The broker name will be renamed to match the target name.
    Skipping verification of fast-start failover static services check.
    Data Protection Settings:
    Protection mode : Maximum Performance
    Redo Transport Mode settings:
    pnjpcep1: ASYNC
    cnjpcep1: ASYNC
    Checking standby redo log files.....not checked due to broker name mismatch. Run verify again.
    Checking Data Guard status
    mydb : Normal
    my11g : Normal
    Tthe second Execution does not show this Warning any more, ie. it got fixed during the first Execution. Now it's possible to access the Data Guard Performance Page without Errors and you can see the Statistics.
    Ref
    Cloud Control: "Data Guard Internal Error" raised on Data Guard Performance Page (Doc ID 1484028.1)
    Regards,
    Rahul

Maybe you are looking for

  • Samsung SSD 840EVO not booting from macbook pro mid 2012 after cloning

    Hello there, I guess i'm so stuck with the SSD that i have purchased. Here is the details: SSD - Samsung SSD 840 Evo 250GB MacBook Pro - 13-inch, Mid 2012 Model Identifier: MacBookPro9,2 Processor  2.5 GHz Intel Core i5 Memory  16 GB 1600 MHz DDR3 Gr

  • J2ME Help required (URGENT !!!)

    Hello everyone, Well I'm a newbie to this J2ME thing, I am working on a project right now which requires me to develop an application for my mobile phone Sony Ericsson W810i. This application accesses the on board camera and take images after every 1

  • Strange BPEL behaviour - no mismatch detected

    Hi. I am facing to this problem. I define      <element name="msgPushRequest">           <complexType>                <sequence>                     <element name="name" type="string"/>                     <element name="type" type="string"/>        

  • I can't activate my phone, heeellppp

    my SD card unmounted all of a sudden and my phone said it didn't have any service. since i had this problem with this same phone a while back, i reformated my SD card again and I reset my whole phone but now I cant activate my phone because it says i

  • Tracks listed but don't play

    I have created a playlist that includes some spoken tracks. All of the tracks play as intended through itunes. However, when I sync my ipod, all tracks show up but not all of the spoken tracks play. They were all downloaded from the same site and are