Convert physical standby to logical

Hi everybody!!
This is my first message on this forum, altought i have been reading few time before (around 4 months)
I have a "problem" in my database environment. I must change a physical standby to a logical standby. This cahnge is possible with dataguard technology or i must recreate the standby as logical???
thanks for your replys!!!
PD: sorry, but my english is painful (i belive) :-)

You have not really stated the Oracle version you are using, but to create a logical standby, you first create a physical one, so all you really need to do is read chapter 4 of the dataguard concepts and administration manual:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ls.htm#g105412
is the correct procedure for 10gR2

Similar Messages

  • Physical Standby from Logical Standby

    Is it possible this scenario?
    Create a physical standby from logical standby and the physical receive archive from logical.
    I mean,
    Primary (10g production) -> Logical (11gr2 new server 1) -> (Physical 11gr2 new server 2)
    The goal of this scenario is a migration with a short downtime.
    O.S. aix 6.1
    11.2.0.2

    Is it possible this scenario?YES

  • What is the fundamental diff between physical standby and logical standby ?

    What is the fundamental difference between logical standby and physical standby ?
    What if I create a physical standby , now I would like to ask that is it possible to open it on read only mode ? If not , then why not ?
    hare krishna
    Alok

    Nothing will explain you better Oracle than Oracle documentation :<br>
    Standby Database Types<br>
    <br>
    Nicolas.

  • Physical standby and logical standby

    Hi,
    Why we mention standby_archive_dest and log_archive_Dest in standby init.ora.
    bcz there is no activity at physical standby.so why we set two parameters?
    what is difference between physical stand by and logical standby?

    Hi,
    A logical standby database contains the same logical information as the production database, although the physical organization and structure of the data can be different. The SQL apply technology keeps the logical standby database synchronized with the primary database by transforming redo data received from the primary database into SQL statements and then executing the SQL statements on the standby database. This makes it possible for the logical standby database to be open read-write and accessed for queries and reporting purposes at the same time the SQL is being applied to it.
    Logical vs Physical Standby database
    http://www.orafaq.com/node/957
    Regards,
    Tom
    Edited by: Soli on 19.8.2009 13:48

  • Is that possible to convert logical standby to physical standby ?

    Hi guys,
    My steps for testing as below:
    1.create a primary database
    2.duplicate a physical standby database;
    3.turn on flashback on both databases.
    4.record SCN xxx on physical standby database.
    5.convert physical standby to logical standby (using keep identity statement)
    6.flashback to logical standby to xxx
    7.convert logical standby to physical standby
    8.using real time apply
    I got errors:
    Fast Parallel Media Recovery enabled
    Managed Standby Recovery starting Real Time Apply
    MRP0: Background Media Recovery waiting for new incarnation during transient logical upgrade procedure
    Errors in file /home/ora/app/oracle/diag/rdbms/ora11gr1dg/ora11gr1dg/trace/ora11gr1dg_mrp0_10120.trc:
    ORA-19906: recovery target incarnation changed during recovery
    Managed Standby Recovery not using Real Time Apply
    Errors in file /home/ora/app/oracle/diag/rdbms/ora11gr1dg/ora11gr1dg/trace/ora11gr1dg_mrp0_10120.trc:
    ORA-19906: recovery target incarnation changed during recovery
    Errors appears every 10 seconds. Seems MPR0 is waiting for new incarnation for a long time. So am I.
    Standby database incarnation:
    List of Database Incarnations
    DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
    1 1 ORA11GR1 3853851354 CURRENT 1 08/09/2013 01:02:18
    2 2 ORA11GR1 3853851354 ORPHAN 2127877 08/28/2013 19:22:01     BGV

    Hello;
    Because of limitations for specific data types and objects with a logical database I going to say no.
    Best Regards
    mseberg

  • Create logical standby from existing physical standby on 9i

    I have physical standby database 9i running.
    I want to try to convert the physical standby to logical standby. i follow the step by step in metalink document no. 748595.1
    But I cannot do the 6th step:
    6. Issue command to switch physical standby to logical standby after changing db_name in pfile to logical standby name. Shutdown the standby database if mounted and mount the database again. In this configuration, logical standby database name is LGSTDBY.
    sql>alter database recover to logical standby LGSTDBY;
    alter database recover to logical standby LGSTDBY;
    Error at line 1:
    ORA-00905: missing keyword
    I have tried to create pfile from spfile on stanby and change the db_name to lgstdby.
    I started nomount using pfile. I still cannot run the command.
    I tried to mount the standby database but error occured:
    ORA-01103: database name 'PRIMARY' in controlfile is not 'LGSTDBY'
    The document in metalink is for 10.2.0.4
    Is it possible to do it at 9i??
    Thx for the help...

    FEDORA 6 & ORACLE 10.2.0
    alert_stb.log:
    alter database start logical standby apply
    Wed Jun 17 22:46:58 2009
    ALTER DATABASE START LOGICAL STANDBY APPLY (stb)
    Wed Jun 17 22:46:58 2009
    No optional part
    Attempt to start background Logical Standby process
    LSP0 started with pid=22, OS id=4156
    Wed Jun 17 22:46:59 2009
    Completed: alter database start logical standby apply
    Wed Jun 17 22:47:01 2009
    LOGSTDBY status: ORA-16111: log mining and apply setting up
    Wed Jun 17 22:47:01 2009
    LOGMINER: Parameters summary for session# = 1
    LOGMINER: Number of processes = 3, Transaction Chunk Size = 201
    LOGMINER: Memory Size = 30M, Checkpoint interval = 150M
    LOGMINER: session# = 1, reader process P000 started with pid=23 OS id=4158
    LOGMINER: session# = 1, builder process P001 started with pid=24 OS id=4160
    LOGMINER: session# = 1, preparer process P002 started with pid=25 OS id=4162
    Wed Jun 17 22:47:02 2009
    LOGMINER: Begin mining logfile: /u01/app/oracle/flash_recovery_area/STB/archivelog_3/1_3_689731882.arc
    Wed Jun 17 22:47:02 2009
    LOGMINER: Turning ON Log Auto Delete
    Wed Jun 17 22:47:02 2009
    LOGMINER: End mining logfile: /u01/app/oracle/flash_recovery_area/STB/archivelog_3/1_3_689731882.arc
    LOGSTDBY Analyzer process P003 started with pid=26 OS id=4164
    LOGSTDBY Apply process P008 started with pid=31 OS id=4174
    LOGSTDBY Apply process P007 started with pid=30 OS id=4172
    LOGSTDBY Apply process P004 started with pid=27 OS id=4166
    LOGSTDBY Apply process P006 started with pid=29 OS id=4170
    LOGSTDBY Apply process P005 started with pid=28 OS id=4168

  • Can i convert logical standby database to physical standby database

    Dear All,
    Can i convert a logical standby database to physical standby database?
    If yes, what are the steps to follow?
    Thanks
    Mahipal

    I never needed or tested something like this, but below maybe usefull -
    Transient Logical Standby
    Users can convert a physical standby to a transient logical standby database to effect a rolling database upgrade, and then revert the standby to its original state as a physical standby database once the upgrade is complete - using the KEEP IDENTITY clause. This benefits physical standby users who wish to execute a rolling database upgrade without investing in redundant storage otherwise needed to create a logical standby database.
    http://www.oracle.com/technology/deploy/availability/htdocs/DataGuardOverview.html
    But opposite is documented - http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ls.htm#BEIGJCAC
    best regards.

  • How to convert logical standby database to Physical Standby Database

    Hi,
    Does anyone know how to convert logical standby database(10.2.0.3) to Physical Standby Database(10.2.0.3)? Is this possible? If so,please give me steps for it.
    Thanks.
    Regards,
    RJ.

    I don't believe this to be possible. One of the steps invloved in the creation of a logical standby is the following:
    ALTER DATABASE OPEN RESETLOGS;
    This makes the logical standby a different incarnation of the db from the primary.
    A physical standby is a binary copy of a primary db, a logical standby is a completely seperate db that just happens to get sql statements applied to it that are generated from a primary db, but is open read/write.
    One avenue, though would be if you had flashback database enabled and you flashed back all the way to when the db was a physical standby and then rolled forward with the archived redo logs.
    It's somewhat unlikely you are in that situation, but that is a possibility.
    Indeed the 11g snapshot standby does this sort of thing:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/manage_ps.htm#sthref740
    jason.
    http://jarneil.wordpress.com

  • Can you convert a Logical standby to a Physical Standby?

    Is it possible to convert a Logical Standby database back to a Physical Standby database? The reason I am asking is that I would like to convert my Physical Standby database to a Logical Standby database, do a rolling upgrade from 10.2.0.1 to 10.2.0.2 then convert the standby back to a Physical. Does anyone know if this is possible?

    I would consider logging a TAR with Oracle support for suggestions.
    Here's mine:
    Install 10.2.0.2 into new, separate Oracle homes(10.2.0.1 & 10.2.0.2 patch & CPU2006Apr & 4516865 patch) on Prime and SB Nodes.
    Create a New 10.2.0.2 database.
    Then transport the tablespaces from Old Primary to New Primary.(short downtime)
    Drop current DR Configuration.
    Stop and Drop the 10.2.0.1 databases, then rename the 10.2.0.2 to same SID as old one (short downtime) .
    Search for and follow the "create standby with minimal downtime" document from metalink.(use "minimal" as search string).
    Your Total downtime should now only be a few minutes.
    Test the whole idea first though, using 'toy' sized databases. (All care, no responsibility etc)
    regards, Vin.

  • Logical standby database to physical standby database

    I already start my logical standby database and I want to return it again to physical standby database. So what should I do?

    >
    The "may be" is because I have tested flashback of a physical standby to before resetlogs, but not a logical standby.
    >
    A physical standby keeps the DBID of the primary - a logical standby does not. That is exactly the problem that restricts the reconversion into physical from logical, and you did not encounter that problem.
    >
    I haven't used "keep identity" but from what I read it relates to "convert to physical" not "flashback database".
    >
    Exactly. And that is what the OP wants to do: convert to physical (from logical).
    You mentioned that this might be possible with flashback.
    Problem: During the conversion from physical to logical, the DBID gets changed unless you specify (in 11g) KEEP IDENTITY. This would make it possible to reconvert into phyiscal from logical.
    In short: If there is no solution for the changed DBID of the logical standby in order to flashback it into physical as you suggested, then it is not possible .
    When I saw your first answer, I thought that you might have a solution in mind in order to solve that obvious problem. Sorry for having bothered you.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Local logical standby and remote physical standby

    Dear All,
    My database version is 10.2.0.1.0(production) and Operating System Linux x86-64 OS Version Red Hat Enterprise 4
    Below is my configuration details:
    Rprimary Database:Two Nodes RAC
    StandBy Database LOCAL:Standalone database
    Standby Database Remote:Two Node RAC
    So,my question is, i want my local physical DR to convert into logical standby and
    Remote DR will operate as physical standby as it IS.
    sql>EXECUTE DBMS_LOGSTDBY.BUILD
    After executing the above statement in my production primary database will there be any performance HIT.
    And another important is that my above statement shouldn't affect my remote physical DR database.
    Just the local DR should get converted into logical standby database
    Thanks and Regards
    Monoj Das

    monoj wrote:
    Dear All,
    My database version is 10.2.0.1.0(production) and Operating System Linux x86-64 OS Version Red Hat Enterprise 4
    Below is my configuration details:
    Rprimary Database:Two Nodes RAC
    StandBy Database LOCAL:Standalone database
    Standby Database Remote:Two Node RAC
    So,my question is, i want my local physical DR to convert into logical standby and
    Remote DR will operate as physical standby as it IS.
    sql>EXECUTE DBMS_LOGSTDBY.BUILD
    After executing the above statement in my production primary database will there be any performance HIT.
    And another important is that my above statement shouldn't affect my remote physical DR database.
    Just the local DR should get converted into logical standby database
    Thanks and Regards
    Monoj DasIn any Data Guard environment, you can have either physical or logical or even mixed[physical + logical]
    There will be no performance issue if you run the package for logical standby DBMS_LOGSTDBY.BUILD , This package provides you to manage even logical standby database.

  • RE logical/physical standby database

    1. Why logical standby database is SQL apply, and Physical standby database is redo apply? What ‘s the meaning/objective for that? (pls don’t tell me what is SQL/redo apply)
    2. As we know, a logical standby database can be used for reporting and querying if primary database is down, why we still need a physical standby database (it can’t do that during recovering process, it just a same copy of primary database)? Why not just go ahead to set up only a perfect logical standby database? (just because logical one can’t accommodate all kinds of data type???)
    3. Combined with Real time Apply and maximum protection, we can achieve a zero data loss, but could we achieve a zero downtime? Why or why not?

    Go Through Below link
    >>>Can you convert a Logical standby to a Physical Standby?

  • Physical standby database to Logical standby

    Can I convert a physical standby database to Logical standby,

    Go Through Below link
    >>>Can you convert a Logical standby to a Physical Standby?

  • 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

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

