Standby question

Hi experts , i have a simple question ..Can we convert a logical standby to physical standby ? Yes or No, if yes how .. if no please let me.. please help

842638 wrote:
Hi experts , i have a simple question ..Can we convert a logical standby to physical standby ? Yes or No, if yes how .. if no please let me.. please helpNo, that is logically impossible: a physical standby is byte-for-byte identical to the primary, but a logical standby may be very different. Even though it will have been instantiated from a physical standby, it will have diverged: different dbname and dbid, the physical and logical structures will have changed, it may have additional objects, it may have objects that are not maintained.

Similar Messages

  • Yet another standby question...

    Hi gurus,
    Please help to resolve the quiz. I have completed manual physical standby installation. It is up and running. I then decided to install Grid Control and to use Data Guard for the standby creation. I've successfully installed GC, deployed all agents, I can see my previous standbys, life is good in short. Now, when I am trying to create the second standby for my production database using the Data Guard I stuck on a logical question:
    On the step 3 of Data Guard standby creation, there is a note, saying:
    The instance name (also referred to as the SID) must be unique on the standby host.
    Yeah, fair enough. But i can't understand what should I do next? I have:
    db_name YELLOW - primary prod
    db_name YELLOW - standby prod 1st
    and i need db_name YELLOW - standby 2nd
    But I can't create it on the same server where the first standby resides.. What options do I have? Do I need to create the second standby on another server? Do I need to kill 1st standby? Is there any way to avoid this conflict? I am confused. I have no equipment for TWO standby servers... I thought I can install there up to 9 standbys.. But it seems to be a problem.. And definitely, I cannot give my second standby other name than YELLOW as all my applications are strongly tied on db_name...
    Friends, please clarify this if you can. I am kinda lost in here..
    Thanks as usual,
    Maria

    well, that's a good question! :)
    because I don't have spare server for the standby. the question is not about: 'should I or should not put more than one standbys in one server' , but more about: 'is there any way to put two standbys with the identical db_names in one server'. I know that I probably sound unprofessional, but I just wanna know.. If the answer is 'no way', I will kill the first standby then and recreate the second one using DG with the correct name.
    Thanks for writing to me,
    M.

  • 10gr2 standard edition standby question - archive log shipping

    Hello,
    I have 2 servers with 10gr2 standard edition, one is production(primary) and secondary is standby on windows platform. To keep standby synchronized i use a script to copy archived logs from primary to standby and applying manually (with scripts).
    My question is: can i use redo transport service in order to copy archivelogs from primary to standby ?
    Thank you in advance.

    Hi,
    It is a bit of topic.
    According to the Licensing Document page 10 DataGuard is not supported for standard edition.
    http://download.oracle.com/docs/cd/B28359_01/license.111/b28287.pdfRegards,
    Tycho

  • Ye olde "delete archivelogs in standby" question

    11.2.0.2.0
    According to note
    Configure RMAN to purge archivelogs after applied on standby [ID 728053.1]
    oracle should remove archive logs if we have deletion policy set to "delete applied on standby" which I have set on primary and standby. Monitoring the alert log we see
    "Deleted Oracle managed file /path/to/an/archive/log"
    so we think cool, its removing them automatically. Question is, when does it delete them? Right now my standby is in sync, yet my alert log is only sporadically showing my logs being deleted which were applied hours ago which I can visibly verify.

    Hemant K Chitale wrote:
    Oracle automatically deletes archivelogs only when it needs to clear space in the FRA (db_recovery_file_dest).
    Hemant K ChitaleI had thought this so tested.
    SQL> SELECT
      2  substr(name, 1, 30) name,
      3  space_limit/(1073741824) AS Quota_GB,
      4  space_used/(1073741824) AS Used_GB,
      5  space_reclaimable/(1073741824) AS Reclaimable_GB,
      6  number_of_files AS files
      7  FROM
      8  v$recovery_file_dest ;
    NAME                             QUOTA_GB    USED_GB RECLAIMABLE_GB      FILES
    /u00/oracle/flash_recovery_are        310 19.7361012     18.1420259         46
    -- bring the db_recovery_dest_size to 20gb to so we know we're over 90%.  according to that first note I posted, the FRA deems anything over 85% as space pressure
    SQL>  alter system set db_recovery_file_dest_size=20g scope=both;
    System altered.
    SQL> SELECT
      2   substr(name, 1, 30) name,
      3   space_limit/(1073741824) AS Quota_GB,
      4   space_used/(1073741824) AS Used_GB,
      5   space_reclaimable/(1073741824) AS Reclaimable_GB,
      6   number_of_files AS files
      7   FROM
      8   v$recovery_file_dest ;
    NAME                             QUOTA_GB    USED_GB RECLAIMABLE_GB      FILES
    /u00/oracle/flash_recovery_are         20 19.7437358     18.1420259         47
    SQL> So i waited a good ten minutes but still no extra logs cleared out.
    So I switched the logs a couple of times in production as well to see would that help and we did get some deleted then to bring the space used down to 17.5.gb which is just below the 85% mark.
    SQL> SELECT
      2   substr(name, 1, 30) name,
      3   space_limit/(1073741824) AS Quota_GB,
      4   space_used/(1073741824) AS Used_GB,
      5   space_reclaimable/(1073741824) AS Reclaimable_GB,
      6   number_of_files AS files
      7   FROM
      8   v$recovery_file_dest ;
    NAME                             QUOTA_GB    USED_GB RECLAIMABLE_GB      FILES
    /u00/oracle/flash_recovery_are         20 17.5075302     15.6462598         47
    SQL> quick experiment, dropped to 15gb which is below the 17gb currently used. And yes immediately, I can see the files being deleted.
    so what I take from this is that if there is any space available in the 15% free then Oracle waits to be woken up by the receipt of a log from primary, sees that theres less than 15% free and deletes logs to below that limit. however, if the space free is less than the space used then oracle wakes up itself and deletes the logs. Cool.
    Thanks hemant.
    Edited to fix coding

  • Router HSRP Active/Standby question

    Hello,
    Can I use following command to setup HSRP Active/Standby mode for both router ?
    Router A:
    ip address 10.10.228.202 255.255.255.248
    standby 3 ip 10.10.228.201
    standby 3 preempt
    Router B:
    ip address 10.10.228.203 255.255.255.248
    standby 3 ip 10.10.228.201
    standby 3 preempt
    standby 3 track 1 decrement 10
    standby 3 track 2 decrement 10
    Thanks

    Wilson,
    we don't know what objects you're tracking, so it's a little bit difficult to answer the question.
    You use the default priorities on both routers (100), so, as long as track objects 1 and 2 are up, Router B will be the active router, because it has the higher IP address.
    If track object 1 or 2 goes down, Router B's priority will be reduced to 90 (or 80 if both are down at the same time),  so Router A will become active, because preemption is enabled.
    If the track object(s) change to up, Router B will take over again, because it also has preemtion enabled.
    Correction:
    Preemption only comes into play when the local priority is higher than the priority of the current active router. In your examle, the priorities on RA and RB have the same values. The IP addresses serve as a tie breaker only in the initial phase, the preemption feature doesn't consider the IP addresses later on.
    Consequence: Router A continues beeing the active router.
    HTH
    Rolf

  • Rebuild standby question

    Good morning,
    I am puzzled by this in rebuilding standby process. I remember see this:
    Before run “rman dup for standby …” you do “ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=defer..” in primary db.
    After finish RMAN dup and start MRP process you do “ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=enable..” in primary db.
    So during this RMAN dup time period (it can take several hours) we don’t ship any archive logs to standby and when RMAN finishes it inevitably has a lot of logs not in standby side. Does this mean that we definitely are going to have log gap after the RMAN dup? Do we need to manually copy those archive logs from primary to standby in order for MRP to apply them? What is the main reason we disable the log ship during rman dup period?
    Thanks a lot in advance for sharing your insight!!
    Shirley

    The main reason to disable shipping during the dup is nothing exists to apply them to. If you are using RMAN to dup a standby you probably will move the RMAN backup and the current logs over before you issue the dup command which is something like this:
    RMAN> run {
    allocate channel C1 device type disk;
    allocate auxiliary channel C2 device type disk;
    duplicate target database for standby nofilenamecheck;
    Once you have the new Standby you can "enable" shipping again. I generally do a log switch on the primary and used the v$ view v$archived_log to check the results. v$archived_log will show logs on both primary and standby, use the DEST_ID to check just one side and order by sequence#.
    The alert log on both sides are a great source of information.
    Does this answer your question?
    Thoiught about this more. You could also try:
    duplicate target database for standby from active database;
    I have never tested this myself.
    Edited by: mseberg on Nov 17, 2010 5:40 AM

  • Logical standby question

    Hello Everyone,
    The application team has a request, they want to set up logical standby . But if they delete records from primary, those records should NOT get deleted from logical stdby. Is this possible ?
    They want to create a database which acts like a archive of the primary and stores all the data . Insertions should get reflected , but deletion happens in primary , it should not happen in the archive database.
    Please give your valuable inputs. Thanks

    user13347830 wrote:
    Hello Everyone,
    The application team has a request, they want to set up logical standby . But if they delete records from primary, those records should NOT get deleted from logical stdby. Is this possible ?
    They want to create a database which acts like a archive of the primary and stores all the data . Insertions should get reflected , but deletion happens in primary , it should not happen in the archive database.
    Please give your valuable inputs. Thanksnot possible

  • Oracle standby question?

    The datafile locations between the primary and standby can be different. We can use DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT to convert the paths.
    But does the Oracle software need to be installed in the same path on both nodes? I've tried to look for this information in the dataguard doco but haven't seen it.
    Any help is appreciated.
    If you can provide a link to oracle documentation, that would be great.
    Thanks.

    Hi,
    From the document "Oracle Data Guard Concepts and Administration 10g Release 2"
    "In addition, the standby database can use a different directory structure from the primary database."
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/standby.htm#i72053

  • Standby questions

    Hello everbody,
    1) What is the difference between Real-Time Apply and Non Real-Time Apply?
    2) How Oracle decides whether the archival of the primary database redo logs to remote destination(Standby Database) is permitted?
    Regards

    1) What is the difference between Real-Time Apply and Non Real-Time Apply?It depends on transport service you use either LGWR or ARCH for real-time apply LGWR service is applicable and you must have same number & size of standby redo log files as Online redo log files, hence you can reduce lag between both sites.
    2) How Oracle decides whether the archival of the primary database redo logs to remote destination(Standby Database) is permitted? It depends on the SCN/sequence what standby need

  • Few Standby questions

    Hello,
    1) Should a dedicated network be used for the redo shipping?
    2) On the create standby, how many parameters are mandatory?
    3) What is the purpose of standby Control file?
    Thanks

    Hello;
    1) Should a dedicated network be used for the redo shipping?It's not common but if you have either a business need or a network requirement it can be done.
    2) On the create standby, how many parameters are mandatory?Not many. For Oracle 10 for example these are common, but not all all required.
    FAL_SERVER
    FAL_CLIENT
    STANDBY_FILE_MANAGEMENT
    DB_FILE_NAME_CONVERT
    LOG_FILE_NAME_CONVERT
    LOG_ARCHIVE_DEST_1
    LOG_ARCHIVE_DEST_2
    LOG_ARCHIVE_DEST_STATE_1
    LOG_ARCHIVE_DEST_STATE_2
    LOG_ARCHIVE_MAX_PROCESSESSeveral default just fine. But DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT are only required if the directory
    structure is different or the standby is on the same server as the primary ( heaven forbid ).
    3) What is the purpose of standby Control file? I like Freddie's answer
    Best Regards
    mseberg

  • 6500 Slide Active Standby Question

    My Active Standby is only displaying 1 event whereas my old 6280 displays more than 1. Is it possible for the 6500 Slide to display more than 1?
    Thanks in advance.

    BUMP

  • CSM - inservice standby - question

    10.176.56.113 and 10.176.56.114 are 2 x DNS servers in Site 1.
    We are planning to put in 10.188.56.49 and 10.188.56.50 which are Site 2 DNS servers as standby realserver because there was a time when 2 of the Site 1 DNS servers went dead and there was no DNS server running in Site 1.
    We do not want the DNS vip to route to Site 2 DNS unless both of the .113 and .114 are dead. Can you advice if 'inservice standby' can be used?
    serverfarm DNS
    nat server
    nat client DNS
    real 10.176.56.113
    inservice
    real 10.176.56.114
    inservice
    real 10.188.56.49
    inservice standby
    real 10.188.56.50
    inservice standby
    probe DNS
    In Cisco documentation: http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/csm/4.1.x/4.1.2/configuration/guide/rsfarms.html#wp1038112
    "If a client making a request is stuck to an out-of-service server (using a cookie, SSL ID, source IP, etc), this connection is balanced to an in-service server in the farm. If you want to be stuck to an out-of-service server, enter the inservice standby command. When you enter the inservice standby command, no connections are sent to the standby real server with the exception of those connections that are stuck to that server and those servers with existing connections. After the specified standby time, you can use the no inservice command to allow only existing sessions to be sent to that real server. Sticky connections are then sent to an in-service real server in the server farm. "
    The explanation above is rather vague and confusing. Hence I would like to seek your advice whether the usage of 'inservice standby' can serve the purpose that we required, which is to failover to .49 and .50 when .113 and .114 became "out of service" in the CSM.

    "no inservice" and "inservice standby" are used to gracefully shutdown the real servers. "Inservice standby" is used for shutting down (taking out of LB logic) a real server when stickiness is configured.
    You can use Backup server farm for your requirement. A sample config
    vserver DNS
    virtual z.z.z.z tcp
    serverfarm SITE1 backup SITE2
    inservice
    serverfarm SITE1
    nat server
    real x.x.x.1
    inservice
    real x.x.x.2
    inservice
    serverfarm SITE2
    nat server
    real y.y.y.1
    inservice
    real y.y.y.2
    inservice
    If all the servers in SITE1 goes down then the real of SITE2 will be used. If a single server of SITE1 comes back then all connections will go to that server in SITE1.
    Hope it helps
    Syed Iftekhar Ahmed

  • Hibernate / Standby question

    Does anyone know why my computer snaps back to life all by itself from hibernate or standby, it has to be a bios setting, but what? 1-3 min. and boom its on.
    Jim

    wake on settings,lans the favourite but turn them all of
    unless using them

  • Quick standby question

    In a 10g dataguard scenario, let's say if something goes haywire at the primary, and we need to recover and restart the primary database with "reset logs". Then the standby would complain that it is missing archive logs files or something of that sort. Is the only way ( to preserve data integrity at the standby) is to recreate the standby database again from the newly recovered primary database? Or is there a quick way you can skip some of the log applies and ask it to continue with the current log file from the newly recovered primary db? I know, in most cases this wouldn't make sense that if logs are missing , then even if we manually do something and get the standby up, there is a possibility that due to data integrity , failover might cause issues.
    Secondly lets , say the primary was fine and for some reason some archive log files were missing for the standby to apply. Are we doomed to recreate the standby again?
    Edited by: TonyPal9 on Jun 15, 2009 3:56 PM

    Once you open your primary with reset logs..the sequence number initiates from 1. Also your controlfile(s) & datafiles will have complete new Checkpoint SCN, which completely differs from your standby db.
    So standby wouldn't recognize that so you wouldn't have any choice but to recreate a new standby DB.
    Or is there a quick way you can skip some of the log applies and ask it to continue with the current log file from >>the newly recovered primary dbNo.
    I know, in most cases this wouldn't make sense that if logs are missing , then even if we manually do something >>and get the standby up, there is a possibility that due to data integrity , failover might cause issues.what is this "then even if we manually do something " ? not clear.
    Secondly lets , say the primary was fine and for......Yes.
    and it is always better to follow the forum etiquette.
    Regards!

  • Primary/standby question

    All,
    I've got a primary and standby 10g (10.2.0.4) on Windows 2003. I think/thought things were fine because when I execute
    SELECT SEQUENCE#, APPLIED FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;
    SELECT RECOVERY_MODE FROM V$ARCHIVE_DEST_STATUS WHERE DEST_ID=2 ;
    I see the logs have been moved over and applied and I see the recovery mode as 'MANAGED REAL TIME APPLY'
    However, looking at the modified date on my DBF files they haven't changed, at least the date. Am I missing something?
    Thanks,
    Tony

    Am I missing something?No, such behaviour is normal on the Windows platform, not only in standby environments, seems to be an internal communication problem between Oracle and Windows. I didn't yet find a published explanation for this,I only can see it.
    Werner

Maybe you are looking for