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.

Similar Messages

  • 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

  • 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

  • How can I convert array of database variant to cluster?

    When I use the Database Connectivity Toolkit to read a recordset from a database, I just use a SQL query.  This returns an array of variant data.  I have always just indexed this array in a sequence structure that has the database variant conversion function in it and build a cluster from that.  There has got to be an easier way, but I can't find it.  Of course, my recordset has various data types in it.  Any ideas?

    Here is the  seed of an idea I had been nocking around.
    Compose an SQL query based on the cluster elements. I chose to use the caption of the cluster elements so that the unbundles have the names I want but the caption can be set to match the collumn names from the table. (If you really want to get fancy, update the captions of the cluster of the typedef before the application opens)
    Do the query and get your array of variants. They should be returned in the order of the query (which we composed based on the cluster order)
    Pass the array of variants into another foor loop that uses the Class ID to do the variant conversion.
    Come to think of it....
    Just wiring the variants to the geneic value refs of the cluster may be good enough.?????
    In theory if "cluster" is a type def, new fileds can be added to tthe typedef and it should get updated from the DB.
    Maybe turn this into a template?
    Your thoughts?
    Ben
    Message Edited by Ben on 01-03-2007 09:02 PM
    Message Edited by Ben on 01-03-2007 09:04 PM
    Message Edited by SarahM on 01-08-2007 12:24 PM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Cluster.JPG ‏92 KB

  • Can I convert a PowerPivot database to Excel

    I used PowerPivot's import features to filter and reduce the number of fields in a very large database.  The database is now small enough to use in Excel without the aid of PowerPivot (I feel more comfortable using Excel and can take advantage of Excel
    features such as remove duplicates and vlookup).  Is there any way that I can covert the PowerPivot data to a regular Excel file?  For example save as Excel or export to text and then import to Excel?

    Kerry,
    My initial recommendation would be to try to use Powerpivot as particularly the two requirements can be realised quite well in there vlookup (relationships in PowerPivot and RELATED function) for duplicates use a distinct statement (DISTINCT
    clause to SELECT in SQL statement:
    SELECT DISTINCT
    …FIELDS…
    FROM
    … etc.)
    in the data source definition or this approach: http://www.powerpivotpro.com/2012/11/finding-duplicate-rows-in-powerpivotacross-tables-or-within-tables/ 
    If you really don't want to use PP: select the respective table in the Powerpivot dialog and click on the content top right hand corner and copy and paste into the workbook.
    Hope that helps!
    Martin Kratky
    www.managility.com.au

  • Physical Standby database Vs. Logical Standby database

    I have few questions regarding capability of Logical Standby Database against Physical Standby database.
    1. How efficient is Logical Standby database in terms of Physical Standby Database?? How both differ from each other and can I use Logical Standby Database for disaster Recovery?? Can It be use for recovering the failed Primary Instance?? If yes how efficient and reliable it is??
    2. What are the known bugs and roadblocks for logical standby database on Oracle 10.2.0.1 on Soalris X86-64?
    3.As logical standby database not going to replicate each and every schema of Primary database?? how is the change management effects to the logical standby from primary?? I mean there are some parameters and job that we create on primary how can it be transferred over to the logical standby??

    1. How efficient is Logical Standby database in terms
    of Physical Standby Database?? How both differ from
    each other and can I use Logical Standby Database for
    disaster Recovery?? Can It be use for recovering the
    failed Primary Instance?? If yes how efficient and
    reliable it is??I'm not sure what sort of "efficiency" you're talking about here...
    Physical standby is just the old, tried and true application of archived logs to recover a database. Very solid, very old school.
    Logical standby, on the other hand, is parsing the redo log, extracting logical change records, and applying them to the standby database. This obviously takes a bit more processing effort, it's newer technology, it doesn't have quite the level of support that physical standby does (i.e. certain data types are excluded), etc. You certainly can use it for failover, but it isn't quite as robust as a physical standby. Of course, this is getting better and better all the time and is definitely a focus of Oracle's development efforts.
    On the other hand, logical standby systems can do things other than act as a warm standby. They can be open serving reports, for example. You can create additional structures (i.e. new materialized views) to support reporting. A physical standby is pretty much always going to be in managed recovery mode, so it cannot be queried.
    2. What are the known bugs and roadblocks for logical
    standby database on Oracle 10.2.0.1 on Soalris
    X86-64?a) You'll want to do a Metalink search
    b) If you're talking about a high-availability solution, why are you looking at a base release of the database? Why wouldn't you apply the latest patchset?
    3.As logical standby database not going to replicate
    each and every schema of Primary database?? how is
    the change management effects to the logical standby
    from primary?? I mean there are some parameters and
    job that we create on primary how can it be
    transferred over to the logical standby??I'm not sure I understand... Changes made to the primary generate redo. Oracle parses that redo, generates a LCR, and sends that to the standby database where that change record gets applied.
    Justin

  • Forward physical standby archivelog files to a logical standby database

    Hi,
    We have a production database (1) and we have a physical standby database (2) for it.
    Is it possible to forward the archivelogs files from (2) to a logical standby database (3). We want to use the (3) as a UAT - Ad Hoc read only Database.
    Thanks.

    Hi,
    The following Data Guard configurations using cascaded destinations are supported.
    A. Primary Database > Physical Standby Database with cascaded destination > Physical Standby Database
    B. Primary Database > Physical Standby Database with cascaded destination > Logical Standby Database
    A physical standby database can support a maximum of nine (30 as of Version 11.2) remote destinations.
    Physical Standby Forwarding Redo to a Logical Standby :
    Advantages :
    1. Users can connect to Logical Standby database and they can access
    2. Instead of querying primary database they can use logical standby database.
    3. without any additional overhead on your primary system, and without consuming any additional transatlantic bandwidth.
    Disadvantages :
    The following data types will not support in Logical standby database just check your application before implementing logical standby
    a. BFILE
    b. Collections (including VARRAYS and nested tables)
    c. Multimedia data types (including Spatial, Image, and Oracle Text)
    d. ROWID, UROWID
    e. User-defined types
    f. LOBs stored as SecureFiles
    g. XMLType stored as Object Relational
    h. Binary XML
    Thanks
    LaserSoft

  • How to create logical standby database?

    Hi,
    can i created logical standby database without creating physical stanby database? is it possible?
    Thanks,

    Hi,
    Creating a Logical Standby Database
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ls.htm#SBYDB00300
    Regards,
    Tom

  • Logical Standby recover with RMAN

    Hi All,
    I have a test environment with Primary DB Server, Physical Standby and Logical Standby.
    The Logical Standby DB (cur_log_stdb) is backed up every evening by RMAN and I have a question:
    If I recover my Logical Standby DB from backup and switch replication to new Logical Standby DB (new_log_stdb) it will work or not?
    My steps e.g.:
    1. Make a new server for my new_log_stdb and repair structure of catalogs;
    2. Repair listener.ora and tnsnames.ora files from cur_log_stdb to new_log_stdb;
    3. Restore DB with RMAN from backup to new_log_stdb;
    4. On cur_log_stdb execute "alter database stop logical standby apply";
    5. Change a DNS name from cur_log_stdb to new_log_stdb;
    6. On new_log_stdb execute "alter database start logical standby apply immediate";
    I'm not sure that archivelogs will apply to the new_log_stdb for period since rman backup was created.
    But if this plan won't work how can I restore Logical Standby DB from RMAN backup and resume replication from Primary?
    Configuration:
    Oracle Linux 6.4
    Oracle Database 11.2.0.3
    Primary and Physical with Data Guard

    Hello;
    The only way to know for sure is to test it. You are asking somebody you don't know to confirm a recovery test for you. You have to perform the test yourself to be certain.
    If your plan does not work you can always rebuild the Standby.
    Best Regards
    mseberg

  • Major release with two logical stbys and two physical stbys

    I have a 300G 11g database in production with two physical standby and 2 logical standby databases. We are planning for a major release which include heavy data load and ddls. What would be the best way to salvage my standbys while running the release scripts.
    I am afraid that we have 70/30 chance of successfully releasing the release, which means that I have 30% possibility to "restart" the release process from the point 0. Someone in my shop suggested using flashback, but I don't know if my server have that much of space to assign to the flashback recovery area. The upgrade/release takes approximately two days to run.
    I was thinking of stopping the log transfer to all the standby database locations while running the load and once I am done, then transfer all the logs and re-enable the standby to "catch up", but would it work for logical standby, too?
    I could not just disable all the standbys and re-create them once the release is completed because two of the standby databases are located at off-site with the limited network speed, and re-creating standby through network takes too long for us to do so.
    Any thoughts would be appreciated.
    Thanks,

    I have a 300G 11g database in production with two physical standby and 2 logical standby databases. We are planning for a major release which include heavy data load and ddls. What would be the best way to salvage my standbys while running the release scripts. What would be the approximate size of data size it is going to load?
    If its very huge then see the disadvantages:
    1) Log of redo
    2) in equal size of Archive logs
    3) FRA/arch space issues at OS Level
    4) Network traffic to 4 sites(2 physical + 2 logical)
    5) Lot of archives on Standby databases too
    6) How fast standby can fetch & apply?
    I am afraid that we have 70/30 chance of successfully releasing the release, which means that I have 30% possibility to "restart" the release process from the point 0. Someone in my shop suggested using flashback, but I don't know if my server have that much of space to assign to the flashback recovery area. The upgrade/release takes approximately two days to run.Its production, When you flashback database it will open database in resetlogs then your complete DR setup is in trouble.
    is it flashback or restorepoint with flashback?
    Restore Points in Oracle10g Release2 [ID 330535.1] --> applicable for 11g too.
    I was thinking of stopping the log transfer to all the standby database locations while running the load and once I am done, then transfer all the logs and re-enable the standby to "catch up", but would it work for logical standby, too?That is the good plan. Mseberg already given Documents which you can refer for logical standby.
    BTW what is your protection mode?
    You can refer below links for physical standby
    http://docs.oracle.com/cd/B28359_01/server.111/b28294/rman.htm#CIHIAADC
    http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard/DG_53.shtml#Physical%20Standby%20Database%20Lags%20Far%20Behind%20the%20Primary%20Database
    I could not just disable all the standbys and re-create them once the release is completed because two of the standby databases are located at off-site with the limited network speed, and re-creating standby through network takes too long for us to do so.Re-creating standby is bad thinking, when you have other options.
    Think how much time you can spend on performing rollforward &
    how much time to re-create standbys?
    Hope you have answer for this.

  • Logical Standby Prereq

    I am evaluating Logical standby for an application, but I need to confirm if there is a prerequisite that both source and target databases need to be on the same os platform. My source server is HP UX 11.11 and Target server is HP Itanium ia64 11.31. Can I setup Logical standby between these 2 platforms?

    Read the Note:413484.1 Data Guard Support for Heterogeneous Primary and Standby Systems in Same Data Guard Configuration.
    Examples of different platform combinations supported within a Data Guard configuration include:*
    Different combinations of operating system word size (e.g. 32bit and 64bit)**
    HP-UX PA-RISC and HP-UX Itanium
    Beginning with Data Guard 11g, a mixture of Linux and Windows operating systems as noted in the table below.
    Platform combinations not listed in the table below are not supported.
    Platform_ID | Platform Name | PLATFORM_IDs supported within the same Data Guard configuration
    3 | HP-UX (64-bit) & HP-UX PA-RISC | 3 & 4 (see MetaLink Notes 395982.1 and 414043.1)
    4 | HP-UX IA (64-bit) & HP-UX Itanium | 4 & 3 (see MetaLink Notes 395982.1 and 414043.1)
    NOTE:395982.1 Data Guard Support for Mixed HP PA-RISC 64-bit and HP Itanium Environments
    NOTE:414043.1 Role Transitions for Data Guard Configurations Using Mixed Oracle Binaries
    HTH
    Enrique

  • Logical standby process

    Hi,
    how can configure the logical standby process to start automatically after i restart database?
    thanks

    What do you consider the "logical standby process"? The process that copies log files from the primary to the standby? Or the process that applies the log files to the standby database?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to convert Oracle charset database

    I have a Oracle database which set charset "WE8ISO8859P1". how can I convert to "SJIS" charset that dont need create new database

    You can't.
    You can successfully convert an Oracle database's charset without database recreation if and only if 1) the original charset is a strict subset of the final charset (the letters in the set) and 2) the codepoints (the numbers that encode the letters) in the original charset don't change in the final charset and 3) all of the data in the database actually is encoded in the original charset (or at least is correctly encoded in the final charset). This is because this type of conversion is accomplished by simply slapping a new charest lable on the database as a whole; none of the binary values in the data get looked at, much less touched. If you "convert" a database and all three are not true, then some or all of your string data becomes complete and utter garbage.
    For WE8ISO8859P1 to SJIS, both 1) and 2) are false.
    3) becomes an issue because of what Oracle calls an optimization and I call a stupidity; when a database recieves string data from a client that asserts it's using the same charset, nothing checks that the data passed is actually in that charset; thus is it's trivially easy to get 8-bit data in a 7-bit US7ASCII database; it will read and write correctly until the day you try to convert to a superset of US7ASCII, such as UTF8. Then WHAM! Data corruption.
    Oracle customers with support contracts can get a lot of documentation about character set conversions from the Metalink support site. Oracle also strongly recommends that customers file a support request for conversions (although someone who reads all the docs and understands character encoding and the NLS settings can muddle through on their own). Oracle also has lot of free documentation about globalization and character sets on the OTN site, which just requires a registration, but I'm not sure the nitty gritty details are there.
    For non-subset conversions, the way to do it is to export the data, create a new database and import the data. Conversion to the new encoding will occur on import.
    There is a utility, CSSCAN, that can be used to prepare for a conversion. It will scan the database for strings that will have difficulty converting.
    Besides the possible issue of data that is outside of the original charset, it will also check for data that will be truncated on conversion. By default, the size specification of a VARCHAR2 in Oracle is the number of bytes; when a character is converted, it may expand the number of bytes that it requires, for example when switching form a 7 or 8 bit encoding to a 16 bit encoding. If enough characters in a value are expanded, the data exceeds the size of the column and is truncated or dropped (I forget). Recent Oracle versions lets you change from having the DB count size in bytes to counting size in characters; I don't yet know if this plays nice with imports with character set conversion (I'll know in a few months).

  • Get Logical file name from Physical file name

    Hi everybody,
    Please how can i get Logical file name from Physical file name ?
    Thanks & Regards
    Hassan

    Hi,
    What i want is to get Logical file name from Physical file name, and not the opposite (get Physical file name from Logical file name).
    Thanks & Regards,
    Hassan

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

