Migration from Sqlserver 2005 to Oracle 10g

Hi all,
does anyone know a tool good to migrate a sqlserver 2005 database to oracle 10g ?
I tried Sqldeveloper and the migration of tables and datas are ok, but when I try to migrate views, functions and procedures the sqldeveloper hangs.
regards,.
Wander (Brazil)

Quite frankly forget using tools for all but the simplest migration: The best you will get from a tool, provided it works, is mediocrity.
Moving tables and data with tools works if you are using basic data types. Once you get past this, in all seriousness, it is time to roll up your sleeves and start writing code.
The differences between the two products is profound. What constitutes a transaction different, locking different, logging different, security models different, etc.
No tool can turn Transact SQL into nested BULK COLLECT and FORALL statements. And for many years into the future ... none will.

Similar Messages

  • Migration from sqlserver 2005 to Oracle 10.1.0.3

    I'm new to the migration workbench. But I was successful in converting our sqlserver 2005 db to Oracle 10.1.0.3 using the Offline capture method. This isn't a terribly complex db - 100 tables, many are empty. The trouble started when I tried to convert it a second time. True, there was an additional table, and several tables were populated with more data, but I didn't even get past the 'Load Database Capture Scrpt Output' step.
    In preparation for the 2nd migration, I dropped all the SS2K5 tables from the Oracle id I was using to house the migration repository. I deleted the repository as well. So the userid was 'clean'. I set up a new directory to house the scripts that are generated.
    1. Created a new repository. Checked that the MD% tables were indeed created.
    2. Ran 'Create Database Capture Scripts'. Checked the files - they were fine.
    3. Ran the omwb_offline_capture script against the Sqlserver db, from the directory where the scripts were created. .ERR files all empty. .DAT files exist - things are fine.
    4. Logged on to the Oracle connection where the repository resides. Clicked on 'Load Database Capture scripts'. In the popup, I provided the directory path & name of the .ocp file. And the 'Capturing Database' popup displays, but the progress bar isn't moving back & forth. But, if I check in the directories where the .DAT files were generated (in 3.), I see that the .XML files now exist, with the proper timestamp. Also, if I log on to the repository userid, I see that the SS2K5 tables have now been created. So something did indeed happen. But I don't see any list of things being created. (On the original successful migration, I would see entries for nn Tables, nn Foreign Keys, etc.). One point I noticed on the successful migration - the foreign keys part of this step took 2 hours. There's only 224 foreign keys, so I thought that was odd.
    I don't know how to go further here. Anyone have any ideas?

    Hi there, and thanks for the reply.
    I'm using sqldeveloper 1.5.0.53
    I tried it with a new Oracle schema as the migration repository. Same result.
    Running sqldeveloper.exe from the command line doesn't give any error. Is there a file somewhere that an error might be written to, and I'm not seeing it?
    I left the 'Data Capture' popup running overnight & this morning, it was in the same state - no progress bar action, no messages about items being captured, nothing in the 'Captured Objects' pane. So I hit 'Close', and in the message log at the bottom of the screen, I get
    oracle.dbtools.metadata.persistence.PersistableObject.doInsert(PersistableObject.java:238) <timestamp in here>     
    " (the above line is repeated forever). I eventually have to kill Sqldeveloper 'hard' - eg clicking the 'x' in the upper right corner.
    Prior to killing, I can scroll to the bottom of the list of 'forever' lines, and the following 2 lines are displayed:
    OALL8 is in an inconsistent state                                                  <timestamp in here>          
    oracle.dbtools.metadata.persistence.PersistenceException: Protocol violation               <timestamp in here>          
    On the Logging tab I see this:
    Level          Sequence     Elapsed          Source                                   Message
    SEVERE     32          0          oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Protocol violation     
    I'm completely lost!
    Would I get this kind of problem if, for some reason, no db objects were present in the output generated on the Sqlserver side?
    I notice that, after shutting Sqldeveloper down hard, it doesn't restart easily. I get the product screen, then a blank screen with the 'Sqldeveloper' title bar at the top. Have to close that down hard. If I wait 10-ish minutes, I can start the product up again. This seems odd.

  • Migrate from redbrick database to oracle 10g

    Hi Folks,
    Does anyone of you did a migration from redbrick database to oracle 10g please help me out with the steps to do that? I tried to search for a document with no luck.
    Appriciate if you could point me to a doc or a white paper that talks about the migration.
    Thanks in advance.
    Karthik.

    Red Brick is now part of the Informix family, maybe the migration workbench helps:
    http://www.oracle.com/technology/tech/migration/workbench/index.html
    Werner

  • Migration from SqlServer 2005 very slow... Number of Commits very big!

    Halllo,
    I migrate from SQL Server 2005 to Oracle 10g using SQL Developer 1.2.1 (latest Build). I have 2 tables, with 27 million rows and 29 million rows.
    1% data move needs 4-5 Hours!...
    - no indexes or constraints
    - Options: 10 000 rows to commit after. Tries: 500 000 does not help also.
    - tables have not LONG, BFILE, REF, ROWID,UROWID, or
    TIMESTAMP columns (I have readed, for tables containing this types columns, rows are inserted individually, with commit for each row).
    In "DETAILED ADDM REPORT FOR TASK XYZ" at Oracle server kann I read:
    (translated from germany, sorry for bad english...):
    Waits on event "log file sync" during the execution from COMMIT-and rolling forecastle processes have booked essential data bank time.
    RECOMMENDATION 1: Application analysis, 97% benefit (467900 seconds)
    ACTION: Check the application logic for a possible reduction of the number of COMMIT processes by enlargement of the transactions.
    RATIONAL ONES: The application has explained 2596 transactions per minute by an average Redo size of 824 bytes per transaction.
    It looks thus each row is committed, why?
    Any insight to tune it to go faster.
    Please help, I have many searched, but no solution found.
    Thanks,
    Julia
    null

    Hello Julia,
    Moving large amounts of data "online" using JDBC is not recommended for the issues you outlined.
    Its better to move large data sets using SQL Servers BCP tool to dump out the data from SQL Server into dat files, and then use Oracles SQL*Loader to load up the dat files into the Oracle database.
    Luckily SQL Developer Migration Workbench can help you setup the scripts.
    The feature is called "Offline Data Move".
    See this viewlet
    http://www.oracle.com/technology/tech/migration/workbench/viewlets/ofdm.html
    Obliviously you will need enough disk space to create a file large enough to hold millions of rows.
    I hope this helps
    Dermot.

  • Migration from sqlserver 2005 to 2012

    Hi Friends,
    As we migrating our sqlserver database from 2005 to 2012, copy and attach sqlserver 2005 to 2012 database which is optimized way, or we should export data rows by table in new server is best way or just copy from sqlserver 2005 to attached
    to sqlserver 2012 and change backup compbality parameter.
    thank you.
    regards,
    asad
    asad

    Hello there,
    Please follow the steps below:
    Run upgrade advisor on the databases for the instance you want to upgrade.
    If any issues are found, talk to your dev team/ Vendor for fixing the same.
    If issues are fixed proceed with the actual upgrade. -- Do check for the other dependencies on the database which might effect the functionality if the instance gets
    upgraded or something like that.
    Get the downtime for the database.
    Create the latest full backup of the database -- any other strategy will also work, just make sure you can recover the database.
    Take a clone of the server if it's a virtual server to roll back any changes.
    Run the upgrade on the sql 2005 instance from the 2012 set up. -- do check the pre-requirements for upgrade to sql 2012.
    If everything is fine then you have an upgraded instance.
    Also check the compatibility of the databases.
    If all is fine then congratulations, you have upgraded your SQL server!

  • Is DDL is suported in ogg from sqlserver 2005  to oracle 11g xe

    Hi !
    i want to use ogg to trasfer all tables and sp from sql server 2005 to oracle 11g xe. (using windows 2008,ogg112101_ggs_Windows_x86_ora11g_32bit.zip)
    is it suported? becasue i read "Extraction or replication of DDL (data definition language) operations.Non-supported objects and operations for SQL Server" in
    from SQL Server Installation and Setup Guide
    11g Release 2 Patch Set 1 (11.2.1.0.1)
    yours sincerely

    Does that mean even i cant migragte MSSQL stored procedure to oracle 11g xe also?Correct. You can't do that with GoldenGate. However, as Steve mentioned, you should look into SQL Developer migration capabilities (formally Migration Workbench). It can convert some T-SQL to PL/SQL but you'll need to do some (probably a lot) of custom code changes. Porting application logic from one language to another is basically a holy grail for IT systems. OGG will convert datatypes on the fly but it will never port application logic on the fly.
    Good luck,
    -joe

  • Migration from SQL 2000 to Oracle 10g

    Hi every one,
    This is the first i am posting to this forum.
    I have a problem in migration of Sql Server database to Oracle 10g.
    We use Microsoft Navision Axapta 3.0 SP4 as front end.
    and Sql Server 2000.
    All table and indexes are created in sql server by Navison only.
    My Database size is 300 GB and now we face thousands of Problem with SQL server so we decided to make a intelligent move to oracle 10g.
    As we have 1200+ users.
    The problem i am facing when i tranfer all the table to my Oracle Database it gives a error out of buffer.
    some time it gives me error about the index as few of our developer have create two indexex on one field.
    So oracle identifies that there are two indexes on one field.
    So pls help how can i solve this problem.
    I have 1234 tables.
    from
    Mohd Sufian

    Can you post the exact Oracle error you are getting? The ORA-xxxxx part is the most important for us to identify what particular problem(s) you're having.
    Is your front-end certified to use an Oracle database? Particularly if the front end is creating database objects, it needs to know how to work with whatever database it is connecting to.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • 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 it manually. Please help me at the earliest possible.

    You can check the list here
    http://www.oracle.com/technology/tech/migration/workbench/files/mig_rel10104.html
    stored procedure, No
    view depends.

  • Migrating from Sybase 11 to Oracle 10G : Data not Captured

    Hi,
    We are working on an interesting customer engagement - one part of the effort is to migrate our Customer's Database. Our Customer is using the Sysbase 11 Database - we are planning to migrate this to Oracle 10G.
    We are using the latest Migration Workbench - 10.1.0.4.0. We created a new user in one of our local DB Instances & used this credential to login to the Migration Workbench tool. We have the Source Files for the Sysbase 11Database.
    We tried to capture the Source Model - unfortunately, the Tool claims that the Objects have been migrated, while the Source is not captured at all. The Error Log is alos silent about any problems.
    We are flummoxed by this error as we have successfuly migrated from Sysbase in the past, but never encountered this error.
    Can you guuys please help us out with this ?
    Please do let me know if I need to post more information
    Thanks,
    Sandeep

    Sandeep,
    Have you used this user which holds the omwb repository before for a migration? When you connected the first itme, did you get a message, that the repository tables did not exist and would you like to create them?
    Are you using the connected or disconnected source model load?
    Donal

  • Migrate Data action hanging migrating from sql server to Oracle 10g

    Hi,
    I am currently migrating a SQL Server 2005 db to Oracle 10g using SQL Developer 1.2.1. I have created the migration repository, captured the SQL Server db objects, and created the target schema. There are about 109 tables captured. During Data migration, however, the data move hangs. I have run the data move a couple of times now and it does not hang while migrating any particular table, but seems to be more to do with the length of time it is taking to migrate. Could this be an issue with SQL Server connections being lost? The SQL Server db is quite large. Row counts of 100k plus.
    Message was edited by:
    user596259

    Probably. There is an offline option for migrating data under the migration menu. Generate Scripts for the data move using the appropriate converted model and u can export the data to bcp export files and load it with teh generated SQL Loader scripts.

  • Migration from MySQL 5 to Oracle 10g

    Hi All,
    I'm currently trying to migrate a MySQL database to Oracle and have encountered a few issues, it appears to work fine for most of the tables, with a few errors occurring in the logs for other tables, but they look to be related to connection issues that I am encountering. Both the MySQL and Oracle Database are installed locally on my machine. Below is the exception. Any ideas why the migration would be working perfectly and then encountering the below problems?
    Any help would be greatly appreciated. Thanks in advance. Also, should anyone need any further information regarding my system setup etc. don't hesitate to ask.
    java.sql.SQLException MESSAGE: Communication link failure: java.io.EOFException, underlying cause: null ** BEGIN NESTED EXCEPTION ** java.io.EOFException STACKTRACE: java.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1395) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:1571) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1930) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1907) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:998) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:305) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326) at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225) at com.mysql.jdbc.Connection.execSQL(Connection.java:2278) at com.mysql.jdbc.Connection.execSQL(Connection.java:2225) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** STACKTRACE: java.sql.SQLException: Communication link failure: java.io.EOFException, underlying cause: null ** BEGIN NESTED EXCEPTION ** java.io.EOFException STACKTRACE: java.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1395) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:1571) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1930) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1907) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:998) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:305) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326) at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225) at com.mysql.jdbc.Connection.execSQL(Connection.java:2278) at com.mysql.jdbc.Connection.execSQL(Connection.java:2225) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION **
    Kindest regards,
    Harry

    Hi,
    Unfortunately now I am receiving a slightly different error, relating to the connection being closed due to a seemingly bad response from the MySQL server, where it expected a larger value than received. I have updated the Third Party JDBC drivers to the latest available.
    The connection appears to drop and stop the data migration process, and it appears that this has stopped sooner than my previous attempt. Any help/advice would be greatly welcomed. I'll continue to investigate this on the web, but would assume this is the best possible resource for resolving these kind of problems.
    Below is the stack trace received in the migration logs:
    It is a particularly large one (sorry)
    Failed to move data: No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error: ** BEGIN NESTED EXCEPTION ** com.mysql.jdbc.CommunicationsException MESSAGE: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.io.EOFException MESSAGE: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. STACKTRACE: java.io.EOFException: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1997) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2464) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1360) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2369) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:451) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2076) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1451) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1787) at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** Last packet sent to the server was 88935 ms ago. STACKTRACE: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.io.EOFException MESSAGE: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. STACKTRACE: java.io.EOFException: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1997) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2464) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1360) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2369) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:451) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2076) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1451) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1787) at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** Last packet sent to the server was 88935 ms ago. at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2622) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1360) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2369) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:451) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2076) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1451) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1787) at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION **
    Failed to get source row count. Proceeding with unknown (No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error: ** BEGIN NESTED EXCEPTION ** com.mysql.jdbc.CommunicationsException MESSAGE: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.io.EOFException MESSAGE: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. STACKTRACE: java.io.EOFException: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1997) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2464) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1360) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2369) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:451) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2076) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1451) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1787) at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** Last packet sent to the server was 88935 ms ago. STACKTRACE: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.io.EOFException MESSAGE: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. STACKTRACE: java.io.EOFException: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1997) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2464) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1360) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2369) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:451) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2076) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1451) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1787) at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** Last packet sent to the server was 88935 ms ago. at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2622) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1360) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2369) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:451) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2076) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1451) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1787) at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** )
    == 2nd Stack Trace received further down in the logs before the process bombs out altogether from the lack of response from the MySQL database ==
    Failed to move data: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.io.EOFException MESSAGE: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. STACKTRACE: java.io.EOFException: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1997) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2464) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1360) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2369) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:451) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2076) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1451) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1787) at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** Last packet sent to the server was 88935 ms ago.
    Thanking you in advance.
    Kindest regards,
    Harry

  • Migrate from DB2 7 to Oracle 10G(R1)

    Hi, all.
    I have a big DB2 db. When Oracle and DB2 set up on different computers, OMWB works good. When i install Oracle and DB2 on one system UDB7 driver not work - on step "Source Database details", when i enter user ID/pass and database name, then do nothing :(.
    How explane it?
    User information correct. DB2 ODBC driver - worked...
    Can you help me?

    Are you missing a zip file, or are using an unsupported by omwb version of the zip file/driver?
    That is what is suggested by a java.lang.NoClassDefFoundError found message from Java.
    It is also possible, but less likely, that some corporate anti-virus/security software has changed the software. There was a post concerning that possibility recently months ago. [search for www.trend.com on this forum:  Urgent help-Unable to login into OMWB
    Posted: Jan 30, 2007 11:23 PM]
    From the User Guide:
    Before Migrating From IBM DB2 UDB
    To configure an IBM DB2 UDB database for migration:
    1.
    Install the IBM DB2 UDB Client software on the same system as Migration Workbench.
    This automatically installs the IBM DB2 UDB JDBC driver contained in the db2java.zip file.
    Note:
    Migration Workbench supports the use of either the JDBC 1.2 or JDBC 2.0 compliant IBM DB2 UDB JDBC driver.
    2.
    Copy the db2java.zip file to the following directory:
    OMWB_install_dir/Omwb/drivers
    3.
    Make sure that you can login to the IBM DB2 UDB database with a user name that has database administrator privileges.
    Regards,
    Turloch

  • Migration from SQL server to Oracle 10g

    Hi, I am new here,
    I would like to ask how to use SQL developer MWB to migration SQL Server to Oracle?
    I have go through the doc(s) like: getting start, user's guild, etc. and have following problems
    (1), where should the SQL developer installed? in SQL Server side? Oracle side? or any PC with connection to the databases?
    (2), do I need to get some plug-in(s) for MWB to work? If yes, which plug-in do I need and where are they?
    Thank you very much.

    Hi Chocobo,
    I put together a Quick Guide myself
    http://dermotoneill.blogspot.com/2008/06/sql-developer-migration-workbench-151_11.html
    I updated it to answer your questions.
    Hope that helps
    Dermot.

  • Run DDL error when migration from sqlserver 2000 to Oracle

    Hello:
    DDL was generated from Oracle SQL developer. However, it always has some errors when running the script.
    Error starting at line 6 in command:
    CREATE OR REPLACE PACKAGE sqlserver_utilities AS
    FUNCTION convert(dataType VARCHAR2,num NUMBER) RETURN NUMBER;
    FUNCTION convert(dataType VARCHAR2,date DATE, num NUMBER ) RETURN VARCHAR2;
    END sqlserver_utilities;
    Error report:
    Incorrect syntax near the keyword 'OR'.
    Error starting at line 34 in command:
    CREATE SEQUENCE tableName_id_SEQ
    MINVALUE 1 MAXVALUE 999999999999999999999999 INCREMENT BY 1 NOCYCLE
    Error at Command Line:34 Column:0
    Error report:
    SQL Error: Line 1: Incorrect syntax near 'SEQUENCE'
    Thanks

    Hello, Dermot.
    Thanks for the help. I have MD_Packages, MD_Sequences, other MD tables and some MIGR tables created in the target oracle database. How could I know if it was created successful? Except those tables, no other tables(SQL server tables) were created in the target oracle database. The others errors in DDL scripts are:
    Error starting at line 370 in command:
    CREATE TABLE table_name1(
    ID NUMBER(10,0),
    Part_Activity VARCHAR2(20)
    Error at Command Line:370 Column:0
    Error report:
    SQL Error: Column or parameter #1: Cannot find data type NUMBER.
    Error starting at line 376 in command:
    ALTER TABLE table_name1
    ADD CONSTRAINT PK_table_name1 PRIMARY KEY
    ID
    ENABLE
    Error report:
    SQL Error: Line 6: Incorrect syntax near 'ENABLE'.
    Error starting at line 413 in command:
    CREATE TABLE table_name2 (
    ID VARCHAR2(6) NOT NULL,
    COMPETITION NUMBER(10,0)
    Error at Command Line:413 Column:0
    Error report:
    SQL Error: Column or parameter #1: Cannot find data type VARCHAR2.
    Error starting at line 2,800 in command:
    CREATE TABLE table_name3 (
    Prefix NVARCHAR2(510),
    Type NVARCHAR2(510),
    ProductGroup NVARCHAR2(510)
    Error at Command Line:2,800 Column:0
    Error report:
    SQL Error: Column or parameter #1: Cannot find data type NVARCHAR2.
    Error starting at line 2,808 in command:
    CREATE TABLE table_name4 (
    id NUMBER(10,0),
    bldg VARCHAR2(50),
    queue VARCHAR2(50),
    location VARCHAR2(50),
    type VARCHAR2(50),
    maxsize VARCHAR2(50),
    color VARCHAR2(50),
    empid VARCHAR2(50),
    serial VARCHAR2(50),
    duplex VARCHAR2(50),
    server VARCHAR2(15) DEFAULT 'Server'
    Error at Command Line:2,808 Column:0
    Error report:
    SQL Error: Column or parameter #1: Cannot find data type NUMBER.
    Thank you very much for the helo.
    Halfmoon

  • Migration from of database and app from SQL server 2005 to Oracle 10g

    Hello Every body,
    Lately, I have been requested to migrate one inhouse developed hub application from SQL server 2005 to Oracle 10g. The objective is to move application and also the database to Oracel 10g.
    Here is the current platform:
    OS Win 2008 64 bit
    JDK 1.4.2
    JBoss 3.2.5
    EJB 2.1
    My question is what kind of issues you guys see in above upgrade. As far I know, Schema and Database migration can be done by Oracle workbench. Oracle 10g supports JDK 1.4. Oracle 10g also supports EJB 2.1.
    Anything, I need to take into consideration or any risks or problems. I would like to list down all the risks, and accordingly, I am thinking of start the upgrade.
    Thanks in advance.
    Regards,
    Zeeshan Qureshi

    In general the Java/J2EE application needs work in the following categories:
    1. Connection Settings: Use Oracle JDBC drivers, create new data sources, connection pools and what not. Disable AUTOCOMMIT for Oracle JDBC Connections.
    2. For EJBs, you should regenerate the entity beans because some object names/column names might have changed in oracle.
    3. Any custom SQL that is in use in the EJBs will have to be ported to Oracle just as you would do in stored procedures and other applications.
    4. For Java front-ends, if you are using callouts to stored procedures and expecting result sets then they will require some changes. You need to modify the stored procedure call signature to include the REF CURSOR variables and process them.
    5. Changes to any SQL Server specific database functions manipulating character/date data will be required.
    6. CLOB/BLOB/XML apis are different across databases so if you are using those then focus on them as well.
    7. Retreiving Auto/generated keys from database also may need changes from what I have seen.
    Hope this helps..
    Regards
    Prakash
    NOTE: Not sure why but my posts from yesterday are not visible today. Even worse is that I can see them in one browser (FireFox) but not in Internet explorer. Crazy browser day I am having.

Maybe you are looking for