Maybe you are looking for

  • Problem with my macbookpro's fans.

    Ok so the problems is that the fans are running like at 6000 rpm all the time since i installed leopard, does someone else is having this same issue? It doesnt matter what program i am running at the time, i could be itunes and just firefox and the f

  • Errors ORA-01115 ORA-17507 ORA-01410

    Hi i was using Oracle Data Integrator for loading data from one database to another, i programmed a package that loads data with a cycle in monthly intervals, it rans ok the first ten months since 2007/11 but then i got this errors java.sql.SQLExcept

  • Pop-up menu text not displaying in IE

    I'm creating pop-up menus for my navigation, everything appears OK until I preview in FF & IE - All is good in FF, but in IE the boxes appear, but the text doesn't until you mouse over, and then only each line which disappears on mouse out? Any sugge

  • Flash Builder embed video in different stages

    Hi, I'm Paulinho Cé from Brasil and i have a problem to embed youtube videos on my site in different stages FlashBuilder. I have 10 videos and want to display them in the event of each button corresponding to a different stage. This code works in the

  • Deploy BPM Enterprise - Scripts

    Hello all guys I am working on a document for deployment on BPM Enterprise and i have finished it, but i focused only on deploying using the process administrator console. Is there any way to make a deployment using some kind of scripts? so that mult