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

Similar Messages

  • Cascading physical standby from another physical standby for primary rac

    my supplier told me that is possible mount a cascade physical standby from a physical standby for my rac installation.
    but according the note "409013.1" seems not:
    "Cascading a logical or physical standby database from a physical standby database is supported as long as the primary database is not a RAC database and is not part of a Data Guard Broker configuration - the support status of this configuration is unchanged from previous documentation."
    before was possible? do you know why not now?
    has anyone mounted? can I allow my provider to mount?
    oracle version: 10.2.0.2.0

    Is it possible this scenario?YES

  • 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

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

  • Reg: Exporting the data from the Physical Standby database system.

    Hello all,
    We have an oracle standard edition one 11gR1 environment, in which i need to export the data from the physical standby system.
    So can anyone suggest me, How to do it safely (mount state).
    Regards,
    Konda.

    Hi,
    You can use "exp" utility to export the database from a read only database whereas you can't export the read only database using "expdp".
    Since you are using version 11g, it is not advisable to use exp. You can convert your standby to snapshot database, open read, write and export the database using expdp and then again convert it to standby.
    This is a very easy process which we follow in our company to do testing when required.
    Follow note 11g Using Snapshot Standby Database. (Doc ID 443720.1) for converting and usage.
    Thank you!!

  • Unable to Create Entity Model from existing oracle database

    Hi,
    I am using Visual Studio 2013, .net framework 4.5, entity framework 5.0 and oracle 11g database.
    Issue Description: I need to develop WCF service to exposing the account information which needs to get the data from 20 oracle tables. Trying to create entity model from existing oracle database. first i tried creating just two tables it
    was created but it took more than 30 minutes. then i selected remaining few tables it took more than a days but nothing created just showing spinning the wheel. then i tried with fresh project and selected all the tables but same issue nothing created and
    also there is no error. during this process i checked database query monitoring there is a big sql statement collection tables metadata. i don't know what was wrong the query taking too much time to complete the  process.
    we tried multiple machine and different oracle database all are same issue.
    Sql server database -looks good no issues.
    Any help/tips/ideas welcome to overcome this issue.

    Hi Sakthimp,
    Welcome to MSDN forum.
    Your issue is out of support range of VS General Question forum which mainly discusses the usage of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because your issue only occurred with oracle database, moreover Oracle developed the Entity Framework for Oracle itself, I suggest that you can consult your issue on Oracle forum/community:
    you will get better solution and support there.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error message in creating EBP users from existing SU01 users

    I am getting the following error messages when i try to create EBP users from existing SU01 users using users_gen: Error during creation of user: User not created or error(s) occurred during user creation. ``Central person`` already exists for user (BBPU_MESSAGES 042). Pls what does it mean and how do i solve this?

    Babalola-
    The message is indicating that the user you are attempting to create was previously created in the EBP system.
    First I would try to correct the user via users_gen using the "check users" option.  This may repair the user, but if the user has lost the association to the org then you will need to take some manual steps to re-establish the links for the user in the org details.
    If this doesn't correct it, then use transaction PP01 to correct/verify the following relationships for the user.  Start with the org unit and work your way down looking for the broken link/s.
    Here are the required relationships for the objects:
    ORG UNIT:
    Relationship     Object
    B 003          Position(of user)
    POSITION:
    Relationship     Object
    A 003          Org Unit
    A 008          Central Person (of user)
    A 008          User
    CENTRAL PERSON:
    Relationship     Object
    B 008          Position
    B 207          Business Partner
    B 208          User
    USER:
    NONE
    BUSINESS PARTNER:
    NONE
    Hope this helps you.
    b

  • Creating physical standby database from another physical standby database

    hi,
    We have one production database and one physical standby of the production. Now we have situation where we need to create one database from either production or from standby. As production is loaded we can not do it using active database option. Now we have the only option to copy the database from standby.
    As of now we open the standby and copy it using rman duplicate database and again we put it back to standby mode.
    Is it possible to create standby database from standby database only?
    Oracle version : 11.1.0.7.0
    I have seen procedure allowing to do the same in version 11.2.0.3. I have tried searching for the difference but didn't find when this feature was introduced.
    Thanks,
    Ketul Patel

    Hello;
    Active duplicate should work when connected to Standby as source Database. However there's a bug 11715084 which is not fixed until version 11.2.0.4.
    If patch 11715084 is available for your version it may work, but all the 11.1.0 are gone so I have no way to test.
    RMAN ACTIVE DUPLICATE WHEN CONNECTED TO STANDBY AS TARGET [ID 1343515.1]
    Understanding ORA-01671 error during controlfile creation / backup [ID 461121.1]
    Best Regards
    mseberg
    Edited by: mseberg on Feb 13, 2013 8:59 AM

  • How to create 11.2.0.2 physical standby database from 2 node RAC (11.2.0.2)

    Hi,
    Can any one please help me How to manually create 11.2.0.2 standalone physical standby database from 2 node RAC (11.2.0.2) database which is running in RHEL5 and ASM plugged in.
    DB : 11.2.0.2
    OS : RHEL5
    RMAN duplicate is causing problem with network and we decided to go for manual creation of the same.
    Thanks in Advance..

    Hi;
    Can any one please help me How to manually create 11.2.0.2 standalone physical standby database from 2 node RAC (11.2.0.2) database which is running in RHEL5 and ASM plugged in.
    DB : 11.2.0.2
    OS : RHEL5I had similar issue, what i did
    1. Used source oracle_home on standby server
    2. Created new asm instance and use same naming
    3. I took RMAN full backup on source and move it to target
    4. I edit initora file remove RAC setting and restore db(also edited listener file)
    Regard
    Helios

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

  • 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

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

  • 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 create new solution from Existing solution in integration services on TFS project?

    Hi,
    I am working on SSIS Project and it is created in VS 2008 .I opened the solution in VS 2010 and it is upgraded and unfortynately i don't have the back up to re open it in VS 2008.I am thinking of creating new solution from the existing one and open the new
    solution in VS 2008.I was struck how can we copy existing solution to new solution on TFS.
    Please let me know will this process work? and also how can we create a new solution without losing any files.
    Any help is appreciated.

    Hi moh1kumr,
    As Joost said, you can try to revert the changes back for the checked in files in TFS. For more information, please see:
    http://msdn.microsoft.com/en-us/library/ee371161(v=expression.40).aspx
    http://stackoverflow.com/questions/2694644/how-to-revert-roll-back-a-checkin-in-tfs-2010
    If it doesn’t work, I am afraid you have to design the package in VS 2008 from scratch.
    Regards,
    Mike Yin
    TechNet Community Support

  • Creating Activity Diagram from existing code in 11g

    Hi,
    How can I create activity diagram for an existing application in 11.1.2.2.0 version?
    -Infy

    Do you mean you select activity diagram in wizard but you see classes (not invocations/partitions etc) on created diagram?
    If so.. it's a design, you just see activity diagram with inappropriate elemnts.
    We support to create any diagram from any elemnts but may be it's better to block diagram creation from not appliable elemnts.

Maybe you are looking for