Upgarding 10g database to 11g

I have created 10g database in Linux .
Now I want to upgrade it to 11g.
I have installed 11g software in my Linux machine .
I logged in as sysdba and then I did shut down the 10g db . Later I started it up in upgarde mode and tried running catupgrd.sql.
But I got the error as ORA-01722: invalid number
When I looked into catupgrd.sql script I found this information
The following statement will cause an "ORA-01722: invalid number"
error if the database server version is not correct for this script.Shutdown ABORT and use a different script or a different server.
SELECT TO_NUMBER('MUST_BE_11_1') FROM v$instance
WHERE substr(version,1,6) != '11.1.0';
So I checked the columns of v$instance
SQL> select instance_name,HOST_NAME,VERSION,STATUS,DATABASE_STATUS,ACTIVE_STATE from v$instance;
INSTANCE_NAME HOST_NAME VERSION STATUS DATABASE_STATUS ACTIVE_ST
learn11 ap6108rt 10.2.0.1.0 OPEN MIGRATE ACTIVE NORMAL
What should be done to change the version ?

Later I started it up in upgarde mode and trUsing which home? 10g or 11g?
Is the database still in 10g home?

Similar Messages

  • Difference btween oracle 10G database & oracle 11G database

    Hi
    i have a web application have 10G database engine, now i will upload it on a host server witch supports oracle 11G database.
    can i export Dump file from my Oracle10g database and import it into oracle 11G database successful.
    what can i do?
    please suggest me
    thank you

    Hi,
    Difference btween oracle 10G database & oracle 11G database Here is a complete list:
    http://www.dba-oracle.com/oracle11g/oracle_11g_new_features.htm
    can i export Dump file from my Oracle10g database and import it into oracle 11G database successful.Yes. Oracle supports backward compatibility . . .
    You mght not, however do it the other way . . .
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/t_oracle_tuning_book.htm
    "Time flies like an arrow; Fruit flies like a banana".

  • Restoring 10g database to 11g

    Hello Experts,
    I have to migrate the 10.2.0.4 database to 11.2.0.3 database and trying to search some RMAN option.
    Can anyone let me know how to do it. I do not want to restore sys and system from 10g to 11g.
    Thank you....

    Hi,
    The way I've done it earlier, is to do a clean install of 11g, creating tablespaces and users corresponding to the ones in the 10g instance, and then "restored" the user data through exp(dp)/imp(dp).
    I don't think that RMAN supports restoring into a different version.
    HtH
    Johan

  • CONNECT BY QUERY returns different count of rown in 10g resp. 11g databases

    Folks,
    I just spot a bellow issue in our databases.
    1.) 10g database:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select * from global_name;
    SQL> SELECT ROWNUM
      2    FROM   dual
      3  CONNECT BY ROWNUM <= 2;
        ROWNUM
             1
             2
             3
    SQL> 2. 11g database
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select * from global_name;
    SQL> SELECT ROWNUM
      2    FROM   dual
      3    CONNECT BY ROWNUM <= 2;
        ROWNUM
             1
             2
    SQL> As you can see in 10g above query returns 3 records, in 11g only 2.
    Why it's like that? Can it be somehow set, to produce the same output?
    Many thanks,
    Tomas

    I get correct rows on both database version !
    Oracle Versions
    10g 10.2.0.1.0
    11g 11.1.0.6.0
    SQL> select rownum from dual connect by rownum <= 2;
        ROWNUM
             1
             2
    SQL> select * from v$version ;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> select rownum from dual connect by rownum <= 2;
        ROWNUM
             1
             2
    SQL> select * from v$version ;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production

  • How to create a database in 11g from an archive taken from 10g

    Hi
    I appreciate that some of you may find this a silly question, but it is a situation that has been given to me.
    The situation in detail is that I am working on project where a part of a company has been sold off to someone else and I am working on part of the separation of IT Systems. The old company has supplied archive (ARC) files containing data that relates to the company which is being sold off. There are files such TSN, listener, and control files. The source data originated from an Oracle 10g database, but it is not possible to download a copy of 10g anymore, and so I have downloaded the earliest version of 11g. I have installed 11g without creating a new database, and my questions are as follows:
    1) Is it possible to re-create the database on the supplied data from the archive logs
    2) If possible, how do you so it - step by step (I am not a DBA but a Microsoft .Net Developer.
    Thanks
    Andy

    user633278 wrote:
    Yes, the DBA has supplied a backup of the database. All I am looking to do is to create from this backup. Is there a simple GUI that can do this for me with minimal touch? As I said I just need step-by-step instructions that can guide me through this so I don't muck it up!
    As with many things Oracle the answer is: it depends.
    There are too many potential differences between the (unknown) features your 10g database used and the feature set of 11g.
    This doc link will give you a sense of how just 'unstraight forward' it can be.
    http://docs.oracle.com/cd/E11882_01/server.112/e17222/upgrade.htm
    In particular see this section:
    Using the Pre-Upgrade Information Tool
    After you have installed the software for Oracle Database 11g Release 2 (11.2) and any required patches, Oracle recommends that you analyze your database before upgrading it to the new release. This is done by running the Pre-Upgrade Information Tool from the environment of the database you are to upgrade. The Pre-Upgrade Information Tool is a SQL script included with Oracle Database 11g Release 2 (11.2) software. This is a required step if you are upgrading manually; otherwise, the catupgrd.sql script terminates with errors. Running the Pre-Upgrade Information Tool is also recommended if you are upgrading with DBUA, so that you can preview the items that DBUA checks.
    In other words, the normal upgrade path involves performing checks against the CURRENT 10g database to identify any real or potential problems.
    Those checks are done BEFORE you take the 10g backup.
    You should also search the net for 'oracle 11g restore 10g backup' and read some of the many threads that have been posted with your same question. They will give you a sense that the process can be problematic and dependent on the type of backup (cold, hot) and how it was taken (manually or RMAN).
    Your best chances for success are to do things the 'normal' way. That means contacting Oracle support to get the discs/download for 10g and then installing 10g and recovering the 10g database from the current 10g backup. The closer you can make the recovery environment and instance configuration the same as the original the fewer problems you are likely to have.
    Or have the old company provide either the original 10g discs or at least provide the installation, control file and configuration information so you can recover the 10g database correctly.
    As already suggested you should first make sure you have a reliable COPY of those backup files and you should use that copy for all of your testing of recovery settings.
    Please tell us if you think you will be able to obtain the 10g software for reinstallation or not.

  • WAY TO IMPORT DATA FROM 11G DATABASE TO 10G DATABASE?

    Hi All,
    I have a requirement to take an full export dump of an Oracle database and import it fully to a 10g database.
    I have never touched 11G until now and would like to know whether the 11G expdp will be downward
    compatible so that I can use the dump file(created by 11G expdp) to import it to 10G(using 10d impdp).
    Or if it is not possible, can you please brief me the steps I should follow here?
    Note: I have only 11G installed in this server.
    Regards
    Satish

    Oracle's Data Pump (expdp) utility has a VERSION parameter. Here is an excerpt from the documentation:
    VERSION
    Default: COMPATIBLE
    Purpose
    Specifies the version of database objects to be exported. This can be used to create a dump file set that is compatible with a previous release of Oracle Database. Note that this does not mean that Data Pump Export can be used with versions of Oracle Database prior to 10.1. Data Pump Export only works with Oracle Database 10g release 1 (10.1) or later. The VERSION parameter simply allows you to identify the version of the objects being exported.
    Syntax and Description
    VERSION={COMPATIBLE | LATEST | version_string}
    The legal values for the VERSION parameter are as follows:
        * COMPATIBLE - This is the default value. The version of the metadata corresponds to the database compatibility level. Database compatibility must be set to 9.2 or higher.
        * LATEST - The version of the metadata corresponds to the database version.
        * version_string - A specific database version (for example, 11.1.0). In Oracle Database 11g, this value cannot be lower than 9.2.
    Database objects or attributes that are incompatible with the specified version will not be exported. For example, tables containing new datatypes that are not supported in the specified version will not be exported.
    Here is a link to the documentation.
    Hope this helps!

  • Preparing for Oracle OCA 11g using an Oracle Express 10g database

    As a software application developer, I have been considering Oracle certification for a while to enhance my skill set. Unfortunately I don't have access to a commercial Oracle installation, and would like to use a free version of Oracle Express during my studies. The latest OCA courses largely focus on Oracle 11g, and it would appear that there is no free (Express) 11g database available yet.
    Could anyone please advise me whether it would be possible and practical to prepare for the 1Z0-051 Oracle Database 11g: SQL Fundamentals I and 1Z0-052 Oracle Database 11g: Administration I exams using an Oracle Express 10g database instance, while accompanied by the relevant Oracle 11g study material? In other words, is the overlap between Oracle 10g and 11g sufficient that a solid understanding of 10g could allow me to successfully sit the 11g exams? Furthermore, would the Express edition of the database provide sufficient functionality to prepare for the Administration exam?

    user10750763 wrote:
    As a software application developer, I have been considering Oracle certification for a while to enhance my skill set. Unfortunately I don't have access to a commercial Oracle installation, and would like to use a free version of Oracle Express during my studies. The latest OCA courses largely focus on Oracle 11g, and it would appear that there is no free (Express) 11g database available yet.
    Could anyone please advise me whether it would be possible and practical to prepare for the 1Z0-051 Oracle Database 11g: SQL Fundamentals I and 1Z0-052 Oracle Database 11g: Administration I exams using an Oracle Express 10g database instance, while accompanied by the relevant Oracle 11g study material? In other words, is the overlap between Oracle 10g and 11g sufficient that a solid understanding of 10g could allow me to successfully sit the 11g exams? Furthermore, would the Express edition of the database provide sufficient functionality to prepare for the Administration exam?Using Oracle 10g express edition to prepare for 1z0-051 should be OK.
    (http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_org_id=1080544&lang=US&p_exam_id=1Z0_051 says Exam 051 has been validated against Oracle Database 10g and Oracle Database 11g. Training on either version will be appropriate preparation.).
    For 1z0-052 the situation is different. Oracle 10g express edition hides some of the administration tasks ... you really need to be using 11g.
    If you dont waht Oracle 11g all over your regular machine then I would typically recommend install Oracle Enterprise Linux either on a spare machine with a dual core or HT processor and with 2GB or more of memory (eg Dell gx280 or better); or using a virtualisation solution on your current machine (ram would need to be 3GB or higher) (eg virtualbox or whatever ... though windows as a guest can have a license issue).

  • I had migrated Oracle 10g database from Windows to Oracle 11g Linux

    I had migrated Oracle 10g database from Windows to Oracle 11g Linux.  The database is performing very slow.
    Please guide me where I have to begin (starting point) looking into it.
    Some document stated gather system statistics.  How to check system statistics is up to date
    What are the crucial initialization parameter ?

    Hi,
    Let me just point you out to the documentation, which may concern you:
    I had migrated Oracle 10g database from Windows to Oracle 11g Linux.  The database is performing very slow.
    Managing Optimizer Statistics
    How to check system statistics is up to date
    Managing Optimizer Statistics
    What are the crucial initialization parameter ?
    Configuring a Database for Performance
    Thanks &
    Best Regards,

  • Authenticating 10g databases against OID 11g

    Hi.
    Our client currently uses OID 10g to authenticate users on their 10g databases. They intend to begin an upgrade to 11g beginning with the OID upgrade. Some applications though are likely to remain on 10g databases for the foreseeable future.
    Will it remain possible to authenticate existing 10g database installations against the new OID 11g setup?
    If so, will this happen automatically as part of the OID 10g->11g upgrade steps?
    Many thanks.
    Edited by: 893987 on 31-Oct-2011 08:49

    Hi Sridhar
    Did you come right with the Oracle case insensitive connection? I am at a client site and they are asking if I can create an Oracle case insensitive connection and need to know how to do this.
    I have come right now. I have added the following into the parameters in the universe:
    NTS_COMP = LINGUISTIC
    NTS_SORT = BINARY_CI
    When running a query the selection does not have to be case sensitive. eg. In the database it shows as "SOFTWARE" and if I run a query looking for "software" it returns the correct data.
    Thanks
    Sharon

  • Database upgradation steps from Oracle Database 10g EE to 11g R2

    If any document/Steps available for the upgradation of database from Oracle Database 10g EE to 11g R2 please provide us.
    Thank you.

    Please refer to this document for a step by step guide:
    http://www.oracleflash.com/34/Upgrade-Oracle-10g-Release-2-to-Oracle-11g-Release-2.html

  • Wrong results after upgrading 10g database to 11.2.0.2.6

    Hi,
    Do anyone know, why the following query results are different?
    Not Working query:
    sql1:
    select col1 from tab1
    where col1 = (select '123' from dual)
    Working query:
    sql2:
    select col1 from tab1
    where col1 = '123';
    Both the sql1 and sql2 are returning same reseults in 10g database , but not in 11g.

    Pl post OS details along with sample outputs and explain plans from the the sql1 statement from the two databases. These MOS Docs may help also
    Things to Consider Before Upgrading to 11.2.0.2 to Avoid Poor Performance or Wrong Results [ID 1320966.1]
    Wrong Results on 11.2.0.2 with Function-Based Index and OR Expansion [ID 1264550.1]
    Wrong Results/No Rows for Sql Involving Functions in 11.2.0.2. [ID 1380679.1]
    HTH
    Srini

  • Query  Regarding Updation/Migration of ODI 10g To ODI 11g.

    Hi All,
    Currently I am using ODI 10g Version & Repositories ( Work & Master) have been installed on Oracle database version "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi"
    We are thinking to migrate from ODI 10g to ODI 11g Version 11.1.1.5 & i have some queries which are metioned below.
    1. Can we install ODI 11g Version 11.1.1.5 version with Repositories ( Work & Master) on Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi" or do i need to upgrade my database version to 11G?.
    2. If yes then, Can i upgrade or use exting Repositoires ( 10g one) for ODI 11g OR i have to create new Repositoires & move/migrate the objects of 10G repositories as mentioned in the Oracle installation doc.
    3. Currently I am using OBIEE 10g for reposrting purpose & if i switch to ODI 11g , Do i need to use OBIEE 11g?
    ODI gurus, I need your reponse ASAP & i have to share it on urgent basis.
    Thanks
    Edited by: neeraj_singh on May 15, 2013 9:58 PM

    neeraj_singh wrote:
    Hi All,
    Currently I am using ODI 10g Version & Repositories ( Work & Master) have been installed on Oracle database version "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi"
    We are thinking to migrate from ODI 10g to ODI 11g Version 11.1.1.5 & i have some queries which are metioned below.
    1. Can we install ODI 11g Version 11.1.1.5 version with Repositories ( Work & Master) on Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi" or do i need to upgrade my database version to 11G?.You can install ODI 11.1.1.5 but you have to upgrade your repositories using upgrade assistant
    refer http://docs.oracle.com/cd/E23943_01/upgrade.1111/e12642/tasklist.htm#CIHGIDFG
    2. If yes then, Can i upgrade or use exting Repositoires ( 10g one) for ODI 11g OR i have to create new Repositoires & move/migrate the objects of 10G repositories as mentioned in the Oracle installation doc.No need to create new repositories. You just upgrade them. But you need to takecare of certain things as you are a 10g user. Refer below link for the prerequisite
    http://docs.oracle.com/cd/E23943_01/upgrade.1111/e12642/prevusers.htm
    3. Currently I am using OBIEE 10g for reposrting purpose & if i switch to ODI 11g , Do i need to use OBIEE 11g?Not clear about the question ?
    >
    ODI gurus, I need your reponse ASAP & i have to share it on urgent basis.
    Thanks
    Edited by: neeraj_singh on May 15, 2013 9:58 PM

  • Running JAXB2 in a 10g Database

    Hi All,
    We have some java business logic which uses JAXB2. We now would like to be able to call / store this java code inside the database. It's a 10g database, which I understand has the 1.4 JVM, so I've retrotranslated the code (and the JAXB2 dependencies) and created a compatible jar. The loadjava command^1^ completes successfully, however when I try and execute the code which unmarshals the XML, I get the following error: Caused by: java.lang.RuntimeException: Provider com.sun.xml.bind.v2.ContextFactory could not be instantiated: javax.xml.bind.JAXBException: Provider com.sun.xml.bind.v2.ContextFactory not found
    The ContextFactory is definitely in the jar file. Looking through the generated DB trace file I see the following:
    creating : class com/sun/xml/bind/v2/ContextFactory with resolver ((* london) (* PUBLIC) (org/apache/* -) (jp/gr/xml/relax/* -) (com/bea/* -) (javax/management/* -) (com/thoughtworks/xstream/* -) (org/jvnet/* -) (com/sun/xml/fastinfoset/* -) (sun/misc/* -))
    but then, instead of resolving the class:
    skipping : class com/sun/xml/bind/v2/ContextFactory
    Why would the ContextFactory be skipped? Is there any way I can force the loadjava command to resolve it?
    1. The server-side loadJava command I use is: call sys.dbms_java.loadjava( '-force -verbose -resolve /scripts/p3/db_sql/cta23001.jar','((* london) (* PUBLIC) (org/apache/* -) (jp/gr/xml/relax/* -) (com/bea/* -) (javax/management/* -) (com/thoughtworks/xstream/* -) (org/jvnet/* -) (com/sun/xml/fastinfoset/* -) (sun/misc/* -))' );

    Hi:
    You can find Jaxb related classes implemented by Oracle into ${ORACLE_HOME}/lib/xml.jar but not all classes should be installed, please look at Ant task named unpack-jaxb-classes at:
    [http://dbprism.cvs.sourceforge.net/viewvc/dbprism/cms-2.1/tasks/cms.xml?revision=1.19&view=markup]
    this Ant task extract all Jaxb required classes which can be installed into an Oracle 10g/11g database, see the Task pre-install which install this jar into SYS's schema.
    To see how to use Jaxb marshall/unmarshall operation please take a look at the method processRequestAction, inside the code you can see how to instantiate the marshaller and unmarshaller:
    [http://dbprism.cvs.sourceforge.net/viewvc/dbprism/cms-2.1/src/com/prism/cms/action/Controller.java?revision=1.8&view=markup]
    Best regards, Marcelo.

  • Problems in creating Materialized View from 10g R2  to 11g

    Hi,
    We have two databases in 10g Release 2. These databases are on two different servers and we use
    Materialized views to replicate data between these servers. We are currently using 64 bit version of
    oracle 10g release 2 for LINUX.
    Oracle Database 10g Release 10.2.0.1.0 - 64 bit Production
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    We use CENTOS 5 - 64 bit edition
    We upgraded one of the databases to 11g (We exported the data from old database and
    imported it in new database) . Then we tried to create a Materialized view with incremental refresh
    on it where the base table is in the second Oracle 10g database.
    The problem is that it is not letting us create the view with FAST Refresh. It kept on giving ORA-12028
    error. We tried different remedies suggested on forums like creating a view with ROWID, but still it
    continued giving us the same error. We also synchronized the characterset of Oracle 10g and Oracle 11g
    installations but still it did not work.
    Our base table size is pretty large (over 10 Million records) and if we do a full refresh, it takes hours to
    refresh it.
    Without incremental refresh, we will not be able to fucntion, and to upgrade both database simultaneously
    we will need a large down-time which also we can not afford.
    Please advise what should we do.
    Best Regards
    Madhup
    Edited by: Madhup on Mar 2, 2009 10:45 AM

    Hello,
    Yesterday I met the same problem and very sad about this, however, my story is much more complicated (I think so).
    I have 6 databases:
    2 - 11g
    2 - 10g
    2 - 9i
    Every database of each release has different characterset(UTF8 and AL16UTF16).
    I am trying to create Materialized view with FAST REFRESH on Oracle 11g, when master tables are located on 10g database and 9i database.
    Materialized view, which points to 9i database, was successfully created.
    Materialized view, which points to 10g database, gets ORA-12028
    Like you, I tried many notes from METALINK and thought at the begining that the problem is my characterset. But, when the materialized views were successfully built on Oracle 9i database, I understood that the problem is something else.
    Did you find the actual reason why this issue does not work??
    Thanks,
    Alex

  • Oracle 10g vs Oracle 11g query performance

    Hi everyone,
    We are moving from Oracle 10g to Oracle 11g database.
    I have a query which in Oracle 1g takes 85 seconds to run, but when I run the same query in Oracle 11g database, it takes 635 seconds.
    I have confirmed that all indexes on tables involved are enabled.
    Does anyone have any pointers, what should I look into. I have compared explain plans and clearly they are different. Oracle 11g is taking a different approach than Oracle 1g.
    Thanks

    Pl post details of OS versions, exact database versions (to 4 digits) and init.ora parameters of the 10g and 11g databases. Have statistics been gathered after the upgrade ?
    For posting tuning requests, pl see these threads
    HOW TO: Post a SQL statement tuning request - template posting
    When your query takes too long ...
    Pl see if the SQL Performance Analyzer can help - MOS Doc 562899.1 (TESTING SQL PERFORMANCE IMPACT OF AN ORACLE 9i TO ORACLE DATABASE 10g RELEASE 2 UPGRADE WITH SQL PERFORMANCE ANALYZER)
    HTH
    Srini

Maybe you are looking for

  • Importing text file to Access database

    This is my first time working with Java and databases so I'm very green. I need to read a delimited .txt file in (I know how to do this), separate the text by delimiters (I know how), open the connection to database (don't know), write to database ta

  • Printing of Preview pdf Files

    September 7, 2006 When using Preview, pdf documents that have multiple pages, some being portrait and some being landscape there are four problems that I do not know how to work around, Any suggestions would be appreciated. 1. Preview does not print

  • What are the limitations of layout builder

    Hello BPS Experts, what are the limitations of the layout builder. Suggestions appreciated. Thanks, BWer

  • Do you know , what is Double level domain in ABAP ?

    1. Do you know , what is Double level domain in ABAP ? 2. Have  you heard of any concept called " loggi " or simillar ...?

  • Need information on the transfer posting from WM To IM

    Hello All, Is there any scenario in WM and IM, where you are doing the transfer posting in MIGO_TR and creating the material doc for it. Now the stock moves in IM but when u create TO for the material doc and confirm the TO. That's where the stock mo