Oracle 9i database software upgrade issue with standby (Dataguard) database

All,
I have encountered a problem in upgrading the Oracle software on 2 of our databases in-house. The databases in question here are using Dataguard, so one is set to primary and one is set to standby. The version that they are/were starting at is 9.2.0.7.
I was able to install and complete the 9.2.0.8 and 9.2.0.8 OCT CPU patches on the primary database, however when I moved to working on the standby database, I am got an error when attempting to follow step 6 of the post installation tasks:
Enter the following SQL*Plus commands:
SQL> STARTUP MIGRATE
SQL> SPOOL patch.log
SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\catpatch.sql
SQL> SPOOL OFF
(Please note that this is my first experience with working with Dataguard, so my methods in updating might have been a bit off-base.)
If I attempt to startup the standby database in MIGRADE mode, I get the following error (which is expected):
ORA-01666: controlfile is for a standby database
If I try to run the catpatch.sql script, even after mounting the database in standby mode, I receive the additional error:
ORA-01219: database not open: queries allowed on fixed tables/views only
My question here is, how do I get the standby database to allow me to finish the software upgrade process, so that both versions of Oracle match on the primary and standby databases? :)
(I did try some research on Metalink, but only found an article detailing how to upgrade your dataguard database from 9i to 10g, which did not look especially helpful in this case...)
Thank you!
-Sabrina

Depending on the kind of Dataguard you currently have, physical or logical, there are two useful metalinks notes:
Upgrading to 10g with a Physical Standby in Place
     Doc ID:      Note:278521.1
Upgrading to 10g with a Logical Standby in Place
     Doc ID:      Note:278108.1
~ Madrid
http://hrivera99.blogspot.com/

