Manual Upgrade from Oracle 10.2.0.4 to 11.2.0.2

we are planning oracle DB version from oracle 10.2.0.4 to 11.2.0.2 , we are doing in AIX BOX.
Below is steps can some one clarify if something is missing.
1)Cold backup
2)Start the db and change it into no archivelog mode
3)shut db
4)start in Upgrade mode
5)run catupgrd.sql
6)normal startup of DB
7)run catuppst.sql
Can someone help me in upgrading timezone file in the process. where to have this step fit in.?

916610 wrote:
Yes, we have a specific reason to do the manual upgrade due to the semantics(in char) issue in the current db. which has bugs in the 10gr2 , hence we are upgrading in manual method.Pl post a link to this issue
DBUA does exactly what the manual upgrade does, except that it is automated. They are not different processes.
Thanks
Srini

Similar Messages

  • Upgrade from oracle 10.2.0.4 to 11.2.0.2

    We have a need to test the upgrade from oracle 10.2.0.4 to 11.2.0.2. For the 10.2.0.4 DB, we are not using RMAN for back-up. We are using manual file back-up of data files, archives etc.,
    The OS is Suse 10 Linux or HP-UX 11.
    If we want to use RMAN on the 11.2.0.2 DB, do we need to take any extra steps for RMAN before upgrade / after upgrade? Any relevant advice is welcome. thanks.

    1. Take all datafiles backup with current controlfile.
    2. Take all the archive logs backup before up gradation start.
    3. If possible take a cold backup as well.
    Regards
    Asif Kabir

  • How to upgrade from oracle database 10g 10.1.0.3 to 10.1.0.5 or 10.2.0.4

    I have a oracle database 10g version 10.1.0.3 on solaris 10 x86. I can't find the recent patches suitable to my database.
    How can I upgrade it to 10.1.0.5 or higher (10.2.0.4)?
    Thanks.

    take a looks at this metalink doc for all upgrade needs...
    sub: Complete checklist for manual upgrades of Oracle databases from anyversion to any version on any platform (documents only from 7.3.x>>8.0.x>>8.1.x>>9.0.x>>9.2.x>>10.1.x>>10.2.x>>11.1.x)
    Doc ID:      421191.1

  • Upgrade from Oracle 9.2 to 11.2

    Hi
    I want to do a upgrade from oracle 9.2 to oracle 11.2 (Step by Step procedure).
    Please kindly share simple procedure for upgrade and checks need to me done post upgrade.
    if possible scripts for post upgrade.
    Jass

    You have basically two ways how to do this. The first method is to upgrade the database either manually or using Database Upgrade Assistant. You have to be on the last 9.2. patchset or have to upgrade to the last patchset first. This method was suggested by Srini and you should really read those documents, that he suggested, before you will proceed with this.
    The other method is to simply create a new empty 11.2 database and then transfer data using exp/imp utility. This method can be used no matter what version you are on and it is usually rather straightforward process with very few problems to deal with. However, it is time consuming as all data has to be exported and imported, which might not be possible if your database is big and your outage window too short. There are ways how to shorten the outage significantly when using this method, but that would be for longer talk.
    You will also need more disk space, preferably enough that you will be able to fit both databases (old 9.2 and new 11.2) concurrently.
    D.

  • Upgrade from oracle 9.2.0.6 to 9.2.0.8.

    Hi all,
    I have to upgrade from oracle 9.2.0.6 to 9.2.0.8.
    Please let me know the steps or post a metalink note for this.
    my linux version:-
    Enterprise Linux Enterprise Linux AS release 4 (October Update 6)
    Basically i have to upgrade from 9.2.0.6 to 11i , but as per my knowledge it is not possible to directly move from 9.2.0.6 to 11i .
    If this is possible then please let me know the steps or metalink note.

    Thanks to all for help.
    I have downloaded the patch and started the upgradation,
    But meanwhile i am getting error.
    I am pasting the log file content.
    =======================================
    - Linking Oracle
    rm -f /data/oracle/db/proddb/9.2.0/rdbms/lib/oracle
    gcc -o /data/oracle/db/proddb/9.2.0/rdbms/lib/oracle -L/data/oracle/db/proddb/9.2.0/rdbms/lib/ -L/data/oracle/db/proddb/9.2.0/lib/ -L/data/oracle/db/proddb/9.2.0/lib/stubs/ -Wl,-E `test -f /data/oracle/db/proddb/9.2.0/rdbms/lib/skgaioi.o && echo /data/oracle/db/proddb/9.2.0/rdbms/lib/skgaioi.o` /data/oracle/db/proddb/9.2.0/rdbms/lib/opimai.o /data/oracle/db/proddb/9.2.0/rdbms/lib/ssoraed.o /data/oracle/db/proddb/9.2.0/rdbms/lib/ttcsoi.o /data/oracle/db/proddb/9.2.0/lib/nautab.o /data/oracle/db/proddb/9.2.0/lib/naeet.o /data/oracle/db/proddb/9.2.0/lib/naect.o /data/oracle/db/proddb/9.2.0/lib/naedhs.o /data/oracle/db/proddb/9.2.0/rdbms/lib/config.o -lserver9 -lodm9 -lskgxp9 -lskgxn9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 /data/oracle/db/proddb/9.2.0/rdbms/lib/defopt.o -lknlopt `if /usr/bin/ar tv /data/oracle/db/proddb/9.2.0/rdbms/lib/libknlopt.a | grep xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap9" ; fi` -lslax9 -lpls9 -lplp9 -lserver9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 -lknlopt -lslax9 -lpls9 -lplp9 -ljox9 -lserver9 -locijdbcst9 -lwwg9 `cat /data/oracle/db/proddb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /data/oracle/db/proddb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /data/oracle/db/proddb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /data/oracle/db/proddb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `if /usr/bin/ar tv /data/oracle/db/proddb/9.2.0/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo9"; fi` -lctxc9 -lctx9 -lzx9 -lgx9 -lctx9 -lzx9 -lgx9 -lordimt9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lsnls9 -lunls9 -lxsd9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /data/oracle/db/proddb/9.2.0/lib/sysliblist` -Wl,-rpath,/data/oracle/db/proddb/9.2.0/lib:/lib:/usr/lib -lm `cat /data/oracle/db/proddb/9.2.0/lib/sysliblist` -ldl -lm `test -f /data/oracle/db/proddb/9.2.0/rdbms/lib/skgaioi.o && echo -laio`
    /data/oracle/db/proddb/9.2.0/rdbms/lib/opimai.o: file not recognized: File format not recognized
    collect2: ld returned 1 exit status
    make: *** [data/oracle/db/proddb/9.2.0/rdbms/lib/oracle] Error 1
    End output from spawned process.
    Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target 'ioracle' of makefile '/data/oracle/db/proddb/9.2.0/rdbms/lib/ins_rdbms.mk'. See '/etc/oraInventory/logs/installActions2011-02-23_09-46-08AM.log' for details.
    Exception Severity: 1
    The output of this make operation is also available at: '/data/oracle/db/proddb/9.2.0/install/make.log'
    ====================================================================================
    content of /data/oracle/db/proddb/9.2.0/install/make.log*
    - Linking Oracle
    rm -f /data/oracle/db/proddb/9.2.0/rdbms/lib/oracle
    gcc -o /data/oracle/db/proddb/9.2.0/rdbms/lib/oracle -L/data/oracle/db/proddb/9.2.0/rdbms/lib/ -L/data/oracle/db/proddb/9.2.0/lib/ -L/data/oracle/db/proddb/9.2.0/lib/stubs/ -Wl,-E `test -f /data/oracle/db/proddb/9.2.0/rdbms/lib/skgaioi.o && echo /data/oracle/db/proddb/9.2.0/rdbms/lib/skgaioi.o` /data/oracle/db/proddb/9.2.0/rdbms/lib/opimai.o /data/oracle/db/proddb/9.2.0/rdbms/lib/ssoraed.o /data/oracle/db/proddb/9.2.0/rdbms/lib/ttcsoi.o /data/oracle/db/proddb/9.2.0/lib/nautab.o /data/oracle/db/proddb/9.2.0/lib/naeet.o /data/oracle/db/proddb/9.2.0/lib/naect.o /data/oracle/db/proddb/9.2.0/lib/naedhs.o /data/oracle/db/proddb/9.2.0/rdbms/lib/config.o -lserver9 -lodm9 -lskgxp9 -lskgxn9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 /data/oracle/db/proddb/9.2.0/rdbms/lib/defopt.o -lknlopt `if /usr/bin/ar tv /data/oracle/db/proddb/9.2.0/rdbms/lib/libknlopt.a | grep xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap9" ; fi` -lslax9 -lpls9 -lplp9 -lserver9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 -lknlopt -lslax9 -lpls9 -lplp9 -ljox9 -lserver9 -locijdbcst9 -lwwg9 `cat /data/oracle/db/proddb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /data/oracle/db/proddb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /data/oracle/db/proddb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /data/oracle/db/proddb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `if /usr/bin/ar tv /data/oracle/db/proddb/9.2.0/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo9"; fi` -lctxc9 -lctx9 -lzx9 -lgx9 -lctx9 -lzx9 -lgx9 -lordimt9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lsnls9 -lunls9 -lxsd9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /data/oracle/db/proddb/9.2.0/lib/sysliblist` -Wl,-rpath,/data/oracle/db/proddb/9.2.0/lib:/lib:/usr/lib -lm `cat /data/oracle/db/proddb/9.2.0/lib/sysliblist` -ldl -lm `test -f /data/oracle/db/proddb/9.2.0/rdbms/lib/skgaioi.o && echo -laio`
    /data/oracle/db/proddb/9.2.0/rdbms/lib/opimai.o: file not recognized: File format not recognized
    collect2: ld returned 1 exit status
    make: *** [data/oracle/db/proddb/9.2.0/rdbms/lib/oracle] Error 1
    =====================================================================================================
    Thanks and Regards,
    Varun.

  • After upgradation from Oracle 9i to Oracle 10g,one proc is throwing error

    recently upgraded from Oracle 9i to Oracle 10g. We have some Oracle procedures which are not working in Oracle 10g.
    A section of code from one of the procedures looks somewhat like the code below:
    Declare
    Cursor c_matched_records (…..) is
    Select a.field 1, b.field2
    From table1 a, table2 b
    Where a.field3=b.field1
    FOR UPDATE;
    BEGIN
    For records in c_matched_records
    LOOP
    -- Continue processing
    -- Update records
    COMMIT;
    END LOOP;
    END;This section of the code throws out the following error in Oracle 10g
    ORA-01002: fetch out of sequence during PUT outputFile file
    However this code was working fine in Oracle 9i.
    please help me with this?
    Thanks

    I believe you are lucky that the pl/sql is okay in Oracle 9i. How about remove the commit statement? Why do you need it in the loop. I look up metalink. You may refer to article ID 257914.1

  • Upgrade from oracle 10.2.0.3 to 10.2.0.4 Server or Clients first?

    Hello,
    I'm planning to Upgrade from oracle 10.2.0.3 to 10.2.0.4 on Windows
    Server and Clients ar running now on 10.2.0.3.
    I cannot Upgrade both at the same time.
    What is recommend to upgrade first? Server or Clients?
    Thank you!
    stepe

    Hi,
    No matter the order the client / server compatibility is not so strict. Check MOS note 207303.1
    You can connect with a 10.2.0.3 client on a 10.2.0.4 database or with a 10.2.0.4 client on a 10.2.0.3 database. In fact you could even connect with a 9.2.0.8 client if it was still supported.
    As Ollear mentioned you client application needs of course to be tested but it should work fine.
    Notice the 10.2.0.5 patchset has been released.
    Best regards
    Phil

  • Upgrading from Oracle 10G standard edition to Oracle 10G enterprise edition

    Hi
    I want to upgrade from Oracle 10G standard edition to Oracle 10G enterprise edition. Is there any script provided by oracle which I can run on existing Oracle 10G standard edition to upgrade to enterprise edition after completing the licensing formalities or do I need to install Oracle 10g Enterprise edition from scratch and then migrate my data.
    Ramanbir S

    You will not need to perform any data migration to upgrade to EE. The diffetence between standard en enerprise editions are the features offered. When you upgrade you can use the same set of files you used to install standard edition and just add the enterprise edition features you want to use in the 'Custom' section of the Universal Installer.

  • Upgrade from Oracle 9.2.0.1 to Oracle 9.2.0.4

    Hi,
    I want to upgrade from Oracle 9.2.0.1 client to Oracle 9.2.0.4 client, from where I can find 9.2.0.4 version. Can any tell me what is patch number for this. my orale admin tried to find the patch but he did not had any success.
    Thanks
    naren

    Here you can tell your admin:
    After logon Metalink, click on "Patches" at the left side -> Click on the 3rd link (Quick Links to the Latest Patchsets, Mini Packs, and Maintenance Packs) -> Move your mouse over "Oracle Database", then a blue box shows up -> Select a platform(example: Microsoft Windows 32-bit) -> click on 9.2.0.4 (or 9.2.0.5) -> Click on Patch number at the lower part then you can download it.
    After the patch installed, you will see the release number from your SQL*Plus session.

  • Upgrade from Oracle 11.5.3 to Oracle 11.5.8 HRMS Upgrade

    HI,
    Can someone please help me know the patches and pre- requisites for an HRMS upgrade from Oracle 11.5.3 to Oracle 11.5.8.
    Would appreciate the help.
    regards
    Viraat

    Can tell me also, I have the same task to do. [email protected]

  • Upgrading from Oracle E-Business Suite 10.7 to Oracle E-Business Suite Rele

    Hi,
    I need some help(Steps) to get start Upgrading from Oracle E-Business Suite 10.7 to Oracle E-Business Suite Release 12.
    Please share your experties.
    Regards
    Anup
    Edited by: IndiaDBA on २१ नवंबर, २०१२ १:२० अपराह्न

    IndiaDBA wrote:
    Hi,
    I need some help(Steps) to get start Upgrading from Oracle E-Business Suite 10.7 to Oracle E-Business Suite Release 12.
    Please share your experties.
    Regards
    AnupDirect upgrade from 10.x to 12.1.x is not possible.
    You have two options here:
    Option 1) Upgrade to 11i then to 12.1.x
    "Upgrade Assistant Spreadsheet" and "Upgrading Oracle Applications" -- http://docs.oracle.com/cd/B25516_18/current/html/docset.html
    11i to R12 Upgrade -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Upgrade+11i+to+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Option 2) Re-Implementation (install R12 then re-implement)
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Upgrade+vs+Re-Implementation&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Upgrade+vs+Re-Implementation+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein
    Reference: Re: Upgrade Ebusiness Suite 10.5 to R12.1

  • Database Upgradation from oracle 9.2.0.8 to oracle11gR2

    Hi
    we are using AIX 5.3 TL 10 SP4 and we are upgrading DB from oracle9.2.0.8 to oracle 11.2.0.2
    i am having some doubt from below pre-upgrade scripts out put.
    oratst@ebsdevdb on /tmp # sqlplus "/as sysdba"
    SQL*Plus: Release 9.2.0.8.0 - Production on Mon Jul 4 10:11:48 2011
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    SQL> spool 11202_upgrade.txt
    SQL> @utlu112i.sql
    Oracle Database 11.2 Pre-Upgrade Information Tool 07-04-2011 10:17:06
    Script Version: 11.2.0.2.0 Build: 001
    Database:
    --> name: EBSTEST
    --> version: 9.2.0.8.0
    --> compatible: 9.2.0
    --> blocksize: 8192
    --> timezone file: V1
    Logfiles: [make adjustments in the current environment]
    --> The existing log files are adequate. No changes are required.
    Tablespaces: [make adjustments in the current environment]
    --> SYSTEM tablespace is adequate for the upgrade.
    .... minimum required size: 8546 MB
    --> TOOLS tablespace is adequate for the upgrade.
    .... minimum required size: 8 MB
    --> TEMP tablespace is adequate for the upgrade.
    .... minimum required size: 61 MB
    --> AR_TABLE tablespace is adequate for the upgrade.
    .... minimum required size: 33497 MB
    --> FND_TABLE tablespace is adequate for the upgrade.
    .... minimum required size: 45447 MB
    --> AMVD tablespace is adequate for the upgrade.
    .... minimum required size: 7 MB
    --> ASOD tablespace is adequate for the upgrade.
    .... minimum required size: 7 MB
    --> CCTD tablespace is adequate for the upgrade.
    .... minimum required size: 7 MB
    --> IBUD tablespace is adequate for the upgrade.
    .... minimum required size: 1 MB
    --> IEMD tablespace is adequate for the upgrade.
    .... minimum required size: 5 MB
    --> IEOD tablespace is adequate for the upgrade.
    .... minimum required size: 4 MB
    --> JTFD tablespace is adequate for the upgrade.
    .... minimum required size: 135 MB
    --> OKCD tablespace is adequate for the upgrade.
    .... minimum required size: 34 MB
    --> XDPD tablespace is adequate for the upgrade.
    .... minimum required size: 7 MB
    --> XNPD tablespace is adequate for the upgrade.
    .... minimum required size: 7 MB
    --> APPS_UNDOTS1 tablespace is adequate for the upgrade.
    .... minimum required size: 849 MB
    Update Parameters: [Update Oracle Database 11.2 init.ora or spfile]
    Note: Pre-upgrade tool was run on a lower version 64-bit database.
    --> If Target Oracle is 32-Bit, refer here for Update Parameters:
    WARNING: --> "compatible" must be set to at least 10.1.0
    --> If Target Oracle is 64-Bit, refer here for Update Parameters:
    WARNING: --> "compatible" must be set to at least 10.1.0
    WARNING: --> "shared_pool_size" needs to be increased to at least 532 MB
    WARNING: --> "java_pool_size" needs to be increased to at least 128 MB
    Renamed Parameters: [Update Oracle Database 11.2 init.ora or spfile]
    -- No renamed parameters found. No changes are required.
    Obsolete/Deprecated Parameters: [Update Oracle Database 11.2 init.ora or spfile]
    --> optimizer_max_permutations 10.1 OBSOLETE
    --> row_locking 10.1 OBSOLETE
    --> undo_suppress_errors 10.1 OBSOLETE
    --> max_enabled_roles 10.1 DEPRECATED
    --> enqueue_resources 10.2 OBSOLETE
    --> sql_trace 10.2 DEPRECATED
    --> background_dump_dest 11.1 DEPRECATED replaced by "diagnostic_dest"
    --> user_dump_dest 11.1 DEPRECATED replaced by "diagnostic_dest"
    Components: [The following database components will be upgraded or installed]
    --> Oracle Catalog Views [upgrade] VALID
    --> Oracle Packages and Types [upgrade] VALID
    --> JServer JAVA Virtual Machine [upgrade] VALID
    --> Oracle XDK for Java [upgrade] VALID
    --> Real Application Clusters [upgrade] INVALID
    --> Oracle Text [upgrade] VALID
    --> Oracle XML Database [install]
    --> Oracle Java Packages [upgrade] VALID
    --> Oracle interMedia [upgrade] VALID
    --> Spatial [upgrade] VALID
    Miscellaneous Warnings
    WARNING: --> Passwords exist in some database links.
    .... Passwords will be encrypted during the upgrade.
    .... Downgrade of database links with passwords is not supported.
    WARNING: --> Deprecated CONNECT role granted to some user/roles.
    .... CONNECT role after upgrade has only CREATE SESSION privilege.
    WARNING: --> Database is using a timezone file older than version 14.
    .... After the release migration, it is recommended that DBMS_DST package
    .... be used to upgrade the 9.2.0.8.0 database timezone version
    .... to the latest version which comes with the new release.
    WARNING: --> Database contains INVALID objects prior to upgrade.
    .... The list of invalid SYS/SYSTEM objects was written to
    .... registry$sys_inv_objs.
    .... The list of non-SYS/SYSTEM objects was written to
    .... registry$nonsys_inv_objs.
    .... Use utluiobj.sql after the upgrade to identify any new invalid
    .... objects due to the upgrade.
    .... USER ADWANIAH has 1 INVALID objects.
    .... USER APPS has 34 INVALID objects.
    .... USER CHAKKACHANSA has 1 INVALID objects.
    .... USER FA_USER has 9 INVALID objects.
    .... USER SYSSEL has 2 INVALID objects.
    .... USER SYSTEM has 30 INVALID objects.
    .... USER XXITDFINAD has 7 INVALID objects.
    WARNING: --> SYSTEM schema default tablespace has been altered.
    .... The SYSTEM schema default tablespace is currently set to TOOLS.
    .... Prior to upgrading your database please reset the
    .... SYSTEM schema default tablespace to SYSTEM using the command:
    .... ALTER USER SYSTEM DEFAULT TABLESPACE SYSTEM;
    WARNING: --> Database contains schemas with objects dependent on DBMS_LDAP package.
    .... Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.
    .... USER APPS has dependent objects.
    Recommendations
    Oracle recommends gathering dictionary statistics prior to
    upgrading the database.
    To gather dictionary statistics execute the following commands
    while connected as SYSDBA:
    EXECUTE dbms_stats.gather_schema_stats('CTXSYS',options=>'GATHER'
    ,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
    ,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
    ,cascade=>TRUE);
    EXECUTE dbms_stats.gather_schema_stats('DBSNMP',options=>'GATHER'
    ,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
    ,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
    ,cascade=>TRUE);
    EXECUTE dbms_stats.gather_schema_stats('MDSYS',options=>'GATHER'
    ,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
    ,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
    ,cascade=>TRUE);
    EXECUTE dbms_stats.gather_schema_stats('ORDPLUGINS',options=>'GATHER'
    ,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
    ,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
    ,cascade=>TRUE);
    EXECUTE dbms_stats.gather_schema_stats('ORDSYS',options=>'GATHER'
    estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
    ,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
    ,cascade=>TRUE);
    EXECUTE dbms_stats.gather_schema_stats('OUTLN',options=>'GATHER'
    ,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
    ,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
    ,cascade=>TRUE);
    EXECUTE dbms_stats.gather_schema_stats('SYS',options=>'GATHER'
    ,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
    ,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
    ,cascade=>TRUE);
    EXECUTE dbms_stats.gather_schema_stats('SYSTEM',options=>'GATHER'
    ,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
    ,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
    ,cascade=>TRUE);
    Oracle recommends removing all hidden parameters prior to upgrading.
    To view existing hidden parameters execute the following command
    while connected AS SYSDBA:
    SELECT name,description from SYS.V$PARAMETER WHERE name
    LIKE '\_%' ESCAPE '\'
    Changes will need to be made in the init.ora or spfile.
    Oracle recommends reviewing any defined events prior to upgrading.
    Changes will need to be made in the init.ora or spfile.
    Oracle recommends reviewing any defined events prior to upgrading.
    To view existing non-default events execute the following commands
    while connected AS SYSDBA:
    Events:
    SELECT (translate(value,chr(13)||chr(10),' ')) FROM sys.v$parameter2
    WHERE UPPER(name) ='EVENT' AND isdefault='FALSE'
    Trace Events:
    SELECT (translate(value,chr(13)||chr(10),' ')) from sys.v$parameter2
    WHERE UPPER(name) = '_TRACE_EVENTS' AND isdefault='FALSE'
    Changes will need to be made in the init.ora or spfile.
    SYSAUX Tablespace:
    [Create tablespace in the Oracle Database 11.2 environment]
    --> New "SYSAUX" tablespace
    .... minimum required size for database upgrade: 500 MB
    From above output script
    1)SYSTEM tablespace is adequate for the upgrade.
    .... minimum required size: 8546 MB
    From system tablespace minimum required size means free space from system tablespace or total size of system tablespace?
    i am going to use dbua utility for upgrade means does it alter tablespace as per output of scripts or we need to manually alter tablespace size as per requirement?
    2)WARNING: --> Database contains schemas with objects dependent on DBMS_LDAP package.
    .... Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.
    .... USER APPS has dependent objects.
    what is above warning and how can i configure ACL's for APPS User?
    Thanks
    With Regards
    A-Z

    Hi
    oratst@ebsdevdb on /ebdbh/11g/data/cfgtoollogs/dbua/ebstest/upgrade1 # more Upgrade_Directive.log
    Connected.
    ODMA_DIRECTIVE:VERSION:9.2.0.8
    ODMA_DIRECTIVE:MIGRATE_SID:
    ODMA_DIRECTIVE:ORA:IGNORE:06512:
    ODMA_DIRECTIVE:ORA:FATAL:00600:
    ODMA_DIRECTIVE:ORA:FATAL:01012:
    ODMA_DIRECTIVE:ORA:FATAL:01031:
    ODMA_DIRECTIVE:ORA:FATAL:01034:
    ODMA_DIRECTIVE:ORA:FATAL:01078:
    ODMA_DIRECTIVE:ORA:FATAL:01092:
    ODMA_DIRECTIVE:ORA:FATAL:01109:
    ODMA_DIRECTIVE:ORA:FATAL:01119:
    ODMA_DIRECTIVE:ORA:FATAL:01507:
    ODMA_DIRECTIVE:ORA:FATAL:01722:
    ODMA_DIRECTIVE:ORA:FATAL:03113:
    ODMA_DIRECTIVE:ORA:FATAL:03114:
    ODMA_DIRECTIVE:ORA:FATAL:07445:
    ODMA_DIRECTIVE:ORA:FATAL:12560:
    ODMA_DIRECTIVE:ORA:RECOVER_TBS:01650:
    ODMA_DIRECTIVE:ORA:RECOVER_TBS:01651:
    ODMA_DIRECTIVE:ORA:RECOVER_TBS:01652:
    ODMA_DIRECTIVE:ORA:RECOVER_TBS:01653:
    ODMA_DIRECTIVE:ORA:RECOVER_TBS:01654:
    ODMA_DIRECTIVE:ORA:RECOVER_TBS:01655:
    ODMA_DIRECTIVE:ORA:RECOVER_ROLL:01562:
    ODMA_DIRECTIVE:ORA:RECOVER_INIT:04031:
    ODMA_DIRECTIVE:SCRIPT:UPGRADE:rdbms/admin/catupgrd.sql:
    ODMA_DIRECTIVE:BOUNCE_DATABASE:UPGRADE:
    ODMA_DIRECTIVE:SCRIPT:UPGRADE:rdbms/admin/catuppst.sql:
    ODMA_DIRECTIVE:SCRIPT:UPGRADE:sqlplus/admin/help/hlpbld.sql helpus.sql:
    Thanks
    With Regards
    A-Z

  • Upgrade from Oracle 8i in Win98 to Oracle 11g in Window Vista

    Hi,
    I have an existing system that runs in Window98 using Oracle 8i as database. We are planning to convert the system from using Oracle 8i to 11g, and this new converted system will be running in Window Vista.
    What I have in mind is doing export and import from Oracle 8i to 11g, but it is quite troublesome. Is there anyway I can upgrade the db to 11g in Window Vista?

    Hi,
    When upgrading from 8i to 11g, you cannot perform direct upgrade anyway.
    If you want to upgrade (not using exp/imp), you can install 9i (9.2.0.4 and up) on the win98 machine, and upgrade the database to 9i.
    Then you can take the database files, copy them (like cold backup) to the vista server, and you will able to upgrade it to 11g.
    Note that you cannot use the DBUA in this scenario, you will have to upgrade it manually.
    Manual upgrade: [http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/upgrade.htm#i1011600]
    Liron Amitzi
    Senior DBA consultant
    [www.dbsnaps.com]
    [www.orbiumsoftware.com]

  • Upgrading from oracle 8i to oracle 11g

    current Oracle version is 8i
    front end is visual basic 6
    OS is windows xp
    client OS is windows xp
    I guess this question has been asked a lot in here.
    But i guess i have some extra queries here
    -> I m using oracle 8i and now I want to upgrade it to 11g. Is there any complications. I mean can i simply export a dump file from oracle 8i and import it in oracle 11g using imp tool, importing everything. If not what are not imported and what are other complications and consequences.
    -> My front end is vb 6 so is there gonna be any problem. If it's unsupported which version would u prefer for vb 6
    -> Can i install oracle 11g in windows xp or at least can i install oracle client in xp.
    -> what kind of server would you suggest for oracle 11g.
    Is there anybody to help me out here as quickly as possible.
    Thanx a lot
    Edited by: Ishan on Jun 17, 2009 5:35 AM

    8i->11g direct is not possible.
    Available option: Export and import.
    You can upgrade to 9i from 9i to 11g is possible.
    Oracle 11gR1 Upgrade Companion-601807.1 from metalink has all the information.
    Note 429825.1 Complete Checklist for Manual Upgrades to 11gR1
    Note 263809.1 Complete checklist for manual upgrades to 10gR1 (10.1.0.x).
    Note 316889.1 Complete checklist for manual upgrades to 10gR2.
    Note 466181.1 10g Upgrade Companion
    Note 601807.1 Oracle 11gR1 Upgrade Companion
    419550.1 - Different Upgrade Methods For Upgrading Your Database-
    Edited by: Anantha on Jun 17, 2009 1:31 PM

  • Manually Migrating from Oracle 10g to 11g

    Hello, I'm currently a student in an Oracle DBA class. I'm totally new to the Oracle world.
    One of our final assignments concerns upgrading Oracle instances without the use of DBUA.
    I've currently got Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 and am trying to upgrade to 11.1.0.7.0
    This is all inside of VirtualBox, running Windows Server 2008. I've been using 10g with absolutely no issues for the duration of this class.
    I successfully installed 11g, choosing to install the software only and not use dbua.
    I changed my environment variables to point towards the 10g installation; ORACLE_HOME, ORACLE_SID, PATH, and LD_LIBRARY_PATH.
    Then logged into 10g's SQLPlus and ran utlu111i.sql, which ran successfully. I issued a shutdown immediate and exited SQLPlus.
    Changed my environment variables to point towards the 11g home and set ORACLE_SID as the 10g database name. I was able to log into 11g's SQL plus, was told I was connected to an idle instance, which I expected. I issued a startup upgrade command, and then attempted to run catupgrd.sql, but got an error stating that I had to run the script from 11g.
    If I don't set the environment variables then when I try to log into 11g's sqlplus, I get an ORA-12560: TNS:protocol adapter error... I've tried reinstalling 11g from scratch, but to no avail. My instructor and I have been emailing back and forth frequently over the past few days but we have not been able to reach a solution, so I thought I would see if I could pick your brains.
    Here's all of the terminal output from the process:
    C:\Users\Administrator>sqlplus
    SQL*Plus: Release 10.2.0.3.0 - Production on Fri Apr 29 20:15:09 2011
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Enter user-name: connect /as sysdba
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> @?
    SP2-0310: unable to open file "C:\270Oracle.sql"
    SQL> @C:\NewCIS270\product\11.1.0\db_1\rdbms\admin\utlu111i
    Oracle Database 11.1 Pre-Upgrade Information Tool 04-29-2011 20:16:16
    Database:
    --> name: KYLMAN
    --> version: 10.2.0.3.0
    --> compatible: 10.2.0.3.0
    --> blocksize: 8192
    --> platform: Microsoft Windows IA (32-bit)
    --> timezone file: V4
    Tablespaces: [make adjustments in the current environment]
    --> SYSTEM tablespace is adequate for the upgrade.
    .... minimum required size: 729 MB
    .... AUTOEXTEND additional space required: 249 MB
    --> UNDOTBS1 tablespace is adequate for the upgrade.
    .... minimum required size: 417 MB
    .... AUTOEXTEND additional space required: 352 MB
    --> SYSAUX tablespace is adequate for the upgrade.
    .... minimum required size: 455 MB
    .... AUTOEXTEND additional space required: 215 MB
    --> TEMP tablespace is adequate for the upgrade.
    .... minimum required size: 61 MB
    .... AUTOEXTEND additional space required: 33 MB
    --> EXAMPLE tablespace is adequate for the upgrade.
    .... minimum required size: 78 MB
    Update Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    -- No update parameter changes are required.
    Renamed Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    -- No renamed parameters found. No changes are required.
    Obsolete/Deprecated Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    --> "background_dump_dest" replaced by "diagnostic_dest"
    --> "user_dump_dest" replaced by "diagnostic_dest"
    --> "core_dump_dest" replaced by "diagnostic_dest"
    Components: [The following database components will be upgraded or installed]
    --> Oracle Catalog Views [upgrade] VALID
    --> Oracle Packages and Types [upgrade] VALID
    --> JServer JAVA Virtual Machine [upgrade] VALID
    --> Oracle XDK for Java [upgrade] VALID
    --> Oracle Workspace Manager [upgrade] VALID
    --> OLAP Analytic Workspace [upgrade] VALID
    --> OLAP Catalog [upgrade] VALID
    --> EM Repository [upgrade] VALID
    --> Oracle Text [upgrade] VALID
    --> Oracle XML Database [upgrade] VALID
    --> Oracle Java Packages [upgrade] VALID
    --> Oracle interMedia [upgrade] VALID
    --> Spatial [upgrade] VALID
    --> Data Mining [upgrade] VALID
    --> Expression Filter [upgrade] VALID
    --> Rule Manager [upgrade] VALID
    --> Oracle OLAP API [upgrade] VALID
    Miscellaneous Warnings
    WARNING: --> Database contains stale optimizer statistics.
    .... Refer to the 11g Upgrade Guide for instructions to update
    .... statistics prior to upgrading the database.
    .... Component Schemas with stale statistics:
    .... SYS
    .... OLAPSYS
    .... SYSMAN
    .... CTXSYS
    .... XDB
    WARNING: --> Database contains schemas with objects dependent on network
    packages.
    .... Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.
    WARNING: --> EM Database Control Repository exists in the database.
    .... Direct downgrade of EM Database Control is not supported. Refer to the
    .... 11g Upgrade Guide for instructions to save the EM data prior to upgrade.
    PL/SQL procedure successfully completed.
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Users\Administrator>set ORACLE_HOME=C:\NewCIS270\product\11.1.0\db_1
    C:\Users\Administrator>set ORACLE_SID=KYLMAN
    C:\Users\Administrator>set PATH=%ORACLE_HOME%\bin
    C:\Users\Administrator>sqlplus "/as sysdba"
    SQL*Plus: Release 11.1.0.7.0 - Production on Fri Apr 29 20:22:49 2011
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup upgrade;
    ORACLE instance started.
    Total System Global Area 440401920 bytes
    Fixed Size 1291072 bytes
    Variable Size 146803904 bytes
    Database Buffers 289406976 bytes
    Redo Buffers 2899968 bytes
    Database mounted.
    Database opened.
    SQL> @?
    SP2-0310: unable to open file "C:\NewCIS270\product\11.1.0\db_1.sql"
    SQL> @?/rdbms/admin/catupgrd
    DOC>#######################################################################
    DOC>#######################################################################
    DOC>
    DOC> The first time this script is run, there should be no error messages
    DOC> generated; all normal upgrade error messages are suppressed.
    DOC>
    DOC> If this script is being re-run after correcting some problem, then
    DOC> expect the following error which is not automatically suppressed:
    DOC>
    DOC> ORA-00001: unique constraint (<constraint_name>) violated
    DOC> possibly in conjunction with
    DOC> ORA-06512: at "<procedure/function name>", line NN
    DOC>
    DOC> These errors will automatically be suppressed by the Database Upgrade
    DOC> Assistant (DBUA) when it re-runs an upgrade.
    DOC>
    DOC>#######################################################################
    DOC>#######################################################################
    DOC>#
    DOC>######################################################################
    DOC>######################################################################
    DOC> The following statement will cause an "ORA-01722: invalid number"
    DOC> error if the user running this script is not SYS. Disconnect
    DOC> and reconnect with AS SYSDBA.
    DOC>######################################################################
    DOC>######################################################################
    DOC>#
    no rows selected
    DOC>######################################################################
    DOC>######################################################################
    DOC> The following statement will cause an "ORA-01722: invalid number"
    DOC> error if the database server version is not correct for this script.
    DOC> Shutdown ABORT and use a different script or a different server.
    DOC>######################################################################
    DOC>######################################################################
    DOC>#
    SELECT TO_NUMBER('MUST_BE_11_1') FROM v$instance
    ERROR at line 1:
    ORA-01722: invalid number
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Users\Administrator>
    Edited by: 855732 on Apr 29, 2011 6:59 PM

    Hi,
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    Your instance is started from the 10g ORACLE_HOME. You mentioned you started it from the 11g ORACLE_HOME but it's not the case.
    Here is an example with a 10gR2 database started from a 11gR2 ORACLE_HOME :
    SQL> startup upgrade pfile =/u01/app/oracle/product/10.2.0/db_1/dbs/initP102.ora
    ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
    ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
    ORACLE instance started.
    Total System Global Area  167387136 bytes
    Fixed Size                  1335248 bytes
    Variable Size              88080432 bytes
    Database Buffers           75497472 bytes
    Redo Buffers                2473984 bytes
    Database mounted.
    Database opened.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNotice the Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 part.
    In your case it was Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    To solve the issue follow the official documentation, you have specific actions with oradim etc. to do (it's always a bit more complicated than with Unix/Linux but it's documented) :
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/upgrade.htm#insertedID8
    Best regards
    Phil

Maybe you are looking for

  • Removing focus from a node

    I have a frame in which a scrollpane hold a jtree. I picked up the following code from the forum for making sure that only when the right click is on a node, the popupmenu is displayed. public void mouseReleased(MouseEvent e) {             if (e.getB

  • Html form page navigation

    Both attachments are renamed as .xml files to allow upload. Rename as .xdp to test. I have attached two example .xdp files which I have been testing under FormsIVS 8.2 rendering as auto detect html. The file [paging test 1.xdp] consists of 5 top leve

  • X200s: No support for 1920 x 1080

    Hi, I bought an 24" TFT with 1920 x 1080 resolution. I connected it with an VGA-cable to my Ultrabase (docking-station). The Problem now is, that I can Choose the resolution in the Intel Graphics Properties as well as in the Windows (Vista Business 3

  • Migration from DB2 database to Oracle 10g

    Hi All, We are working on migration of database from DB2 to Oracle 10g all from scrap. Could you please suggest the steps need to follow up with this and also suggest if any migration tools are available for this task. I am already in a mess of doing

  • Quicktime and question marks on web pages

    Any time I went to a web page that had a QT in it, it was fine. Now when I go to a webpage I see the QT logo with a question mark in it. What happened! Thanks in advance