Schema migration in oracle

Guys need help/suggestions.
I need to migrate the whole schema(from oracle) to another oracle database environment. The easiest way I would think of is execute the ddl scripts for the objects. But that way it is going to take too much time and also I have to take care of order of executing scripts for tables, mat views, constraints, triggers etc.
Will anybody provide me any link that will guide me through easy way to migrate my objects to the different database or if it is possible - please provide me with the stepwise information. I use SQL developer, don't know if this third party tool has any features to do migration thing.
Thank you so much,
Sam
Edited by: sam on Jun 18, 2012 11:46 AM

sam wrote:
Guys need help/suggestions.
I need to migrate the whole schema(from oracle) to another oracle database environment. The easiest way I would think of is execute the ddl scripts for the objects. But that way it is going to take too much time and also I have to take care of order of executing scripts for tables, mat views, constraints, triggers etc.
Will anybody provide me any link that will guide me through easy way to migrate my objects to the different database or if it is possible - please provide me with the stepwise information. I use SQL developer, don't know if this third party tool has any features to do migration thing.
I am hoping for the valuable suggestions from you guys as you always did it in past. save me.
Thank you so much,
SamYou need DDL or whole data? Well in both cases you can use DATAPUMP which is available from 10g onwards.
http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_overview.htm

Similar Messages

  • Migration from Oracle 9i 32 bit to Oracle 10G 64 bit on Windows 2003 Server

    I am working on migrating Oracle 9i 32 bit to Oracle 10G 64 bit on Windows 2003 from Old server to new server. We have db around 500 GB and 3 schemas. I installed Oracle 10G on new server, created tablespaces, schema's blah blah and now doing export and import at schema level from old server to new server.
    Import is taking more than 4 to 5 hours on new server. My manager is saying, window time is bit longer and he wants me to try possiblities to make this process faster. Can some one help me on this, to use the best possible method to complete this process faster?
    Will below step work, if I try?
    If I install, oracle 9i and 10g both on new server in different home directories and take the hot backup from old machine and restore on new machine in 9i home directory and use the upgrade configuration assistant from 10g and do the upgrade? Pls advice.
    Thanks in advance,
    Hari babu
    Edited by: user6367891 on Mar 2, 2010 5:28 AM

    It looks good.
    I have one question in below steps:
    To migrate an Oracle9i or older database to an Oracle Database 10g Release 1 (10.1) database for 64-bit Windows:
    1 Perform steps 1 - 11 in "Migrating an Oracle Database 10g Release 1 (10.1) Database".
    2 Shut down the database on the 64-bit computer:
    SQL> SHUTDOWN IMMEDIATE;
    3 Start the database migration:
    SQL> STARTUP MIGRATE;
    4 Migrate the database as described in Chapter 3, "Upgrading a Database to the New Oracle Database 10g Release" in Oracle Database Upgrade Guide.
    In step 4, it says, migrate database as described in chapter 3. In chapter 3, it says, to do the upgrade the process using dbca or manually. Pls confirm whether do the upgrade process after issuing startup migrate or not.
    Thanks in advance.

  • Problem of Data Import/Export after migration of Oracle DB 9i to 10g

    We have encountered the following problem after the migration of Oracle DB 9i to 10g R1 and ESRI ArcSDE 8.3 to 9.1.
    In our development server, a view was created by joining of one feature class (point feature), two attribute tables and one F table. We have to perform a process to export all the features in that particular view from the development server and then import them to the production server. In total, there should be about 60,000 points.
    Form our past experience (using Oracle DB 9i and ESRI ArcSDE 8.3); we spent about 15-20 minutes to complete the import-export procedure. However, after the system migration, the speed of the import-export procedures is extremely slow, which is talking about 2 hours for ONLY EXPORTING 5MB data.
    We would like to seek advice in solving the above problems. THANKS!

    Try to delete old stats, then gather new stats on the schema and try the export again.

  • 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.

  • Modifying Column names before Migrating to Oracle 9i

    Hello Everyone,
    I am trying to Migrate a SQL Server 7 database to an ORACLE 9i using the Migration Workbench tool.
    I have noticed the Migration Workbench changes some of our column names that are ORACLE RESERVED WORDS. Migration Workbench adds an underscore to the end of such column names. I need to keep the column names the same.
    I select a schema object On ORACLE MODEL PANE but Migration Workbench does not allow me to change the column name nor any of the its properties.
    I know that i could add a new column (e.g. DATE)and insert the data from the existing column (e.g. DATE_) and then drop the column but out developers don't like this approach!
    Thank you in advance for all your help!
    Mitra

    I am having the exact same problem. I dont think oracle migration work bench supports this i.e. changing the field names before we actuall complete the migration. So what I did was generate the DDL and clear up all the unnessasary '_' values from the DDL and then create the proper schema. I know this isn't the right way od doing things but I dont know of any other way. Keep in mind that I just started work on oracle like 2 weeks ago.

  • Difference between upgrdae and migration about oracle database

    Difference between upgrdae and migration about oracle database
    please give the comments

    Well, the question is almost philosophic...<br>
    In 9i, there is a Migration Guide whereas in 10g there is a Upgrade Guide.<br>
    Furthermore, in 9i, there is the command line startup migrate whereas in 10g that's startup upgrade.
    Somebody think upgrade when go to new release, and migration when go to new version.<br>
    Others think upgrade when new version replace database in place, and migration when new version include a move of database.<br>
    Another point of view is : upgrade is for technical, and migration for application/data.<br>
    <br>
    Well, after these explanations, your upgrade/migratation notion will not be more clear, but I think that is not very important, only a terminology game. The most important is to know what you need : new version or new release.<br>
    <br>
    Nicolas.

  • How to import a schema into the Oracle Database -

    Hi
    I have downloaded schema (spatial MVDemo schema) from oracle. To implement a functionality in obiee 11g i need to import the downloaded schema in to Oracle database.
    some one please give me step by step commands to acheve the same by using sql plus.
    Please let me know if you need any information.
    TIA.
    Regards

    Pl post exact OS and database versions, along with a link to where you downloaded this demo from. Did that link not provide any details on how to import ?
    HTH
    Srini

  • Migration from Oracle App Server 10.1.3.5 to WebLogic 12 - Expected issues?

    Hi all,
    the company I work for wants to migrate its Oracle Application Server 10.1.3.5 (with JRE 1.6) to WebLogic 12 and we need to guess which kind of remediation could be needed to have all web-apps still working.
    The concerned applications are using dated technologies:
    direct JDBC connections to db
    JPA 1.0
    connection pools with Oracle JDBC drivers
    some apps are compiled with Java 1.4, some others with Java 1.6
    servlet 2.3
    JSP 2.0
    We do not expect to come accross big issues but I'm not skilled on this kind of matters so I would like to receive seggestions or alerts from experts. Any remark will be appreciated.
    Thank you all.
    Regards,
    Luca

    Hi Luca,
        It would be better if you asked this question in the Application Server forum which should be at this URL -
    Application Server
    and the general forum here -
    Oracle Application Server - General
    Regards,
    Mike

  • 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.

  • Issue in migration of Oracle Reports

    Hi
    We are migrating from oracle 11.5.10.2 to R12 from Windows to Linux
    Issue
    Moved the oracle reports RDF from 11.5.10.2 to R12, when we submit the conc program getting the error
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    Enter Password:
    REP-0004: Warning: Unable to open user preference file.
    REP-1219: 'F_TRX_NO' has no size -- length or width is zero.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1219: 'F_TRX_NO' has no size -- length or width is zero.
    Report Builder: Release 10.1.2.3.0 - Production on Mon Feb 21 14:14:09 2011
    the report is working fine in 11.5.10.2,
    R12
    Without modifying the RDF in R12, the conc program is completed with above error
    Upon converting the bitmapped report to character mode also the conc program is completed with above error
    Can you please provide your suggestions to resolve this.
    Regards
    Yram

    We are migrating from oracle 11.5.10.2 to R12 from Windows to LinuxIs this a custom report..?
    Did manifest patch completed successfully and then completed compiling reports successfully..?
    Moved the oracle reports RDF from 11.5.10.2 to R12Did you compile reports in 10g report builder..?

  • DB Migration from oracle 8.1 32bit to 64 bit

    Hi,
    We are working on oracle 8.1 on 32 bit on solaris 64bit operating system. We are working on SAP R/3 4.6C.
    We want to migrate our oracle database form 32 bit to 64 bit.
    If anyone can help me with some documentation, it would be helpful. Please send to my mail id [email protected]
    Also, please suggest some preperatory steps for the same.
    Thanks,
    Sailesh K

    Dear ,
    you are going to upgrade from 8.1.7.3 (32-bit) to 8.1.7.3 (64-bit).  This
    applies if you are running Java inside the database.
    1)  Shutdown your 32-bit 8.1.7.3 database.  Shutdown the listener.
    2)  Take a cold backup of this database.
    3)  Install Oracle RDBMS 8.1.7.0 (64-bit)
    4)  Apply patchset 8.1.7.3 (64-bit) to this oracle home.
    5)  Copy your init.ora from the 32-bit home to the 64-bit home.
    6)  Edit the init.ora of the 64-bit ORACLE_HOME so that the following
        parameters are set as follows:
        aq_tm_processes = 0
        job_queue_processes = 0
        systemtrig_enabled = FALSE
        db_block_buffers= (at least 2000)
        shared_pool_size= (at least 150MB)
        java_pool_size= (at least 20MB)
    7)  sqlplus internal or sys
        startup restrict your 8.1.7.3 database using the ORACLE HOME of
        8.1.7.3(64-bit).
    8)  delete from duc$ where pack='JIS$INTERCEPTOR$' and proc='USER_DROPPED';
        commit;
        @?/rdbms/admin/utlip.sql
    9)  Go to Metalink, select Patches, and put in 1994933 for the 'Patch Number'.
        It will come up with a patch saying that it is for HP, but it is actually
        generic for Oracle on all platforms.
        After downloading the patch, extract it and keep track of where you put
        the rmsro.sql and invalidate.sql files.
    10) Now run the following, again from sql*plus connected as internal or sys:
        SQL> @?/javavm/install/initjvmaux.sql
        SQL> @<directory where you placed the files from step 9>/rmsro.sql
        SQL> call rmsro.run();
        SQL> @<directory where you placed the files from step 9>/invalidate.sql
    11) shutdown normal the database
    12) If you are following this procedure because you are converting word size
        from 8.1.7.3 32-bit to 8.1.7.3 64-bit *ON SOLARIS*, then you also need
        to apply another fix.
        Go to Metalink, select Patches, and put in 2209569 for the 'Patch Number'.
        After downloading the patch, extract it and put the classes.bin file from
        the downloaded patch into $ORACLE_HOME/javavm/admin.  This will replace the
        classes.bin file which is already there.
    13) Startup restrict your 64-bit 8.1.7.3 database
    14) Sql*plus internal or sys and type
        SQL> create or replace java system
          2  /
    15) Shutdown the database
    16) Startup restrict the database, connect as internal or sys and run
        SQL> @?/rdbms/admin/utlrp.sql;
        -- To check on the progress of utlrp.sql, you can open a second sql
           prompt and do a select count(*) from dba_objects where status!='VALID';
           This count should keep decreasing as the script progresses to
           revalidate all the objects.
        -- If you get an ORA-29554 unhandled Java out of memory condition error,
           simply rerun utlrp.sql again and it will pick up where it left off.
    17) Shutdown the database
        (Note: you may get an ORA-600 [729] error, which can be ignored.
        If that is the case, simply do a shutdown abort before continuing)
    18) Change the SYSTEMTRIG_ENABLED parameter in your init.ora as follows.
        SYSTEMTRIG_ENABLED =TRUE
    19) Startup restrict, connect as internal or sys and run:
        SQL> insert into duc$ (owner, pack, proc, field1, operation#, seq)
             values ('SYS','JIS$INTERCEPTOR$','USER_DROPPED',0,1,1);
        SQL> commit;
    20) shutdown the database
    21) Modify the database startup parameters JOB_QUEUE_PROCESSES and
        AQ_TM_PROCESSES (and shared_pool_size/java_pool_size/db_block_buffers if
        you modified them earlier) back to their original values.
    22) restart the database
    23) check that you are able to startup & shutdown normally the database
        without hanging anywhere.
    Regards
    vinod

  • Migration of Oracle 32-bit to 64-bit on same Windows host.

    Hi,
    Title: Migration of Oracle 32-bit to 64-bit on same Windows host.
    We have windows host x64 bit. Oracle is 10g 32 bit and we want to migrate it to 10g 64 bit. I would like to know the steps. Note 940811 is not clear enough.
    Please help.
    Many thanks,
    Mohan.

    Hi,
    I think SAP Note 940811 is not relevant to your case as far as I understand your case in your previous thread because you are already on oracle 10.2 and there is no upgrade required.
    Please check SAP note 192822 and please check below extract from this note:
          5. Can I switch to 64-bit, even though I already run the same oracle release on 32-bit?
          Yes. The only thing that needs to be done is
    run del_ora.csh to delete the 32-bit software
    install the 64-bit software
    start the database.
    As the wordsize changes with 64-bit, all pl-sql-predures should be recompiled.
          Therefore please run the following two scipts on db-level:
          @$ORACLE_HOME/rdbms/admin/utlip.sql -invalidates all plsql-procedures
          @$ORACLE_HOME/rdbms/admin/utlrp.sql -recreates the plsql-procedures with the new word size
    Thanks
    Sunny

  • How can we do the data migration between Oracle Applications and SAP R/3.

    Hi All,
    How can we do the data migration between Oracle Applications and SAP R/3 system.What are all the possible ways to move bulk data from Oracle Apps to SAP r/3 system.
    Provide any 3rd party tools which supports data migration and also pls rpovide the SAP's own data migration tools with supports the above feature.
    Awaiting for best possible solution.
    Thanks in advance.
    Regards
    Dharmaraju

    the 3rd party tool is ETL , you can use ETL tool and the prepare the load files then you can use LSMW method to upload the data to SAP.

  • What's the problems of my application (VB6) when i migrate to Oracle

    Hello,
    I have an application written by Visual basic 6.0 and running in SQLserver 2000.
    i prepare for migration to Oracle database 8.1.6.
    what's the problems of my application when i migrate from SQLserver to Oracle?
    Help me please?
    Thanks!
    Chuyen.

    David,
    Thanks for your response.
    Yes, I am running Win2000 Server. I checked Component Services and verified that both Management Server and Agent are processes set in automatic mode and started.
    David, my problem is that logging in to Management Server requires me to enter the Name of the Management Server. What is the "Name" of my Management Server? I don't understand what this means as I do not recall ever being asked to name my Management Server when I installed it.
    The names relevant to my database installation are:
    Host server name: Tower100
    Database name: TOWER
    Service_Name: Tower.LinFamily
    Repository DB Name: TowerRep
    Repository SID: TowerRep
    Are any of these the "Name" of my Management Server?
    I have tried all these names, and they don't seem to work.
    Also, when you say the default account name, do you mean the account "SERVICE" with the default password?
    Tony Lin
    Tony,
    If you installed on Windows then you will want to make sure that the Management Server and Intelligent Agent services are started in the Services Control Panel first.
    Otherwise if you are using a UNIX server, you may need to start the mangement server manually. Here is a script I use to automate the startup process on Solaris:
    http://www.dotcomsolutionsinc.net/products/installgen/sol_901_32bit_files/installgen_sol901_12_.html
    From the Enterprise Manager Console login window you can click on the icon to the right of the Management Server field, click on the Add button, then enter the hostname of the management server to add it.
    If the Management server is running, then you should be able to log in using the default account the first time, then create your administrator accounts.
    David Simpson
    www.dotcomsolutionsinc.net
    (Oracle Replication Consulting & Tools)

  • Forms 4.5 Migration to Oracle Forms 10g

    Hi All,
    I want to know abt migration steps i.e. i 'm doing migration of Oracle Forms 4.5 to Oracle Forms 10g. Then existing forms is on Windows NT based environment and the database is Oracle 8.
    What is the better way to approach this issue? Whether, directly open the existing Forms into Oracle Forms 10g or first open the form into Forms 6i and then after 10g?
    Tell me the System Specification.... Database version.... Which Application Server is suitable.... And whether the Oracle 9i database possible for Forms 10g or not.
    Pls Give me solution.
    Thanks

    What is the better way to approach this issue?
    Whether, directly open the existing Forms into Oracle
    Forms 10g or first open the form into Forms 6i and
    then after 10g?As Grant said:
    4.5 to 10g (strictly speaking is not supported) but should work ok - Generally speaking you just open your Forms in the 10g builder and compile. You should check out otn.oracle.com/formsupgrade which gives you some good pointers including the Forms built-in procedures that have be desupported and removed from the product.
    4.5 -> 6i -> 10g was the supported route (but even 6i is desupported now).
    >
    Tell me the System Specification.... Database
    version.... Which Application Server is suitable....
    And whether the Oracle 9i database possible for Forms
    10g or not.OAS 10gR2, DB 9i is good.

Maybe you are looking for