Similar Messages

  • Oracle Database 11g Upgrade Issue

    Hi All,
    We recently upgraded from Oracle 10g to 11g, and since that we have noticed that we have an issue with a particular query.
    The query selects the sum of a column based on the group by of two date columns. The query is returning rows when run in 10g based databases, but we are having to add trunc(date_column) in the 11g based databases to get the output.
    Does anyone have a clue what could be happening?
    Thanks
    Anish.

    The new DB Vesion is 11.2.0.2
    OS - Solaris 10
    It takes the same time in sqlplus also.
    The DBA also mentions that he explain plan and the costs looks very different across both the versions.

  • Possible Issues with Duplicate Training Database?

    Hello everyone!
    First off, please forgive my ignorance! I've only been working with databases lightly over the last couple of years, and thus far only with MySQL and MS SQL.
    Recently the company I work for purchased a new software package that required Oracle. We purchased a copy of Oracle 10.2 as part of the deal and the company that sold it to us, and set it up for us, has denied us dev access to the database, on our server, because it would expose their underlying data schema. I wasn't in change when the decision was made and we spent the money on a crippled copy of Oracle, but that's in the past.
    Because we don't have dev access to Oracle we're unable to create a training database for this new software in house. We have to pay this company to create a test environment for us. I was told it would cost $500, until the tech said he was going to install Oracle on our training server.
    At this point I stopped him and said at $500 they'll either be breaching their licensing agreement, or giving us a free copy! The other possibility is that they were going to install this and then just bill us for Oracle later on, despite quoting the job at $500.
    The tech who was about to do the installation went to check with someone more senior and then returned to inform me that installing the second copy of Oracle would indeed require more licensing fees.
    This verified what I already had told him, and I said we want a training database on our existing Oracle server, and then training copies of the new software can just point to that training database.
    He now needs to take time with the more senior technicians while they're "analyzing the existing database server/environment". He was trying to talk me out of installing a training database on the existing server, and instead buying another copy of Oracle, which I believe to be a total cash grab. He had no solid reason why he couldn't do it, but refused to anyway and said he needs to talk to a more senior tech (the same one who said that yes, we'll need to purchase a second copy of Oracle rather than use a second database on the existing server).
    So, these two databases, one live data and one a duplicate of that live data used in a training environment where changes won't be reported against, should be able to exist peacefully should they not? The same version of the same software accessing the same data from the same server, just a different database, shouldn't present any problems with my limited knowledge of Oracle! There will only ever be maybe 5 connections to the training environment at a time, and the server should be able to currently handle twice as many users connected as it's current maximum (edit: expected) load.
    I know this wouldn't be a problem with MySQL, or MS SQL, and Oracle is a superior database package, so can anyone think of any legitimate reason that might back up the claim that having that duplicate database will be a problem?
    Thanks in advance for any guidance here!

    Thank you very much John!
    We have a per user license and I don't expect our training needs to exceed even a half dozen people at a time to start (A small, significant, fraction of the initial user base). In the future we can easily recommission other resources, or purchase more. The whole project is in the earlier stages anyway, so the needs are smaller now (but the money we spend on licensing could be recurring).
    I understand the requirements angle from a server perspective, but those points you brought up drill down into what I need to know a bit more.
    I doubt rollback segments would be necessary, I was thinking more along the lines of scheduled replication/duplication of the production database on a weekly or monthly basis, just to keep the material at least somewhat up to date.
    I also don't think temporary table space would put much load on storage either, at least in the long run.
    RAM isn't much an issue with a 64 bit version running either, for our needs now at least.
    My instinct, and what you mention about even potential impact of altering the existing database schema enforces this, is that it's basically safer to create a separate database, but less resource intensive to alter the schema of an existing Oracle database to suit training needs (in this situation, maybe, making some vague assumptions about software probably), if done correctly (although still carrying risks).
    I do wish I had the time to read up on this more now, and I will as soon as I have the time.
    I probably will download 10g express edition to familiarize myself a bit more now, as soon as I come up with an application for it, to at least try out whatever I read.
    Thanks for the advice

  • Blackberry 10 OS software upgrade issues

    Please help!!!...hello everyone...I'm having issues with ma Z10...ever since I upgraded to the 10.2.1.2941 OS I've not been able to connect with my 3G network...anytime I try to connect to the 3G network all it says is *emergency calls only*....the issue started right after I upgraded my OS...please what do I do?
    Solved!
    Go to Solution.

    Hello crownmx01
    It is always recommended to troubleshoot software/hardware/network issues with reset BlackBerry phones first.
    KB02141 Reset a BlackBerry smartphone
    If the problem persist, then you need to make a call your mobile service provider to consult this network issue.
    Good luck and let us know.
    • Click Likes to appreciate those who helps you
    • If your issue solved, mark the best post in your thread as Solution

  • 7.1.2 Upgrade Issue with 2012 Chevrolet Tahoe

    I upgraded my iPhone 5 to iOS 7.1.2 and now it will not work with my 2012 Tahoe via USB connection.  Vehicle has Bose system with navigation.  Previously the display worked with Spotify and any music apps on the phone.  Phone has been rebooted mutiple times.  Vehicle has also been turned off and on.
    The strange thing is I also updated to 7.1.2 on my iPad Mini (non retina) and it connects and works as it should.

    Hey ylwdogsc,
    I have an article that may help you address this issue and contains some helpful troubleshooting tips for this type of issue:
    iOS: Troubleshooting car stereo connections
    http://support.apple.com/kb/ts3581
    Troubleshooting tips
    Beginning playback and controlling music
    Some car stereos may require that playback be started or controlled from either the device or the stereo. Ensure that your car stereo is set to the proper input for your device. If it is and you cannot hear sound from your car speakers, try switching to your radio and then back to the proper input.
    When using adapters to connect to your car stereo, you may notice variations in audio quality. When possible, use a shorter connection to the car stereo or try a different cable or adapter.
    Disconnect and restart
    If you are experiencing difficulties with the connection between your stereo and device, disconnect the device, and then power cycle the stereo and your iPhone, iPod touch, or iPad. When the Home screen reappears, reconnect your device. If you cannot power cycle the stereo, turn the car off and then back on to allow the stereo to power off.
    Isolate the issue
    Try to reproduce the issue with an identical or similar accessory, if one is available, or test with a second device.
    Example: If you hear static coming from the left audio channel, try connecting a different device or try connecting to a different stereo or accessory that connects over the same interface (30-pin or Lightning connector, Bluetooth, or headphone jack).
    Restore iPhone, iPad, or iPod touch
    If you have isolated an issue to the device, restore iPhone, iPad, or iPod touch to its factory condition. You should rarely need to use this step with an accessory issue. If the issue affects only a third-party accessory, contact the accessory manufacturer before restoring your iOS device.
    If the device does not update successfully, the issue may lie with the device and not with the accessory. See one of the following articles, depending on your device:
    iPhone
    iPad
    iPod touch
    Take care, and thanks for visiting the Apple Support Communities.
    Cheers,
    Braden

  • Lion Upgrade - issue with WiFi Network

    I recently upgraded to Lion and now everytime I restart my wireless network (Time Capsule) is not recongized and I must manually select it. I have the same issue with my magic mouse, although it does reconginze my bluetooth keyboard. What can I do to fix the issue?

    Yes, same WiFi problem with safe mode. Everything was perfect until the upgrade to Lollipop. Now WiFi speed is 1/10 of before, and phone is slow in general. realy sad, sometimes even whatsapp messages takes minutes to be delivered.
    Does anyone know how to select only 5ghz channel for the WiFi on the phone?

  • Issues with clone of database from PROD to non-prod

    Hi All,
    I am trying to clone the production database to a non-prod database.This used to work fine with out any issues before.Only change made on the backup side is we change the compress option to nocompress.Below are the steps followed for the clone process.
    Create a new init parameter file.
    Started the database in nomoutn state
    Connected to prod database through rman
    connected to auxiliary database(non-prod)
    connected to catalog
    Set the new file destinations in ASM for the non-prod database.
    Set the recovery time until the last SCN on the full backup.
    Here is the error encountered during the process of restore.
    ORA-19870: error reading backup piece /exp/prod_backup/emrepdb_0_PROD_20101114_ublt0vq6_1_1
    ORA-19502: write error on file "+STG_DATA/stage/datafile/undotbs3.dbf", blockno 2641537 (blocksize=8192)
    ORA-27061: waiting for async I/Os failed
    Outer dbms_backup_restore.restoreCancel() failed
    ORA-19870: error reading backup piece /exp/prod_backup/emrepdb_0_PROD_20101114_ualt0vq5_1_1
    ORA-19502: write error on file "+STG_DATA/stage/datafile/undotbs4.dbf", blockno 1044817 (blocksize=8192)
    ORA-27061: waiting for async I/Os failed
    Outer dbms_backup_restore.restoreCancel() failed
    Any one faced the same kind of issues before?

    Hi,
    ORA-19870: error reading backup piece /exp/prod_backup/emrepdb_0_PROD_20101114_ublt0vq6_1_1here is problem with execute permissions on the backup location, give full permission to open those backup sets and read...
    post
    ls -ltr /exp/prod_backup/emrepdb_0_PROD_20101114_ublt0vq6_1_1give full permissions like *777*
    #chmod 777 -R /exp/prod_backup/*
    Thanks

  • Software upgrade issues

    i just purchased the online software upgrade from 1.x to 2.x how long should this take??? my ipod and itunes have been sitting there, apparently frozen, for almost 2 hours as of this post

    Check your date ect to make sure its correct, that stuff can mess up digital signatures. If that dosnt help try the manual package download from the apple website and we can hope that will fix it for the future and is not just a stop gap.
    http://www.apple.com/support/downloads/macosxupdate1045.html

  • DUPLICATE DATABASE IN ANOTHER HOST WITH THE SAME DATABASE NAME

    Hi all.
    I want duplicate a database(dbteste1 host:wander) to another host(magda) with the same database name.
    My tnsnames in host wander is this:
    DBTESTE1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = wander)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = dbteste1)
    DBTEST1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = magda)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = dbteste1)
    Tnsping is ok !!!
    Follow the rman command;
    RMAN> run
    duplicate target database to dbtest1 nofilenamecheck;
    and i get the following message:
    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE falhou
    ORA-01504: o nome 'dbtest1' do banco de dados nÒo corresponde ao parÔmetro db_name 'dbteste1'
    If i run this command:
    RMAN> run
    duplicate target database to dbteste1 nofilenamecheck;
    and i get the following message:
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: RMAN-20021: database not set
    RMAN-06031: could not translate database keyword
    I´m using oracle 9.2.0.7 on Windows

    Wrong procedure and connection command,
    check Oracle document,
    Duplicating a Database with Recovery Manager
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmdupdb.htm#RCMUG012
    Follow all steps listed.

  • Oracle database client 64bit issue with peopletools 8.52 Installation

    Hi,
    I have installed peopletools 8.52.I saw somewhere like oracle client 32 bit only will support and it will only work.Can someone help me why is it so or we can have 64 bit iitself.If its possible,What settings we need to do to have 64 bit database client.
    Thanks in advance.

    On Windows server, Apps and batch servers need a 32-bit Oracle client. Period. Nothing more to add. Or wait for PTools 8.53 which will be a real 64-bit application even for the client such as appDesigner and DMS.
    NIcolas.

  • Just upgraded to 2.0 software, having issues with apps and fetching

    what is fetching? it is set to manual fetching right now? what does that do and how do i fetch? also, i downloaded 9 free apps, and iTunes said it couldnt sync them to my ipod because i don't have privelages for them on my computer. can anyone help me with this? the apps are in my iTunes, but i cannot find a place to run them on my ipod. thanks!

    Fetching is the ipod manually looking for the new data,its not pushed to the ipod like mobile me is. And I have no clue about you app problem. DId you purchase them on the same computer that is the main computer for the ipod?

  • Oracle EBS 11.5.10.2 with 10g R2 database

    Hi,
    We are installing the Oracle EBS 11.5.10.2
    After installing we need to updrade the Database 9i to 10G R2. .
    So instead on upgrading 9i to 10G R2 afterwords, Can we get the stage or software of Oralce EBS 11.5.10.2 with database 10g R2 from Oracle on Oralce Edelivery web site.
    Thanks,

    Oracle E-Business Suite 11.5.10.2 comes only with 9i database. If you want to upgrade to 10gR2, please refer to:
    Note: 362203.1 - Oracle Applications Release 11i with Oracle 10g Release 2 (10.2.0)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=362203.1

  • Oracle EPM 11.1.2 issue with system-jazn-data.xml & HIT entries

    Have been working on configuring Oracle EPM 11.1.2 and have one final issue from the diagnostic utility that I cannot figure out. Configuration sequence is as follows and each step is installed in its own database:
    Step 1 - Foundation/Shared Services/Calc Mgr/EPMA/Essbase to a single relational DB. I am not configuring the web server until the final step.
    Step 2 - Hyperion Performance Scorecard
    Step 3 - Planning
    Step 4 - Profitability
    Step 5 - RA and configure web server.
    I have used both SQL Server Express 2008 and Oracle DB 11g and get the same result.
    When I complete the install, restart all of the services, and run the diagnostic utility, I get a failure with foundation services indicating that the file "system-jazn-data.xml" cannot be found. No real help is provided with the error message and have found no help in the docs or on the web. I have searched the disk and the file seems to be in the proper place per the docs. I have done partial configs and do not get the error. I have then compared the system-jazn-data.xml file from the successful config to the system-jazn-data.xml file from the failed config they are identical. Both files seem to be bloated with tens of thousands of lines, most of them blank.
    I had reached a point where I thought the issue was related to Performance Scorecard and removed that step. I am now getting the error again.
    Anyone seeing this issue? Is it just a bogus message in the diagnostic report and can be ignored? Any other thoughts?
    Thanks
    EPMCloud

    Update - After going through the install many more times, I still do not know what the issue is, but I believe I have figured out how to resolve it. It appears that if you go back (after everything is installed and configured) and reconfigure the application server for Foundation services, the issue is corrected.
    I am running some final test now and if I discover something different, I will update the post.
    EPMCloud

  • How to resolve most of the Oracle SQL , PL/SQL Performance issues with help of quick Checklist/guidelines ?

    Please go thru below important checklist/guidelines to identify issue in any Perforamnce issue and resolution in no time.
    Checklist for Quick Performance  problem Resolution
    ·         get trace, code and other information for given PE case
              - Latest Code from Production env
              - Trace (sql queries, statistics, row source operations with row count, explain plan, all wait events)
              - Program parameters & their frequently used values
              - Run Frequency of the program
              - existing Run-time/response time in Production
              - Business Purpose
    ·         Identify most time consuming SQL taking more than 60 % of program time using Trace & Code analysis
    ·         Check all mandatory parameters/bind variables are directly mapped to index columns of large transaction tables without any functions
    ·         Identify most time consuming operation(s) using Row Source Operation section
    ·         Study program parameter input directly mapped to SQL
    ·         Identify all Input bind parameters being used to SQL
    ·         Is SQL query returning large records for given inputs
    ·         what are the large tables and their respective columns being used to mapped with input parameters
    ·         which operation is scanning highest number of records in Row Source operation/Explain Plan
    ·         Is Oracle Cost Based Optimizer using right Driving table for given SQL ?
    ·         Check the time consuming index on large table and measure Index Selectivity
    ·         Study Where clause for input parameters mapped to tables and their columns to find the correct/optimal usage of index
    ·         Is correct index being used for all large tables?
    ·         Is there any Full Table Scan on Large tables ?
    ·         Is there any unwanted Table being used in SQL ?
    ·         Evaluate Join condition on Large tables and their columns
    ·         Is FTS on large table b'cos of usage of non index columns
    ·         Is there any implicit or explicit conversion causing index not getting used ?
    ·         Statistics of all large tables are upto date ?
    Quick Resolution tips
    1) Use Bulk Processing feature BULK COLLECT with LIMIT and FOR ALL for DML instead of row by row processing
    2) Use Data Caching Technique/Options to cache static data
    3) Use Pipe Line Table Functions whenever possible
    4) Use Global Temporary Table, Materialized view to process complex records
    5) Try avoiding multiple network trips for every row between two database using dblink, Use Global temporary table or set operator to reduce network trip
    6) Use EXTERNAL Table to build interface rather then creating custom table and program to Load and validate the data
    7) Understand Oracle's Cost based Optimizer and Tune most expensive SQL queries with help of Explain plan
    8) Follow Oracle PL/SQL Best Practices
    9) Review tables and their indexes being used in the SQL queries and avoid unnecessary Table scanning
    10) Avoid costly Full Table Scan on Big Transaction tables with Huge data volume,
    11) Use appropriate filtration condition on index columns of seeded Oracle tables directly mapped to program parameters
    12) Review Join condition on existing query explain plan
    13) Use Oracle hint to guide Oracle Cost based optimizer to choose best plan for your custom queries
    14) Avoid applying SQL functions on index columns
    15) Use appropriate hint to guide Oracle CBO to choose best plan to reduce response time
    Thanks
    Praful

    I understand you were trying to post something helpful to people, but sorry, this list is appalling.
    1) Use Bulk Processing feature BULK COLLECT with LIMIT and FOR ALL for DML instead of row by row processing
    No, use pure SQL.
    2) Use Data Caching Technique/Options to cache static data
    No, use pure SQL, and the database and operating system will handle caching.
    3) Use Pipe Line Table Functions whenever possible
    No, use pure SQL
    4) Use Global Temporary Table, Materialized view to process complex records
    No, use pure SQL
    5) Try avoiding multiple network trips for every row between two database using dblink, Use Global temporary table or set operator to reduce network trip
    No, use pure SQL
    6) Use EXTERNAL Table to build interface rather then creating custom table and program to Load and validate the data
    Makes no sense.
    7) Understand Oracle's Cost based Optimizer and Tune most expensive SQL queries with help of Explain plan
    What about using the execution trace?
    8) Follow Oracle PL/SQL Best Practices
    Which are?
    9) Review tables and their indexes being used in the SQL queries and avoid unnecessary Table scanning
    You mean design your database and queries properly?  And table scanning is not always bad.
    10) Avoid costly Full Table Scan on Big Transaction tables with Huge data volume,
    It depends if that is necessary or not.
    11) Use appropriate filtration condition on index columns of seeded Oracle tables directly mapped to program parameters
    No, consider that too many indexes can have an impact on overall performance and can prevent the CBO from picking the best plan.  There's far more to creating indexes than just picking every column that people are likely to search on; you have to consider the cardinality and selectivity of data, as well as the volumes of data being searched and the most common search requirements.
    12) Review Join condition on existing query explain plan
    Well, if you don't have your join conditions right then your query won't work, so that's obvious.
    13) Use Oracle hint to guide Oracle Cost based optimizer to choose best plan for your custom queries
    No.  Oracle recommends you do not use hints for query optimization (it says so in the documentation).  Only certain hints such as APPEND etc. which are more related to certain operations such as inserting data etc. are acceptable in general.  Oracle recommends you use the query optimization tools to help optimize your queries rather than use hints.
    14) Avoid applying SQL functions on index columns
    Why?  If there's a need for a function based index, then it should be used.
    15) Use appropriate hint to guide Oracle CBO to choose best plan to reduce response time
    See 13.
    In short, there are no silver bullets for dealing with performance.  Each situation is different and needs to be evaluated on its own merits.

  • Major Sync and software update issue with windows 7 and iphone

    Loved my iPhone 3g and love my 4.0! My only concern is syncing and software updates are sporadic.
    When I first purchased and sync'd my 3g on my laptop, that I had since 2005 w/XP home 64bit, it would constantly (1 out of 5 times) show phone was disconnected and could not sync. Purchased a desktop, 2009 w/Vista 64bit (same issue mentioned continued) then upgraded to windows 7 64bit (same issue mentioned continued).
    Both pc's are authorized and contain the same apps and software. I went through all trouble shooting steps (authorize/deauthorize, phone hard boot, sync w/airplane mode on and/or off, uninstall and or reinstall iTunes, etc...) when both phones would brick after software updates on both pc's.
    The last software update 4.0 and most recent 4.2.1 went well on laptop with XP and no longer shows sync issue. The problem continues on the windows 7 and backup has completed successfully 3 times.
    Long story short, I have to pray the laptop never dies because iTunes, syncing and software updates on XP works now! The problem with software update, backups and syncing persists on windows 7.
    * I was able to apply 4.2.1 software update on XP and then connect to windows 7 to sync and backup successfully. I then disconnected/reconnected iphone to windows 7 and problem happened again, unable to sync phone was disconnected error message.

    I've had my new pc for over a year, never had any probs syncing my iphone (then a 3G but now the big 4!)
    I went to sync updates to Apps and a couple of tunes I had downloaded straight to my phone only to get an error message 'iTunes has stopped working - windows is checking the problem' followed by another messaged telling me there was a problem causing the program not to work correctly. Windows will close the program and notify me if a solution is found'
    Well..... I have NO music on my iPhone and every time I try to sync, the same error messages come up and the bloody program shuts down....

Maybe you are looking for

  • Thumbnails- how do I see the image?

    Help- I heard there is a download patch for this, but I don't know which one it is!! Every time I upload RAW files to my computer the thumbnails are an Adobe icon and not a smaller version of the image (unless I am in Bridge, then they are the image)

  • Display picture problem since 4 days

    I have problem in my display picture. My old picture doesn't change from 4 days , I tried to do everything I can but no good result so what I have to do?  Please advise me.

  • When I bounce my track,it crashes straight away, before the window comes up

    Hi guys I have Logic Pro 7.0 and when I click on bounce, the colourful wheely thing comes up and then logic closes, and a error message come up "logic quit unexpectedly". I have tried un tick all non-logic plug-ins from au manager but that didn't wor

  • Adobe Download Assistant freeze

    OS:vista business brower: Firefox6.0 problem: after install Adobe Download Assistant and running the program,install didn't start. in the sign in form after click sign in button it still no response, no error msg, no success msg, nothing change in si

  • Help! please with variable name problems

    I have a program that administers a quiz but the no. of questions in the quiz is variable, qarray holds the questions. I am using card layout and i need to set up a new card for each questions. The number of answer choices to multiple choice question