Oracle 10 upgrade - Primary & standby database

Hi Expert,
I need some information on your project experience. We're currently planning a oracle 10 upgrade. Have a few question:
1. We're planning to upgrade the primary database first and a week later the standby database. Will the archive log which is sent from primary to standby database will still work? Will the recovery still work?
2. Is this the right patch to go 10.2.0.4? I'm currently on 4.7 ext 2
3. Will there be a performance issue known of oracle 10 running on 32-bit machine, since it has the limitation of the memory (3G). Do I need to set AWE option on windows?
Thanks in advance.

Hello Sean,
please let me go more in detail with some of your comments.
> I actually posted my experience with doing a rolling upgrade of a PHYSICAL standby database.
This statement is wrong. You can't do a rolling upgrade with a physical standby database. You have to convert the database to a logical standby database .. and then you can perform a rolling upgrade. But if you have done the conversion, it is not a physical anymore.
This is also described and mentioned in this white paper:
http://www.oracle.com/technology/deploy/availability/pdf/maa_wp_10gr2_rollingupgradebestpractices.pdf
Data Guard SQL Apply (logical standby database) is required in order to perform a database rolling upgrade. You can also do a rolling upgrade when starting with a physical standby by temporarily converting the physical standby to a logical standby. If starting with 11g, see the Rolling Database Upgrades for Physical Standby Databases using Transient Logical Standby 11g paper for details on doing a rolling upgrade when starting with a physical standby. If starting with 10g, see MetaLink note 300479.1.
> It WILL work, and is fairly straight forward.
In this point you are almost correct, because of a standard SAP system is not using the unsupported data types, etc. (afaik)
http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/data_support.htm
To be honest if a sap basis admin asks such a question, i would not recommend to perform an unsupported way, because i am in doubt about his dataguard know how.
Regards
Stefan

