Creation of logical standby by shipping the  redologs from physical standby

Hi all,
I have to create a logical standby database using redo shipping from my PHYSICAL STANDBY while it is in mounted state .Is it really possible to do it??
Please send me any docs regarding this to my mail id ([email protected])
Thanx in advance

It is possible to do what you ask by using cascaded destinations. See the Data Guard Manual (online at OTN) http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14239/cascade_appx.htm#i636046
for the information. This relies on the standby creating and re-transmitting redo log data.
Hope this helps

Similar Messages

  • Creation of logical standby in 9i from physical standby

    Hi all,
    I want to create logical standby from physical standby in 9i. can anyone send a doc for this

    As per the Oracle documents "You create a logical standby database by first creating a physical standby database and then transitioning it to a logical standby database"
    Please take a look at the below URL.
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ls.htm
    Regards,
    Sabdar Syed.

  • Using streams to capture data from physical standby database.

    Does anybody know if it is possible to use streams to capture data from physical standby database instead of PROD database? The standby database is in read only mode. We use Oracle 11gR2.
    Thanks in advance.

    physical are closed : how will it managed the queues and overspill queues when target is not present? Also the data dictionary must reflect the primary but If you run capture, then you introduce rules that are not on primary: How ?

  • Error occurred when view the data from physical layer

    Hi ,
    I have created system  DSN like "demo1" for excel file. After that i import the excel file into administration tool.
    after that i want to view the data from physical layer. At that time ,I am getting following error .
    Please resolve this issue.
    Thanks in advance,

    hi ashok,
    u can push data from  psa to ods, for this goto the psa in rsa1>psa>goto that request>rightclick>select " schedule update Immediately ", then data will moved from psa to ods.
                                                 or
    In ods > delete the failed request>goto the processing tab-->select 3rd option   " psa and then subsequentially to data targets ", --> schedule the infopackage.
    bye
    sunil

  • Transport Tablespace from Physical Standby in Oracle 10gr2 - 64 Bit

    Hi,
    How to Export Transport Tablespaces from Physical Standby Server - Oracle 10gr2 EE in Windows 2003 EE, Since Production Servers are in 24*7 Support to avoid make Read Only Tablespaces.
    Regards
    Harish

    Open your Physical Standby in read only mode and do your export. Then mount it back in managed recovery mode.

  • Status of Logical Standby In case of Failover to Physical Standby

    I am using oracle 9.2.0.8 database . I have one logical and one physical standby database in place. If I perform failover to my physical standby, will my logical standby still continue to work with new primary database?

    Thank you for your kind reply.
    I performed failover to my physical standby and now archives are going on my logical standby from new primary but changes are not getting applied on my logical standby database.
    when i tried to register the logical logfile from new primary on my logical standby i am getting following error.
    SQL> ALTER DATABASE REGISTER LOGICAL LOGFILE 'E:\orcl1\stdb\archives\TESTDBT001S00001.ARC';
    ALTER DATABASE REGISTER LOGICAL LOGFILE 'E:\orcl1\stdb\archives\TESTDBT001S00001.ARC'
    ERROR at line 1:
    ORA-01287: file is from a different database incarnation

  • Redologs in physical standby database

    The MRP process is started and the standby database is physical standby, which is running under managed standby. My Question is as below
    1. Under managed recovery mode do we require the redo logs created on the physical standby database.
    2. How does oracle keep the database in sync when there are no redo logs are created on the standby database.

    The output is as below
    SQL> select status, pid, sequence# from v$managed_standby where process like 'MRP%';
    STATUS PID SEQUENCE#
    WAIT_FOR_GAP 29710 88576
    SQL>
    The contents of alertlog ; i Just restarted the managed recovery to capture the information
    RFS[1]: Archived Log: '/u02/archive/1_88817_665420030.dbf'
    Sun Apr 18 18:34:26 2010
    RFS[2]: No standby redo logfiles created
    RFS[2]: Archived Log: '/u02/archive/1_88818_665420030.dbf'
    Sun Apr 18 18:44:26 2010
    RFS[3]: No standby redo logfiles created
    RFS[3]: Archived Log: '/u02/archive/1_88819_665420030.dbf'
    Sun Apr 18 18:54:26 2010
    RFS[4]: No standby redo logfiles created
    RFS[4]: Archived Log: '/u02/archive/1_88820_665420030.dbf'
    Sun Apr 18 18:56:32 2010
    alter database recover managed standby database cancel
    Sun Apr 18 18:56:50 2010
    MRP0: Background Media Recovery cancelled with status 16037
    Sun Apr 18 18:56:50 2010
    Errors in file /opt/home/oracle/admin/rmdp3/bdump/rmdp3_mrp0_29710.trc:
    ORA-16037: user requested cancel of managed recovery operation
    Recovery interrupted!
    Sun Apr 18 18:56:51 2010
    Waiting for MRP0 pid 29710 to terminate
    Sun Apr 18 18:56:51 2010
    Errors in file /opt/home/oracle/admin/rmdp3/bdump/rmdp3_mrp0_29710.trc:
    ORA-16037: user requested cancel of managed recovery operation
    Sun Apr 18 18:56:51 2010
    MRP0: Background Media Recovery process shutdown (rmdp3)
    Sun Apr 18 18:56:52 2010
    Managed Standby Recovery Canceled (rmdp3)
    Completed: alter database recover managed standby database cancel
    Sun Apr 18 18:57:19 2010
    alter database recover managed standby database disconnect
    from session
    Sun Apr 18 18:57:19 2010
    Attempt to start background Managed Standby Recovery process (rmdp3)
    MRP0 started with pid=19, OS id=2123
    Sun Apr 18 18:57:19 2010
    MRP0: Background Managed Standby Recovery process started (rmdp3)
    Managed Standby Recovery not using Real Time Apply
    Sun Apr 18 18:57:24 2010
    Errors in file /opt/home/oracle/admin/rmdp3/bdump/rmdp3_mrp0_2123.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/u03/redologs/rmdp3/redo01.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Sun Apr 18 18:57:24 2010
    Errors in file /opt/home/oracle/admin/rmdp3/bdump/rmdp3_mrp0_2123.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/u03/redologs/rmdp3/redo01.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Clearing online redo logfile 1 /u03/redologs/rmdp3/redo01.log
    Clearing online log 1 of thread 1 sequence number 88818
    Sun Apr 18 18:57:24 2010
    Errors in file /opt/home/oracle/admin/rmdp3/bdump/rmdp3_mrp0_2123.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/u03/redologs/rmdp3/redo01.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Sun Apr 18 18:57:24 2010
    Errors in file /opt/home/oracle/admin/rmdp3/bdump/rmdp3_mrp0_2123.trc:
    ORA-19527: physical standby redo log must be renamed
    ORA-00312: online log 1 thread 1: '/u03/redologs/rmdp3/redo01.log'
    Clearing online redo logfile 1 complete
    Media Recovery Waiting for thread 1 sequence 88576
    Fetching gap sequence in thread 1, gap sequence 88576-88675
    FAL[client]: Error fetching gap sequence, no FAL server specified
    Sun Apr 18 18:57:25 2010
    Completed: alter database recover managed standby database disconnect
    from session
    Sun Apr 18 18:57:54 2010
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 88576-88675
    DBID 440735188 branch 665420030
    FAL[client]: All defined FAL servers have been attempted.
    Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
    parameter is defined to a value that is sufficiently large
    enough to maintain adequate log switch information to resolve
    archivelog gaps.
    Edited by: user11982297 on Apr 18, 2010 10:58 AM

  • Goldengate from physical standby with Active data guard or from logical standby - which is better?

    Hi,
    We have Oracle 11.2.0.4 and are currently using Active Data Guard on a physical standby. My boss wants me to use Goldengate
    to replicate several schema from Oracle to SqlSserver. She doesn't want to touch the Primary, which is in production. Would it be better
    to setup a Logical standby for Goldendate to use, in addition to the Physical standby? Or will it be sufficient to use the Physical standby?
    The application tables don't all have primary keys. I'm trying to decide if the Logical standby adds another layer of complexity or would
    introduce delays in getting the data from Oracle to Sqlserver.
    Thanks in advance,

    Hi,
    In this case I recommend you to use physical standby + Golden gate with ALO mode. You might have sligthly more trouble in logical standby. it means you might have more trouble at Goldengate's extract side.
    You said
    The application tables don't all have primary keys.
    so you have to add keycols on replicat side.
    I recommend you to add an index which should consist of keycols columns. it will be necessary for replicat performance.
    Best Regards

  • Standby redologs on Physical Standby

    Hi all,
    Oracle 10gR2
    I'd already created Standby redolog files @Primary then take rman backup of datafiles,archivelogfiles and control file for restoration standby
    do i still need to create standby redolog files @Physical standy (after rman restoration completes)
    RMAN> DUPLICATE TARGET DATABASE FOR STANDBY NOFILENAMECHECK;
    Kindly suggest.
    Regards & thanks to all
    Muhammad Shakeel Azeem

    Hello;
    No.
    If you create the SRL on the Primary and then take an RMAN backup for duplicate they will be part of that backup.
    Example :
    RMAN RUN {
    allocate channel d1 type disk;
    backup format '/u01/backups/PRIMARY/df_t%t_s%s_p%p' database;
    sql 'alter system archive log current';
    backup format '/u01/backups/PRIMARY/al_t%t_s%s_p%p' archivelog all;
    backup current controlfile for standby format '/u01/backups/PRIMARY/sb_t%t_s%s_p%p';
    release channel d1;
    }Restore example
    run {
    allocate channel C1 device type disk;
    allocate auxiliary channel C2 device type disk;
    duplicate target database for standby nofilenamecheck;
    }Best Regards
    mseberg
    Double Check ( To be clear on Oracle 11, but I think it work the same on 10 )
    I checked my test Standby which I created using RMAN- The SRL's are there.
    But you are 10 so use this to check for them :
    select * from v$standby_log;If they are not there and the database is mounted create them as follows :
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 4 '/u01/app/oracle/oradata/PRIMARY/redo04.log' SIZE 100M;Change path, size, names and groups as needed.
    Edited by: mseberg on Mar 24, 2012 8:29 AM
    Edited by: mseberg on Mar 24, 2012 8:32 AM

  • How to automate the purging of archivelogs on primary when backing up from physical standby?

    Hi,
    When configuring archivelog backups to run from my Active Standby database (11.2.0.3) I am running into an issue where the archivelogs on the primary database are not getting purged. This is resulting in the archiver hanging on the primary.
    run {
    allocate channel ch1 type 'sbt_tape'
    TRACE 0;
    setlimit channel ch1 maxopenfiles 8;
    backup
    filesperset = 32
    (archivelog  all   delete input );
    backup  current controlfile  spfile  ;
    My archivelog deletion policy is set as follows on both the primary and standby
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    When I run REPORT OBSOLETE from RMAN however, the primary database seems to have outdated information in it.
    I have also observed the following in the RMAN backup log:
    RMAN-08120: WARNING: archived log not deleted, not yet applied by standby.
    Do I need to perform additional configuration to automate the purging of archivelogs on the primary database or is there an issue with the backup options and / or deletion policy specified?
    Many thanks,
    Gary Allen
    DBA

    The primary and standby databases are in sync and have been for over a week now.
    Primary:
    SQL> select max(sequence#), applied from v$archived_log group by applied;
    MAX(SEQUENCE#) APPLIED
               268 NO
               267 YES
    Standby:
    SQL> select max(sequence#) from v$archived_log;
    MAX(SEQUENCE#)
               268
    For some reason though, the primary controlfile is not being updated properly and when I run the RMAN REPORT OBSOLETE command the data is nearly a week old yet on the standby the same command retrieves up to date information:
    Primary:
    RMAN> report obsolete
    Backup Set           136    06-AUG-13
      Backup Piece       136    06-AUG-13          48ogk9ik_1_1
    Backup Set           138    06-AUG-13
      Backup Piece       138    06-AUG-13          4aogkqbm_1_1
    Backup Set           142    06-AUG-13
      Backup Piece       142    06-AUG-13          4eogl5i6_1_1
    Backup Set           144    07-AUG-13
      Backup Piece       144    07-AUG-13          4gogmc0a_1_1
    RMAN> report obsolete
    Standby:
    Backup Set           156    13-AUG-13
      Backup Piece       156    13-AUG-13          4uoh65o7_1_1
    Backup Set           159    13-AUG-13
      Backup Piece       159    13-AUG-13          51oh6d0r_1_1
    Backup Set           162    13-AUG-13
      Backup Piece       162    13-AUG-13          54oh6n8a_1_1
    Backup Set           165    13-AUG-13
      Backup Piece       165    13-AUG-13          57oh78qr_1_1

  • Upgrading the primary and physical standby database

    Solaris 9
    oracle 9i (9.2.0.8)
    upgrade to 10g (10.2.0.3)
    Hi,
    I would like to know how to upgrade database in dataguard envronment.(primary and remote physical standby database)
    Is rolling upgrade possible in this case?
    Or any steps or Document is appreciated.
    Thanks.
    Message was edited by:
    user539835

    Read this Metalink Note:407040.1

  • Drop a datafile from physical standby's control file

    Hi,
    I am trying to create a physical standby database for my production...
    1) I have taken cold backup of my primary database on 18-Nov-2013...
    2) I added a datafile on 19-nov-2013 ( 'O:\ORADATA\SFMS\SFMS_DATA4.DBF' )
    3) Standby control file was generated on 20-ov-2013 (today) after shutting down and then mounting the primary database...
    When i try to recover the newly setup standby using archive files, i am getting the following error (datafile added on 19th Nov is missing)
    SQL> recover standby database;
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 39: 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ORA-01157: cannot identify/lock data file 39 - see DBWR trace file
    ORA-01110: data file 39: 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    How to overcome this situation...
    Can i delete the entry for the newly added datafile from the backup control file ?
    When i tried to delete datafile using "alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF';", it is showing that database should be  open..
    SQL> alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ERROR at line 1:
    ORA-01109: database not open
    SQL> show parameter STANDBY_FILE_MANAGEMENT
    NAME                                 TYPE        VALUE
    standby_file_management              string      AUTO
    SQL> alter system set STANDBY_FILE_MANAGEMENT=manual;
    System altered.
    SQL> show parameter STANDBY_FILE_MANAGEMENT
    NAME                                 TYPE        VALUE
    standby_file_management              string      MANUAL
    SQL> alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ERROR at line 1:
    ORA-01109: database not open
    Regards,
    Jibu

    Jibu wrote:
    Hi,
    I am trying to create a physical standby database for my production...
    1) I have taken cold backup of my primary database on 18-Nov-2013...
    2) I added a datafile on 19-nov-2013 ( 'O:\ORADATA\SFMS\SFMS_DATA4.DBF' )
    3) Standby control file was generated on 20-ov-2013 (today) after shutting down and then mounting the primary database..
    Hi,
    What is your version?
    If you added new datafile or created new tablespace, take backup again for restore new created standby database.
    If your standby  database running well, DG configuration success, then this datafile will create on standby side, too.
    Set STANDBY_FILE_MANAGEMENT=AUTO best practice.
    When i try to recover the newly setup standby using archive files, i am getting the following error (datafile added on 19th Nov is missing)
    SQL> recover standby database;
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 39: 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ORA-01157: cannot identify/lock data file 39 - see DBWR trace file
    ORA-01110: data file 39: 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    How to overcome this situation...
    Can i delete the entry for the newly added datafile from the backup control file ?
    Not need any delete datafile from standby side, you must recreate standby database, or you can  take RMAN backup and restore to standby  side again.
    When i tried to delete datafile using "alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF';", it is showing that database should be  open..
    SQL> alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ERROR at line 1:
    ORA-01109: database not open
    SQL> show parameter STANDBY_FILE_MANAGEMENT
    NAME                                 TYPE        VALUE
    standby_file_management              string      AUTO
    SQL> alter system set STANDBY_FILE_MANAGEMENT=manual;
    System altered.
    SQL> show parameter STANDBY_FILE_MANAGEMENT
    NAME                                 TYPE        VALUE
    standby_file_management              string      MANUAL
    SQL> alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ERROR at line 1:
    ORA-01109: database not open
    It is not logical, Physical  standby must be bit-for-bit same with Primary  database.
    Regards
    Mahir M. Quluzade

  • Creation in a file different that the file from the Panel Master-detail

    Hi,
    I must present the printed papers form according to the headings according to the file of the headings.
    Then, according to their choice, I want to create the lines of the order.
    With this intention, I create a Sight (on the 3 files Rubriques, Imprimés, Order-lines). Sight which is correctly created.
    But when I want to create the Panel Master-detail), it does not allow it to me and the msg posts me: “the OLIVIER diagram does not have privilege of selection on the table or sight COM_COMMANDES_LIGNES_IMPRIMES.”
    #COM_COMMANDES_LIGNES_IMPRIMES is the name of the sight that I have créée.#
    What do I hurt? Quelq' un#e# pouraa it #il# to repair me?
    Thank you and good day.
    Olivier

    I have another problem:
    I would like to create an aggregate variable, in order to have the LEVEL of USING. (as APP_USER which is a value system and which one can use on all the => pages
    then I create:
    1. a variable on the level application in divided Elements/Elements of application,
    2. in the screen wanted, I create a calculation with Interrogation SQL and the following code: :
    select LEVEL
    into F150_NIVEAU
    from COM_DEMANDEURS
    where upper#USERDN# = upper#: APP_USER#
    But when I carry out the page there is an error message:
    "ORA-00905: mot-clé absent
    Erreur ERR-1003 Erreur lors de l'exécution d'une interrogation de calcul.
    OK"
    Can't I any more what make???
    Can you help me once again?
    I thank you and wishes you a good day.

  • Logica and Physical standby to the same Primary?

    Hi,
    I have a primary - standby setup operating in the production. i now have a requirement to configure a Logical standby to the primary server. Can I do that leaving the already existing physical standby intact?
    Thanks,
    Aswin.

    Yes you can have both physical and logical standby from one primary. The logical standby will need to start as a second physical standby.

  • Logical and Physical Standby Practice

    Hello Gurus
    I am now attempting to practice Oracle Data Guard and in this direction I understand since 10g we have logical standby server as well as a physical standby server. While I am gathering information and knowledge about the data guard as is and varisous modes and types possible with oracle 10g and 11g in specific, an attempt to upgrade my self and learn these set-ups and understand them in detail.. I come to you for some guidence..
    I am referring to Oracle Documentation for these details. At the same time I also approach you to share your experiences .. may be a link apart from the documentation of oracle which you might want to refer me to use as a quick reference.. some thing that a person like me .. fairly new to this set-up understand it and then attempt to come up with one..
    This is for my practise and learning purpose.
    Sarat.

    Logical Standby was already introduced in 9i. It differs from physical standby in the way, the redo protocol, transmitted from the primary, gets used to actualize the standby. With logical standby, you have SQL APPLY - basically, we try to generate the same SQL that was done on the primary from the redo protocol that was written on behalf of that SQL on the primary. That SQL then is done on the OPEN instance at the logical standby.
    In case of a physical standby, the redo protocol from the primary is used to do RECOVERY - called REDO APPLY - to actualize the standby.
    Since 10g, the sames protection levels can be achieved with logical or physical standby.
    Drawback of logical standby: Not all kinds of SQL and all datatypes are supported
    Drawback of physical standby: It is mounted (versions before 11g) while being recoverd - or in 11g, REDO APPLY in READ ONLY status is possible but comes with an extra charge (ACTIVE DATA GUARD feature).
    If you look on my Blog, I have some examples about creating physical & logical standby DBs
    Kind regards
    Uwe
    http://uhesse.wordpress.com

Maybe you are looking for