Database migrated from Oracle 10g to 11g Discoverer report performance issu

Hi All,
We are now getting issue in Discoverer Report performance as the report is keep on running when database got upgrade from 10g to 11g.
In database 10g the report is working fine but the same report is not working fine in 11g.
The query i have changed as I have passed the date format TO_CHAR("DD-MON-YYYY" and removed the NVL & TRUNC function from the existing query.
The report is now working fine in Database 11g backhand but when I am using the same query in Discoverer it is not working and report is keep on running.
Please advise.
Regards,

Pl post exact OS, database and Discoverer versions. After the upgrade, have statistics been updated ? Have you traced the Discoverer query to determine where the performance issue is ?
How To Find Oracle Discoverer Diagnostic and Tracing Guides [ID 290658.1]
How To Enable SQL Tracing For Discoverer Sessions [ID 133055.1]
Discoverer 11g: Performance degradation after Upgrade to Database 11g [ID 1514929.1]
HTH
Srini

Similar Messages

  • 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

  • What are the risk involved in Database Migration from Oracle 7 to oracle10G

    HI,
    As a business requirement me are need to migrate our current production database (Oracle 7.3.4) to Oracle 10G R2.
    I need to understand the Risk involved in doing so and corrective action required.
    Your small input is greatly appreciated.
    Thanks in advance.
    Regards,
    Vijay

    As a business requirement me are need to migrate our current production database (Oracle 7.3.4) to Oracle 10G R2.
    There is no risk.
    but you can't upgrade directly from 7 to 10g.
    you need to upgrade first 7 to 9 then 9 to 10g ( i would recommend to go with 11g)
    Or
    If database size is small the best is EXPORT /IMPORT. easy fast safe.
    http://tahiti.oracle.com ===check the upgrade guide for more details.
    You need to test the completely upgrade process on TEST eviourment before doing anything in production.
    becuase a lots of changes between two database version.
    1. You may be face "Performance" issue after upgrade. so need to check properly.
    Regards,
    Taj

  • Row chaining and row migration in Oracle 10g R2/11g R2

    Hi,
    Due to the business rule changes, one of the numeric column in a large table (20 millions rows) will be expanded from number(8) to number(10). Also, the values of this column of each row will be updated from 6 digits to 10 digits. All the indexes that use this column will be dropped and recreated after update. I would like to know if there is any row chaining or row migration issue in Oracle 10g R2 /11g R2.
    Thanks for your help

    neemin wrote:
    Hi,
    Due to the business rule changes, one of the numeric column in a large table (20 millions rows) will be expanded from number(8) to number(10). Also, the values of this column of each row will be updated from 6 digits to 10 digits. All the indexes that use this column will be dropped and recreated after update. I would like to know if there is any row chaining or row migration issue in Oracle 10g R2 /11g R2.
    Thanks for your helpIt depends.
    what you do observe after TESTING against the Development DB?

  • Regarding database migration from Oracle to MS SQL

    Hi All,
    In my application, the existing database is oracle. we need to migrate from Oracle db to MS SQL.
    We need procedure is as below
    1.export data from Oracle and keep it in a file.(.dmp)
    2.Import data to MS SQL from the exported oracle file.
    and vice versa from MS SQL to Oracle.
    my question is- is it possible to import .bmp (oracle export data) into MS SQL.
    Please clarify me.

    There are couple of options to get data from Oracle to MS SQL.
    The simplest is to create a linked server in MS SQL that points to Oracle and copy data with a query like select * into my_mssqlTable from oracle.schema.table; via the linked server.
    Some data types will not be supported.
    That is for one time copy.
    If you need a close to real time replication you can use MS replication (I would not recommend because it creates triggers on Oracle tables), or you can use GoldenGate or DataCurrents or other replication products.

  • EPMMaster.rpd Fusion Pack migration from OBIEE 10g to 11g

    We have successfully installed OBIEE 10g and 11g on Windows 2008 32bit servers. On the 10g Installation, we have applied the Fusion Pack EPMMaster RPD file and it connects successfully to our EPM warehouse. We want to migrate the Fusion pack to 11g which is also setup on the same platform. Per the instructions in the documentation, we have copied the files (RPD file and Webcat folder) to the 11g server. We run the UA.bat file and it proceeds to start copying the files over fom the RPD and WebCatalog to the new system. It completes this process, but then hangs on starting the Oracle BI server - it never gets beyond that.
    We will be purchasing the EPMMaster RPD and know it is not available yet for 11g – however we’re trying to get ahead of the curve a bit and manually fix the items in the presentation layer that will not render correctly in 11g
    upgrade exception occurred
    Unable to start process: instance1: coreapplication_obis1
    One thing that I noticed – Since the UA tool does not completely finish --
    RPD size on 10g – 42,675KB; 11g – 6,375KB
    I manually change the webcat in Enterprise Manager to the EPMMaster catalog -this actually caused additional errors on restart.
    Has anyone attempted upgrading a delivered RPD to 11g?
    Thanks in advance -

    This is a known issue that we have worked through with Oracle tech support. The Dimension Deduction.Deduction Sid causes an error that prevents the UA tool from completing the upgrade process. There are a couple of ways around this, but the fastest is to simply delete the Dimension, the two related hierarchies and the fact table that is joined to this dimension. Physical table do not need to be touched however. There are still issues once it’s moved to 11g, but those can be addressed post migration. Thanks much to the Oracle support team for helping us out with this issue!

  • Challenge question and password migration from oimm 10g to 11g r2

    hi all,
    can you please tell me how do i do the migration of oim 10g user's password and challenge questions to oim 11g r2. Do we have any api to do it. these values are in encrypted format in oim db.
    thanks

    Run your sql query to output the encrypted fields to a flatfile or csv, and include the usr_login field so you know which user to assign the values to.
    Copy your config folder from your oim server and create a patch like c:\xellerate\config. In your code, when you connect to OIM, use this:
    System.setProperty("XL.HomeDir", "c:/xellerate");
    System.setProperty("java.security.auth.login.config", "c:/xellerate/config/authwl.conf");
    Now, when you read the file and have the encrypted field, use this code:
    String decryptValue= tcCryptoUtil.decrypt(encryptValue, "DBSecretKey");
    Now that you have the unencrypted value from your 9x instance, you can use the APIs to set challenge questions, and set user passwords with the 11g APIs.
    -Kevin

  • SAP Database Migration from Oracle to DB2

    Hi All,
    Our client has decided to move the SAP database from Oracle 10.0.2 to IBM DB2. We will like to know list of activities which are required to be done from application side to support this.
    Also we want to know on how to find the report / interfaces where the code is written in native SQL (PL SQL) and not in open SQL (ABAP).
    Any pointers in this regard will be useful. Thanks.
    Best Regards,
    Vithal

    > Our client has decided to move the SAP database from Oracle 10.0.2 to IBM DB2. We will like to know list of activities which are required to be done from application side to support this.
    http://service.sap.com/osdbmigration
    > Also we want to know on how to find the report / interfaces where the code is written in native SQL (PL SQL) and not in open SQL (ABAP).
    I don't think there's an easy way to find that out.
    Markus

  • Database migration from Windows 10g to Linux 11g

    Hello All,
    We are having a small database in a windows 2003 server machine. We would be shift this database to another Linux platform. So far My action plan is as follows:-
    1. Shutting down instance.
    2. copying physical structure of Database
    3. alter database backup control file to trace as '....sql';
    4. Transfer all the files.
    5. In the Linux server creating pfile and creating control file using following commad:-
    CREATE CONTROLFILE REUSE DATABASE "DBNAME" NORESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY
    LOGFILE GROUP 1 '../REDO01.LOG' SIZE 50M,
    GROUP 2 '../REDO02.LOG' SIZE 50M,
    GROUP 3 '../REDO03.LOG' SIZE 50M
    DATAFILE '../SYSTEM01.DBF',
    '../UNDOTBS01.DBF',
    '../SYSAUX01.DBF',
    '../USERS01.DBF',
    '../RMANTBS01.DBF'
    CHARACTER SET WE8MSWIN1252
    6. Opening the database in upgrade mode. I am getting error:
    Database mounted.
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: '/u01/COLDBACKUP_T1RMAN_POC/SYSTEM01.DBF'
    Please help
    -Reards,
    Saha

    j_DBA_saha wrote:
    Hello All,
    We are having a small database in a windows 2003 server machine. We would be shift this database to another Linux platform. So far My action plan is as follows:-
    1. Shutting down instance.
    2. copying physical structure of Database
    3. alter database backup control file to trace as '....sql';
    4. Transfer all the files.
    5. In the Linux server creating pfile and creating control file using following commad:-
    CREATE CONTROLFILE REUSE DATABASE "DBNAME" NORESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY
    LOGFILE GROUP 1 '../REDO01.LOG' SIZE 50M,
    GROUP 2 '../REDO02.LOG' SIZE 50M,
    GROUP 3 '../REDO03.LOG' SIZE 50M
    DATAFILE '../SYSTEM01.DBF',
    '../UNDOTBS01.DBF',
    '../SYSAUX01.DBF',
    '../USERS01.DBF',
    '../RMANTBS01.DBF'
    CHARACTER SET WE8MSWIN1252
    6. Opening the database in upgrade mode. I am getting error:
    Database mounted.
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: '/u01/COLDBACKUP_T1RMAN_POC/SYSTEM01.DBF'
    Please help
    -Reards,
    SahaThis will not work ....
    Since you are performing the cross-platform migration . So this method will not work . Either use the exp/imp or datapump or the transport tablespace . for more about the transport tablespace check the below link
    http://neeraj-dba.blogspot.in/2012/01/cross-platform-transportable.html
    Hope this may help you
    --neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to migrate Spatial SDE from 9.3 to 10 and Oracle 10g to 11g

    Hi,
    I would like ti post a question to ask a help.
    We have a task of migrating from Oracle 10g to 11g and at the same time from ArcGis 9.3 to version 10; SDE to SDO but no experience in this type of work.
    We are looking for any information that may help us understand what is the best strategy to complete the activity.
    Any help is very appreciated.
    Thanks in advance.

    Hello unnamed user8111502,
    In general you want to post your ArcSDE question to the ESRI forums at
    http://forums.arcgis.com/forums/32-Geodatabase-amp-ArcSDE
    But if you want some advice then I would suggest doing the Oracle upgrade first and the SDE upgrade second - for no other reason than this is what I did and had no problems.
    Upgrading Oracle from 10g to 11g is pretty straightforward, there is nothing "special" you need to do as regards your SDE middleware. Just do the 11g upgrade and then upgrade SDE to the 9.3.1 11g version (again not a big deal).
    You did not mention the storage type you are using. If you are using SDO_GEOMETRY, then one thing I did notice is the 11g upgrade process will drop and rebuild all your spatial indexes so if you have an huge amount of SDO spatial data on an underpowered machine then your upgrade person should bring a book along as it can take some time.
    Upgrading SDE from 9.3.1 to 10 is similarly pretty straightforward. ESRI has made extensive changes to their SDE schema data model but their underlying storage types and indexes and such have not changed. So there is no change to the data itself that I know of. The important thing is that all the ESRI users of your database need to upgrade to version 10 as well. Anyone still on a 9.3 client - this includes desktop users and servers (AGS, IMS) will no longer be able to use the database after the upgrade. As version 10 is backwards compatible with 9.3 it would make sense to have all your clients upgrade to 10 first (and troubleshoot any issues with this) and then do SDE last.
    Cheers and good luck,
    Paul

  • Performance issue with view selection after migration from oracle to MaxDb

    Hello,
    After the migration from oracle to MaxDb we have serious performance issues with a lot of our tableview selections.
    Does anybody know about this problem and how to solve it ??
    Best regards !!!
    Gert-Jan

    Hello Gert-Jan,
    most probably you need additional indexes to get better performance.
    Using the command monitor you can identify the long running SQL statements and check the optimizer access strategy. Then you can decide which indexes might help.
    If this is about an SAP system, you can find additional information about performance analysis in SAP notes 725489 and 819641.
    SAP Hosting provides the so-called service 'MaxDB Migration Support' to help you in such cases. The service description can be found here:
    http://www.saphosting.de/mediacenter/pdfs/solutionbriefs/MaxDB_de.pdf
    http://www.saphosting.com/mediacenter/pdfs/solutionbriefs/maxDB-migration-support_en.pdf.
    Best regards,
    Melanie Handreck

  • Migration from Oracle 9i database to 10g in ECC5

    Hi Experts,
    We are planning to move our production system which is currently running ECC5 on AIX OS and Oracle 9i database to AIX OS and Oracle 10g database.
    Some doubts regarding the above procedure:
    1)Is there any possibility of SAP system migration from Oracle 9i to Oracle 10g. If yes, do we need to perform any addinitional steps for that?
    2)If the above condition is OK, then what type of system copy should we need to follow: Homogeneous or Heterogeneous? Heterogeneous system copy is ususally done incase of system copy involving different databases. Does that apply for differnt versions too like Oracle 9i and 10g?
    Any response is highly appreciated.
    Regards,
    Sanjay

    If i'm using the dbua then the above issue will be solved by dbua itself?Well, DBUA will only perform a sanity check on your current release and if it doesn't pass it will fail. In other words DBUA will not upgrade your 9i release to the proper compatible release that you have to do before upgrading to 10R2.
    Personally I never used DBUA, I always prefer manual upgrades, DBUA is good for you bcz it will not allow you to miss any step while upgrading.
    What is the size of the database which you are going to upgrade?
    Daljit Singh

  • What are the Issues in Migration from oracle 8i to oracle 10g

    Hi,
    Can you let me know what are the issues that i face when i migrate from oracle 8i to oracle 10g. I will be very thankful if you give me a list of issues that you face while migrating from 8i to 10g

    In addition to Max's reply, you must be aware that you have to test your applications agains 10g database before you actually upgrade the database.
    If you use CBO, it may produce different execution plans for one query when you run it in 8i and 10g. This may affect your application performances, which you don't like to happen.
    Also you have to decide how much downtime you can afford during the migration. Can you afford some downtime and how much? If you can't than this makes the situation more complicated.
    How big is your database? You may end up only with simple export/import solution using export import utility.
    The bottom line is, whatever you decide, you must test your applications running against 10g database before you actually upgrade your database.

  • MIgration from Oracle 9.2.4.0 to Oracle 10g Release 2 (10.2.0.1.0)

    Hello
    We are planning to upgrade and migrate from Oracle 9 to Oracle 10. ( both version on windows)
    Would be of great help if I could avail the below information.
    Most of the Instance are more than 50 gig
    1 Should use a EXP / IMP or Should use DBUA ( prefer a safe method )
    2.IF DBUA used any idea how much time it should take .
    3.Any other method for upgrade.
    We are currently in an analysis phase , we do have some instance that are already 10g but were created from scratch.
    Thanks for all your help in advance
    Cheers

    Most of the Instance are more than 50 gig
    1 Should use a EXP / IMP or Should use DBUA ( prefer
    a safe method )Use DBUA , it is safer then exp/imp
    2.IF DBUA used any idea how much time it should take
    It depend on database , machine etc. it should not take more then 2-3 Hr
    3.Any other method for upgrade.
    I always use manual method and feel manual upgrade is safest.
    All details is given in Oracle Documentation
    Oracle Database Upgrade Guide
    # Virag Sharma

  • How to migrate a table from ORACLE 10g to 8i

    have table named 'liuxg_tab_01' in 10g.
    This morning I exported this table using 'exp' and then tried to imp it into 8i, I failed.
    After a while, I created a database link named 'ctf' in 8i which connected to 10g. I issued 'create table test as selct * from liuxg_tab_01@ctf',it returns 'ORA-01723'.
    Then I extraced the DDL of 'liuxg_tab_01' from 10g with QUEST TAOD, it's:
    CREATE TABLE LIUXG_TAB_01
    OWNER VARCHAR2(30 BYTE),
    OBJECT_NAME VARCHAR2(30 BYTE),
    SUBOBJECT_NAME VARCHAR2(30 BYTE),
    OBJECT_ID NUMBER,
    DATA_OBJECT_ID NUMBER,
    OBJECT_TYPE VARCHAR2(19 BYTE),
    CREATED DATE,
    LAST_DDL_TIME DATE,
    TIMESTAMP VARCHAR2(19 BYTE),
    STATUS VARCHAR2(7 BYTE),
    TEMPORARY VARCHAR2(1 BYTE),
    GENERATED VARCHAR2(1 BYTE),
    SECONDARY VARCHAR2(1 BYTE)
    But I can not create a table using the upper DDL in 8i if I do not wipe off those "BYTES".
    After creation of the table using the upper DDL without those 'BYTES', I sucessfully executed 'insert into LIUXG_TAB_01 select * from liuxg_tab_01@ctf'.
    Anyone has a better method to move a table from ORACLE 10g to 8i?

    1) The particular version of 8i and 10g in use here would be useful. I'm not sure that Oracle supports database links between any version of 8i and any version of 10g, though, so you're probably lucky that it worked as well as it did.
    10g 10.1.0.3.0 and 8i 8.1.7.0.0
    2) What version of the export utility did you use? You would need to use the 8i version to generate the dump file to have any chance of working, not the 10g verion.
    I use the 'exp' provided with 10g 10.1.0.3.0 and 'imp' with 8i 8.1.7.0.0. I have tried to export data directly from 10g 10.1.0.3.0 using 'exp' provided with 8i 8.1.7.0.0. Failed.
    3) Why? Since 8i is desupported, there isn't a lot of call for tools to move data from supported releases to unsupported releases.
    We have an 8i DB which is still porivding insentive services. We just wanna migrate some tales from 10g to it.
    FYI, NLS_LENGTH_SEMANTICS was introduced in 9i, so it's no suprise that 8i objected to the BYTE keyword in the DDL.
    What's FYI :P
    Another option would be to generate a CSV file of the data from 10g and use SQL*Loader to load it into 8i. Not sure this would be any easier, though.
    Justin
    Message was edited by:
    user510846

Maybe you are looking for