Similar Messages

  • Upgrade of standby database

    I'd like to upgrade my standby database form 8.0.6 to 9.2.
    Is anyone having a manual or procedure to upgrade a standby database ?
    Thank you.
    Eric

    I believe that the process is basically identical to the process outlined in the Migration Guide http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96530/toc.htm.
    For a standby database, though, you have to ensure that you apply all the 8.0.6 log files first, then upgrade the primary, then update the standby, then start applying the 9.2 log files.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Switchover_status "FAILED DESTINATION" on both primary-standby databases

    Hi,
    I setup primary-standby databases and try to test the switchover functionality between them using the following commands:
    alter database commit to switchover to primary with session shutdown;
    alter database commit to switchover to physical standby with session shutdown;
    Currently, both DBs are showing
    open_mode= READ WRITE for "select open_mode_from v$database;" and
    switchover_status = FAILED DESTINATION for "select switchover_status from v$database"
    When both databases get into these states, how can I return them back to primary and standby roles? Could you please provide me a sequence of steps that I can execute to return them back to normal primary-standby states?
    Thanks in advance for your suggestion.

    The OS is Red hat 4.1.2-500.
    Oracle version is 11g.
    Here is the sequence of steps that lead to this issue:
    1. switchover_status on primary = to standby, switchover_status on secondary = not allowed
    So on primary, I execute
    alter database commit to switchover to physical standby with session shutdown;
    and could be shutdown/startup mount ( I don't remember exactly)
    2. switchover_status on secondary = to primary
    So on secondary, I execute
    alter database commit to switchover to primary with session shutdown;
    alter database open;
    3. Now on secondary, the switchover_status = FAILED DESTINATION
    On primary, I execute
    alter database commit to switchover to primary with session shutdown;
    and could be "alter database open" ( I don't remember exactly)
    The switchover_status in step 1) and 2) above should indicates that the data guard is working. At the end of the above steps, I cause both databases to get into switchover_status = "FAILED DESTINATION".
    I hope to get one of the DBs back into standby role.
    If I execute "alter database commit to switchover to physical standby with session shutdown", I will get
    "ORA-16416: No viable Physical Standby switchover targets available"
    In this situation, is there any recommendation for rescue?

  • Upgrade PHYSICAL STANDBY database to 10g from 9i

    Hello everybody,
    Please can you provide me the details for Manual upgrading 9i STANDBY database to 10g. Any special parameters that we have to set on the Primary database..
    Any sites with the information available would be great.
    Thanks everybody for your help.

    There is no in-place upgrade process to move from 9i to 10g. You have to upgrade your primary and then reinstantiate your standby (using Oracle10g). You may like to keep your 9i standby in tact until your upgrade of 9i primary to 10g is completely successful.....just to ensure that you have a fast, easy and reliable fall-back plan.
    Thanks
    Chandra

  • How to apply Oracle patch when physical standby database in place

    Dear All,
    I want to apply Oracle patchset 8 on 10.2.0.5 when physical standby database in place. What are the steps for Primary site and for standby site.
    Thanks in advance
    Kamran Laeeq

    Hi Kamran,
    You will not upgrade or patch the standby database by importing offline redologs. On the contrary, there is a procedure to do this. Please note that you will not transitiate the role from standby to primary or startup the database. You will just startup the database by executing "startup mount" and "startup upgrade", during the upgrade. It means that you will not change database role standby to primary and you will be able to continue to the log shipment after the respective upgrade.
    But, it is very important that you should stop the log shipment and apply all the offline redologs, before the upgrade. Technically, you can import offline redologs after the upgrade, by changing "compatibility" parameter in oracle, but regarding to my experiences it may cause some problems after you transitiate the role from standby to primary.
    In short;
    In order to stop log shipment, at the primary site;
    alter system set log_archive_dest_state_2=defer;
    In order to import all the offline redologs without a delay, at the standby site;
    alter database recover managed standby database cancel;
    alter database recover managed standby database nodelay disconnect from session;
    I hope that I clarified the issue,
    Best regards,
    Orkun Gedik

  • Oracle 8.1.7 Standby database issue....

    My standby database stop archiving.
    Media Recovery Log D:\ORACLE\ADMIN\MYDB\ARCHIVE\LOG3582_1.ARC
    Media Recovery Waiting for thread 1 seq# 3583
    Mon Apr 18 14:57:04 2005
    Media Recovery Log D:\ORACLE\ADMIN\MYDB\ARCHIVE\LOG3583_1.ARC
    Media Recovery Waiting for thread 1 seq# 3584
    Mon Apr 18 15:32:58 2005
    Media Recovery Log D:\ORACLE\ADMIN\MYDB\ARCHIVE\LOG3584_1.ARC
    Mon Apr 18 15:33:00 2005
    Errors in file D:\oracle\admin\MYDB\udump\ORA02380.TRC:
    ORA-00600: internal error code, arguments: [3020], [21008251], [1], [3584], [19946], [16], [], []
    Media Recovery failed with error 600
    ORA-283 signalled during: ALTER DATABASE RECOVER managed standby database ...
    Mon Apr 18 15:34:52 2005
    Errors in file D:\oracle\admin\MYDB\udump\ORA02380.TRC
    I tried to recover LOG3584_1.ARC but no success.
    Is there any way to recover this situation without recreating it.

    If I'm not wrong , you are hitting into bug# 3762714.

  • Oracle 10g Dataguard Physical Standby Database

    When I set my dataguard group to "MAXIMIZE AVAILABILITY" the protection level is always RESYNCHRONIZATION.
    It's normal ?
    SQL> SELECT PROTECTION_MODE, PROTECTION_LEVEL, DATABASE_ROLE FROM V$DATABASE;
    PROTECTION_MODE PROTECTION_LEVEL DATABASE_ROLE
    MAXIMUM AVAILABILITY RESYNCHRONIZATION PHYSICAL STANDBY
    SQL> show parameter log_archive_dest_2
    NAME TYPE VALUE
    log_archive_dest_2 string SERVICE=PIJ10G2 LGWR SYNC AFFIRM
    SQL> show parameter log_archive_dest_state_2;
    NAME TYPE VALUE
    log_archive_dest_state_2 string ENABLE

    this is my log on primary db :
    Thread 1 advanced to log sequence 422
    Current log# 1 seq# 422 mem# 0: /oradata/orapij10g/redologs/PIJ10G/redo01.log
    Wed Oct 1Thread 1 cannot allocate new log, sequence 423
    Private strand flush not complete
    Current log# 1 seq# 422 mem# 0: /oradata/orapij10g/redologs/PIJ10G/redo01.log
    Wed Oct 17 16:24:51 2007
    Destination LOG_ARCHIVE_DEST_3 is SYNCHRONIZED
    LNSc started with pid=34, OS id=21052
    Wed Oct 17 16:24:56 2007
    Destination LOG_ARCHIVE_DEST_3 is UNSYNCHRONIZED
    Wed Oct 17 16:24:56 2007
    Errors in file /oracle/ora10g/admin/PIJ10G/bdump/pij10g_lgwr_26248.trc:
    ORA-16086: Message 16086 not found; No message file for product=RDBMS, facility=ORA
    LGWR: Failed to archive log 2 thread 1 sequence 423 (16086)
    Thread 1 advanced to log sequence 423
    Current log# 2 seq# 423 mem# 0: /oradata/orapij10g/redologs/PIJ10G/redo02.log
    I don't understand this error message. How can solve my probleme ?

  • Queries with respect to Oracle 10g RAC - Primary & Standby DB environment

    Hi,
    Please guide in the following queries:
    On my 3 Node RAC with Primary DB, I have configured database backup (using Flashback) every 30min and I keep only one copy at a time. I also have a Physical Standby in the environment which has redo applied from primary with 30min delay.
    1. During recovery, is it possible to do recovery, on to the Primary DB, to a point-in-time which is 2 hr in past using the same flashback databse?
    2. Is it possible to restore the flashback database backup (taken from 3 Node RAC with Primary DB) into a NEW oracle setup which is different from the 3 Node RAC setup with Primary DB?
    3. If the Storage Device of 3 Node RAC setup fails, can I point the 3 Node instances on to a new Storage Device which has the backup of PrimaryDb restored from a StandBy db?
    Regards

    Is there anybody who can help on this?

  • Upgrading Physical standby database

    Hi Gurus,
    we are having Data Guard setup in 9.2.0.6 with 5 databases in windows 2000 now we are planning to upgrade it to 10.2.0.4 can you please give me ur valuable suggestions or best possible ways to upgrade these database.
    kk

    When all else fails, Read The Fine Manual
    http://download.oracle.com/docs/cd/B19306_01/install.102/b14316/toc.htm
    IIRC, first you need to upgrade to either V9.2.0.7 or V9.2.0.8 which will be documented in manual above

  • Upgrading with a physical standby database in place

    Hi all
    I am planning to upgrade my database which is 11.2.0.1 (Windows 32 platform) to 11.2.0.3. It has a primary standby database. I only have 1 server for testing the primary database, so I am looking for some help.
    I was reading http://docs.oracle.com/cd/B28359_01/server.111/b28294/upgrades.htm#CHDBJAGG and I confuse about step 4 and 5
    +4. Install the new release of the Oracle software into a new Oracle home on the physical standby database system, as described in the Oracle Database Upgrade Guide.+
    +5. Mount the physical standby database.+
    My question is in step 5, when I mount the physical standby database, does it mounted using new Oracle binary or still using the old version? From my understanding what is step 4 doing is to copying files to new home only. Changing the service to use the new oracle binary is done by dbua. I know this when I test upgrading the primary database.
    Regards
    Stanley.

    Hello;
    new Oracle binary or the new Oracle home if you will.
    So you install the new software on the standby only, all the upgrade SQL gets done on the Primary and then you ENABLE and startup mount on the new oracle home and the standby gets upgraded from the Primary redo.
    Its pretty simple ( My exact plan )
    1. Disable log shipping from the Primary
    2. Shutdown Standby
    3. Install 11.2.0.3 on Standby - Just the software
    4. Startup Standby in recovery mode - do NOT run r any SQL at the standby
    5. Shutdown Primary
    6. Install 11.2.0.3 on Primary
    7. Run Upgrade SQL or DBUA at Primary
    8. Re-enable log shipping
    9. Monitor the redo apply from Primary to Standby - this will also upgrade the Standby data dictionary
    Make sure your tnsnames and listener files move to the new Oracle home and edit as needed.
    Another oracle note is 278641.1
    Best Regards
    mseberg
    Edited by: mseberg on Jan 29, 2013 8:21 PM

  • Patch applied primary/standby - when to upgrade standby

    I am following metalink document *278641.1*
    STEP-6: I have applied patch on both databases.
    STEP-7: Started OracleSercivce, Listener.. on standby database.
    I have confusion in step 8,9 and 10.. the confusion is when should I upgrade the databases? and which datatabse should be upgraded first? I want to upgrade using DATABASE UPGRADE ASSSISTANT (DBUA).... please help
    OPTION-1 should I follow below steps...
    STEP-8: startup nomount.
    STEP-9: recover managed standby database nodealy disconnect.
    and then I upgrade the standby database using DBUA
    STEP.10 start primary lisnter, primary instance.
    and then I upgrade the primary database using DBUA
    OPTION-2 OR should I follow below steps...
    STEP-8: startup nomount.
    STEP-9: recover managed standby database nodealy disconnect.
    STEP.10 start primary lisnter, primary instance.
    and then I upgrade both Primary and Standby using DBUA
    which one should be upgraded first.?
    Can any body explain me... what steps I should follow, and when should I upgrade the database using database upgrade assistant.....its not mentioned clearly in the document... I am stuck in...
    waiting for your replies...

    it doesn't.... again, my question is same... when should I upgrade the database using DBUA... and which database should be upgraded first?
    you want to say... I should follow steps as below..
    8. (standby database) startup nomount
    9. (standby database) recover managed standby database nodelay disconnect;
    10. (primary database) start primary listner, oracle instance
    10.1 (primary database) start oracle instance startup command at primary database...right?
    10.2 (primary database) upgade using DBUA
    10.3 (standby database) upgrade using DBUA
    I didnt understand with startup upgrade command.... should I use DBAU to upgrade the database instead ? again my question is which database should be upgraded first with DBAU.

  • Upgrading Standby Database

    Hello Expert !!
    Once again I need you expert advice. We have a production database on 9.2.0.5, which we would like to upgrade to 10.2.0.3. A Physical Data Guard configuration is present for this database. The size of the database is more than 1 TB.
    Upgrading Primary database is straight forward but how do I upgrade the standby database and continue the Data Guard configuration.
    While upgrading the primary we would startup database with upgrade option and then startup-shutdown database couple of times. While upgrading standby how do I startup-shutdown it? (I mean normally we would normally mount the database and then open it as standby database and then place it in recovery mode).
    Thanks for sharing your expertise !!!
    Regards

    Please read it, rather than asking others to abstract it for free.
    This is a forum where people exchange their experiences, if you are really looking to make money then please this is not the place you should be in.
    If you are not capable enough or haven't performed yourself then its better to be quiet.
    Metalink document (Note Id: 316889.1 Complete checklist for manual upgrades to 10gR2) discusses on upgrading from 9i to 10g but unfortunately doesn't mention a word about Standby Databases. So, I was looking for people who has actually performed the upgrade themselves and who could actually point to a URL which discusses more on this issue. I dont want you to walk-in and perform the upgrade for me.
    Please, never ever take time to answer any of my questions. Remember my username "Oracle_Lover".
    Thanks anyways....

  • Recover standby database after primary failed

    Hi,
    I'm having 11g setup with 2 standby databases.  My scenario is i'm doing failover on one standby[new primary] and converting old primary as a standby.  Question is what is the status of another standby? have to create new standby or can recover using flash option?
    regards,
    jp

    '11g' is not a version, it is a marketing label. You need to post your version in the format <x>.<x>.<x>.<x>
    Yes, I know this is asked much.
    Also your question sadly lacks on details, as in this version of Oracle you can cascade standby databases (standby 1 can cascade to standby 2)
    This begs the simple question:
    Did you try?
    If so, what happened?
    If you didn't try, why didn't you try? What can happen?
    Sybrand Bakker
    Senior Oracle DBA

  • Prepration of standby database oracle 9i

    I have migrated database from 8i to oracle 9(windows 2000 server) using database migration assistant
    now I want to update standby server also.
    What is the best way to proceed?

    The manip is nearly the same as I said above.<br>
    Read the following doc : Upgrade Your Standby Database<br>
    <br>
    Nicolas.

  • Upgrading Installations that use Standby Databases

    I have applied patch 6810189 and upgraded Oracle10g Database on my local machine, Now I am planing to apply it on test machine for that I need additional steps for upgrading Physical Standby database as said in README.html of p6810189_10204_Win32.zip
    *7.1.2 Upgrading Installations that use Physical or Logical Standby Databases*
    For information about physical standby databases, review document 278641.1.
    Can anybody forward me this document or any suggestions for upgrading physical standby database..
    THanks.

    thanks :)
    but I am looking for complete steps, starting from applying patch to production then at standby database.... etc..etc

Maybe you are looking for

  • Storing SD invoices in Documentum

    Hi all: I need to store outgoing invoices generated by the sales department into Documentum content server. I've made the following customizing, but I think I need to do anything else, as it doesn't work... NACE: Output Control Chosen V3 (Billing) ap

  • Lost import software

    I had to download a driver to wireless network and lost the software to import photos from the card reader on my C7250 Photosmart.  Can't download the complete package because my internet is too slow.  the driver took 3 hours.  How do I reload the so

  • I installed a hp dvd rw in my computer,put it wouldnt play because i dont have a dvd decoder help

    Hi, I installed an hp dvd lightscrid 840rw on my computer.It didnt have one before it seems to be working ok as i installed a burning program with it,But when i try to play a dvd movie with windows media player it keeps telling me that i dont have a

  • Unable to customize the af:REGION tag

    Hi I am using <af:region> tag for search contents, its working fine but its overlapping on header portion I unable to customize it (unable to change the position of the component) please if you allready use the region tag advice me how to use it. tha

  • Tracking with JTextPane

    Hi, does anyone implemented Tracking of characters with a JTextPane? I would like to have something like in illustrator, where i can set the tracking between characters from a max. to a min. value. My idea was to implement my own LabelView, which spl