Maybe you are looking for

  • I live in india. I am planning to buy an iPad from US.  Will an iPad from US work in India?

    Hello everyone I am new to this Community and have a query. I am planning to buy an iPad from US. As I live in India , will my iPad work in INDIA? Will I have to choose any specific carrier for that and why. Thanks & Regards Sushil Raisinghani

  • MacBOOK Air 11-inch Goes in Sleep/Idle Mode when Not Wanting it To

    Hi, I have set my energy saving preferences when connected to the power-adapter to NEVER SLEEP on my MACBOOK AIR 11inch, however; after 20minutes no matter what program is up and running at the time (i.e. be it a moive, blank screen, etc.) it will go

  • Install hangs at README

    Using debian unstable with kernel 2.6.1, and it just hangs at the copying readme... And the install window is not correct showing all the buttons. But I can get past this by using <TAB>. So the main problem is it hangs at install. Using oracle 9.2.0.

  • Service unit conversions

    Hi all... We are procuring Labors as "SERVICES" on daily wages basis and are assigned to the Production Cost Centers If we assign unit of measure as "DAYS" is AC01 and specify the wage as Rs. 140/Day, but while capturing the product cost in PP, labor

  • Security and firmware updated... Now no wireless network

    Last night I did my security updates and a MacBook SMC Firmware update as well as the airport extreme update and daylight savings time update. After the update was done, I can't even see my old wireless network that I was connecting to fine before th